SAP ITOB_DATA_IMPORT Function Module for NOTRANSL: Data import into ITO0 (e.g. from a calling module pool)









ITOB_DATA_IMPORT is a standard itob data import SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Data import into ITO0 (e.g. from a calling module pool) processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for itob data import FM, simply by entering the name ITOB_DATA_IMPORT into the relevant SAP transaction such as SE37 or SE38.

Function Group: ITO0
Program Name: SAPLITO0
Main Program: SAPLITO0
Appliation area: I
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ITOB_DATA_IMPORT pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'ITOB_DATA_IMPORT'"NOTRANSL: Data import into ITO0 (e.g. from a calling module pool)
EXPORTING
I_OBJECT_TYPE = "
I_ACTIVE_TABCODE = "
I_ACTIVITY_TYPE = "
* I_DELETION_FLAG = "
* I_BI_DARK = "

IMPORTING
E_TABSTRIP_SCREEN = "

CHANGING
* I_REC_T370 = "
* I_REC_RILO0 = "
* I_REC_RILA0 = "
* I_REC_EQUI = "
* I_REC_EQBS = "
* I_REC_EQKT = "
* I_REC_EQUZ = "
* I_REC_ILOA = "
* I_REC_FLEET = "
* I_REC_IFLOT = "
* I_REC_IFLOTX = "
* I_REC_T370T = "
* I_REC_IFLO = "
* I_REC_IRLOT = "
* I_REC_IRLOTX = "
* I_REC_IRLO = "
* IND_UPD_ST = "
* IND_UPD_KL = "
* IND_UPD_PA = "
* IND_UPD_LT = "
* IND_UPD_IV = "
* IND_UPD_WT = "
* I_REC_T370F = "
* IND_UPD_DOC = "Flag: Yes/No (X/ )
* IND_INIT_INHER = "
* IND_COPY_EQ = "
* IND_COPY_MA = "
* I_REC_T370R = "
* I_REC_T370U = "
* I_REC_T370FLT = "
* I_REC_T399J = "
* I_REC_RISA0 = "
* I_REC_RM63E = "

TABLES
T_TABSTRIP_TAB = "
* T_MASE_TAB = "
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLITO0_001 Customer Include ITO0: Data Import (Initiator => Include)
EXIT_SAPLITO0_002 Customer Include ITO0: Data Export (Include => Caller)
EXIT_SAPLITO0_003 Customer Include Additional Fleet Data: Data Import (Caller => Include)
EXIT_SAPLITO0_004 Customer Include Additional Fleet Data: Data Export (Include => CAller)
EXIT_SAPLITO0_005 Customer Exit Fleet Identification Data: Checks

IMPORTING Parameters details for ITOB_DATA_IMPORT

I_OBJECT_TYPE -

Data type: ITOBTYP
Optional: No
Call by Reference: No ( called with pass by value option)

I_ACTIVE_TABCODE -

Data type: ITO0C_TYPE_FCODE
Optional: No
Call by Reference: No ( called with pass by value option)

I_ACTIVITY_TYPE -

Data type: T370-AKTYP
Optional: No
Call by Reference: No ( called with pass by value option)

I_DELETION_FLAG -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BI_DARK -

Data type: IREF-IIND
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ITOB_DATA_IMPORT

E_TABSTRIP_SCREEN -

Data type: SY-DYNNR
Optional: No
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for ITOB_DATA_IMPORT

I_REC_T370 -

Data type: T370
Optional: Yes
Call by Reference: Yes

I_REC_RILO0 -

Data type: RILO0
Optional: Yes
Call by Reference: Yes

I_REC_RILA0 -

Data type: RILA0
Optional: Yes
Call by Reference: Yes

I_REC_EQUI -

Data type: EQUI
Optional: Yes
Call by Reference: Yes

I_REC_EQBS -

Data type: EQBS
Optional: Yes
Call by Reference: Yes

I_REC_EQKT -

Data type: EQKT
Optional: Yes
Call by Reference: Yes

I_REC_EQUZ -

Data type: EQUZ
Optional: Yes
Call by Reference: Yes

I_REC_ILOA -

Data type: ILOA
Optional: Yes
Call by Reference: Yes

I_REC_FLEET -

Data type: FLEET
Optional: Yes
Call by Reference: Yes

I_REC_IFLOT -

Data type: IFLOT
Optional: Yes
Call by Reference: Yes

I_REC_IFLOTX -

Data type: IFLOTX
Optional: Yes
Call by Reference: Yes

I_REC_T370T -

Data type: T370T
Optional: Yes
Call by Reference: Yes

I_REC_IFLO -

Data type: IFLO
Optional: Yes
Call by Reference: Yes

I_REC_IRLOT -

Data type: IRLOT
Optional: Yes
Call by Reference: Yes

I_REC_IRLOTX -

Data type: IRLOTX
Optional: Yes
Call by Reference: Yes

I_REC_IRLO -

Data type: IRLO
Optional: Yes
Call by Reference: Yes

IND_UPD_ST -

Data type: IREF-IIND
Optional: Yes
Call by Reference: Yes

IND_UPD_KL -

Data type: IREF-IIND
Optional: Yes
Call by Reference: Yes

IND_UPD_PA -

Data type: IREF-IIND
Optional: Yes
Call by Reference: Yes

IND_UPD_LT -

Data type: IREF-IIND
Optional: Yes
Call by Reference: Yes

IND_UPD_IV -

Data type: IREF-IIND
Optional: Yes
Call by Reference: Yes

IND_UPD_WT -

Data type: IREF-IIND
Optional: Yes
Call by Reference: Yes

I_REC_T370F -

Data type: T370F
Optional: Yes
Call by Reference: Yes

IND_UPD_DOC - Flag: Yes/No (X/ )

Data type: IREF-IIND
Optional: Yes
Call by Reference: Yes

IND_INIT_INHER -

Data type: IREF-IIND
Optional: Yes
Call by Reference: Yes

IND_COPY_EQ -

Data type: IREF-IIND
Optional: Yes
Call by Reference: Yes

IND_COPY_MA -

Data type: IREF-IIND
Optional: Yes
Call by Reference: Yes

I_REC_T370R -

Data type: T370R
Optional: Yes
Call by Reference: Yes

I_REC_T370U -

Data type: T370U
Optional: Yes
Call by Reference: Yes

I_REC_T370FLT -

Data type: T370FLT
Optional: Yes
Call by Reference: Yes

I_REC_T399J -

Data type: T399J
Optional: Yes
Call by Reference: Yes

I_REC_RISA0 -

Data type: RISA0
Optional: Yes
Call by Reference: Yes

I_REC_RM63E -

Data type: RM63E
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for ITOB_DATA_IMPORT

T_TABSTRIP_TAB -

Data type: ITO0T_TABSTRIP_TAB
Optional: No
Call by Reference: No ( called with pass by value option)

T_MASE_TAB -

Data type: ITO0T_MASE_TAB
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for ITOB_DATA_IMPORT Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_i_rec_t370  TYPE T370, "   
lv_i_object_type  TYPE ITOBTYP, "   
lt_t_tabstrip_tab  TYPE STANDARD TABLE OF ITO0T_TABSTRIP_TAB, "   
lv_e_tabstrip_screen  TYPE SY-DYNNR, "   
lv_i_rec_rilo0  TYPE RILO0, "   
lv_i_rec_rila0  TYPE RILA0, "   
lv_i_rec_equi  TYPE EQUI, "   
lv_i_rec_eqbs  TYPE EQBS, "   
lv_i_rec_eqkt  TYPE EQKT, "   
lv_i_rec_equz  TYPE EQUZ, "   
lv_i_rec_iloa  TYPE ILOA, "   
lv_i_rec_fleet  TYPE FLEET, "   
lv_i_rec_iflot  TYPE IFLOT, "   
lv_i_rec_iflotx  TYPE IFLOTX, "   
lt_t_mase_tab  TYPE STANDARD TABLE OF ITO0T_MASE_TAB, "   
lv_i_rec_t370t  TYPE T370T, "   
lv_i_active_tabcode  TYPE ITO0C_TYPE_FCODE, "   
lv_i_rec_iflo  TYPE IFLO, "   
lv_i_rec_irlot  TYPE IRLOT, "   
lv_i_rec_irlotx  TYPE IRLOTX, "   
lv_i_rec_irlo  TYPE IRLO, "   
lv_ind_upd_st  TYPE IREF-IIND, "   
lv_ind_upd_kl  TYPE IREF-IIND, "   
lv_ind_upd_pa  TYPE IREF-IIND, "   
lv_ind_upd_lt  TYPE IREF-IIND, "   
lv_ind_upd_iv  TYPE IREF-IIND, "   
lv_ind_upd_wt  TYPE IREF-IIND, "   
lv_i_rec_t370f  TYPE T370F, "   
lv_i_activity_type  TYPE T370-AKTYP, "   
lv_ind_upd_doc  TYPE IREF-IIND, "   
lv_ind_init_inher  TYPE IREF-IIND, "   
lv_ind_copy_eq  TYPE IREF-IIND, "   
lv_ind_copy_ma  TYPE IREF-IIND, "   
lv_i_rec_t370r  TYPE T370R, "   
lv_i_deletion_flag  TYPE C, "   
lv_i_bi_dark  TYPE IREF-IIND, "   
lv_i_rec_t370u  TYPE T370U, "   
lv_i_rec_t370flt  TYPE T370FLT, "   
lv_i_rec_t399j  TYPE T399J, "   
lv_i_rec_risa0  TYPE RISA0, "   
lv_i_rec_rm63e  TYPE RM63E. "   

  CALL FUNCTION 'ITOB_DATA_IMPORT'  "NOTRANSL: Data import into ITO0 (e.g. from a calling module pool)
    EXPORTING
         I_OBJECT_TYPE = lv_i_object_type
         I_ACTIVE_TABCODE = lv_i_active_tabcode
         I_ACTIVITY_TYPE = lv_i_activity_type
         I_DELETION_FLAG = lv_i_deletion_flag
         I_BI_DARK = lv_i_bi_dark
    IMPORTING
         E_TABSTRIP_SCREEN = lv_e_tabstrip_screen
    CHANGING
         I_REC_T370 = lv_i_rec_t370
         I_REC_RILO0 = lv_i_rec_rilo0
         I_REC_RILA0 = lv_i_rec_rila0
         I_REC_EQUI = lv_i_rec_equi
         I_REC_EQBS = lv_i_rec_eqbs
         I_REC_EQKT = lv_i_rec_eqkt
         I_REC_EQUZ = lv_i_rec_equz
         I_REC_ILOA = lv_i_rec_iloa
         I_REC_FLEET = lv_i_rec_fleet
         I_REC_IFLOT = lv_i_rec_iflot
         I_REC_IFLOTX = lv_i_rec_iflotx
         I_REC_T370T = lv_i_rec_t370t
         I_REC_IFLO = lv_i_rec_iflo
         I_REC_IRLOT = lv_i_rec_irlot
         I_REC_IRLOTX = lv_i_rec_irlotx
         I_REC_IRLO = lv_i_rec_irlo
         IND_UPD_ST = lv_ind_upd_st
         IND_UPD_KL = lv_ind_upd_kl
         IND_UPD_PA = lv_ind_upd_pa
         IND_UPD_LT = lv_ind_upd_lt
         IND_UPD_IV = lv_ind_upd_iv
         IND_UPD_WT = lv_ind_upd_wt
         I_REC_T370F = lv_i_rec_t370f
         IND_UPD_DOC = lv_ind_upd_doc
         IND_INIT_INHER = lv_ind_init_inher
         IND_COPY_EQ = lv_ind_copy_eq
         IND_COPY_MA = lv_ind_copy_ma
         I_REC_T370R = lv_i_rec_t370r
         I_REC_T370U = lv_i_rec_t370u
         I_REC_T370FLT = lv_i_rec_t370flt
         I_REC_T399J = lv_i_rec_t399j
         I_REC_RISA0 = lv_i_rec_risa0
         I_REC_RM63E = lv_i_rec_rm63e
    TABLES
         T_TABSTRIP_TAB = lt_t_tabstrip_tab
         T_MASE_TAB = lt_t_mase_tab
. " ITOB_DATA_IMPORT




ABAP code using 7.40 inline data declarations to call FM ITOB_DATA_IMPORT

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
"SELECT single DYNNR FROM SY INTO @DATA(ld_e_tabstrip_screen).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single IIND FROM IREF INTO @DATA(ld_ind_upd_st).
 
"SELECT single IIND FROM IREF INTO @DATA(ld_ind_upd_kl).
 
"SELECT single IIND FROM IREF INTO @DATA(ld_ind_upd_pa).
 
"SELECT single IIND FROM IREF INTO @DATA(ld_ind_upd_lt).
 
"SELECT single IIND FROM IREF INTO @DATA(ld_ind_upd_iv).
 
"SELECT single IIND FROM IREF INTO @DATA(ld_ind_upd_wt).
 
 
"SELECT single AKTYP FROM T370 INTO @DATA(ld_i_activity_type).
 
"SELECT single IIND FROM IREF INTO @DATA(ld_ind_upd_doc).
 
"SELECT single IIND FROM IREF INTO @DATA(ld_ind_init_inher).
 
"SELECT single IIND FROM IREF INTO @DATA(ld_ind_copy_eq).
 
"SELECT single IIND FROM IREF INTO @DATA(ld_ind_copy_ma).
 
 
 
"SELECT single IIND FROM IREF INTO @DATA(ld_i_bi_dark).
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!