SAP ITOB_CHECK_ALL Function Module for NOTRANSL: Prüfung sämtlicher ITOB-Daten









ITOB_CHECK_ALL is a standard itob check all 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: Prüfung sämtlicher ITOB-Daten 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 check all FM, simply by entering the name ITOB_CHECK_ALL into the relevant SAP transaction such as SE37 or SE38.

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



Function ITOB_CHECK_ALL 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_CHECK_ALL'"NOTRANSL: Prüfung sämtlicher ITOB-Daten
EXPORTING
I_ITOB_TYPE = "Technical object types in plant maintenance
* I_CHECK_AUTH_BEFORE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_UPDATE_MODE = 'X' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_RANGE_CHECK = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_EQUNR_CHECK = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_SERNR_CHECK = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_BATCH_CHECK = 'X' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_LVORM_CHECK = 'X' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_DATLWB_CHECK = 'X' "DE-EN-LANG-SWITCH-NO-TRANSLATION
I_ITOB_REC = "Generated Table for View
* I_ITOB_OLD_REC = "Generated Table for View
* I_EXT_MODE = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_ITOBEXT_REC = "Technical Objects in PM: Data with External View
* I_ITOBEXT_OLD_REC = "Technical Objects in PM: Data with External View
* I_EQBS_REC = "Serial Number Stock Segment
* I_AUTH_TCODE = "ABAP System Field: Current Transaction Code
* I_CHECK_AUTH_TCODE = "DE-EN-LANG-SWITCH-NO-TRANSLATION

IMPORTING
E_ITOB_REC = "Generated Table for View

EXCEPTIONS
APPLICATION_ERROR = 1
.



IMPORTING Parameters details for ITOB_CHECK_ALL

I_ITOB_TYPE - Technical object types in plant maintenance

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

I_CHECK_AUTH_BEFORE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_UPDATE_MODE - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: ITOB_TYPES-BOOL
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_RANGE_CHECK - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_EQUNR_CHECK - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_SERNR_CHECK - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_BATCH_CHECK - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: ITOB_TYPES-BOOL
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_LVORM_CHECK - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: ITOB_TYPES-BOOL
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DATLWB_CHECK - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: ITOB_TYPES-BOOL
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ITOB_REC - Generated Table for View

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

I_ITOB_OLD_REC - Generated Table for View

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

I_EXT_MODE - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: ITOB_TYPES-BOOL
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ITOBEXT_REC - Technical Objects in PM: Data with External View

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

I_ITOBEXT_OLD_REC - Technical Objects in PM: Data with External View

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

I_EQBS_REC - Serial Number Stock Segment

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

I_AUTH_TCODE - ABAP System Field: Current Transaction Code

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

I_CHECK_AUTH_TCODE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EXPORTING Parameters details for ITOB_CHECK_ALL

E_ITOB_REC - Generated Table for View

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

EXCEPTIONS details

APPLICATION_ERROR - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

Copy and paste ABAP code example for ITOB_CHECK_ALL 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_e_itob_rec  TYPE ITOB, "   
lv_i_itob_type  TYPE ITOBTYP, "   
lv_application_error  TYPE ITOBTYP, "   
lv_i_check_auth_before  TYPE ITOB_TYPES-BOOL, "   
lv_i_update_mode  TYPE ITOB_TYPES-BOOL, "   'X'
lv_i_range_check  TYPE ITOB_TYPES-BOOL, "   
lv_i_equnr_check  TYPE ITOB_TYPES-IND, "   
lv_i_sernr_check  TYPE ITOB_TYPES-IND, "   
lv_i_batch_check  TYPE ITOB_TYPES-BOOL, "   'X'
lv_i_lvorm_check  TYPE ITOB_TYPES-BOOL, "   'X'
lv_i_datlwb_check  TYPE ITOB_TYPES-BOOL, "   'X'
lv_i_itob_rec  TYPE ITOB, "   
lv_i_itob_old_rec  TYPE ITOB, "   
lv_i_ext_mode  TYPE ITOB_TYPES-BOOL, "   ' '
lv_i_itobext_rec  TYPE ITOBEXT, "   
lv_i_itobext_old_rec  TYPE ITOBEXT, "   
lv_i_eqbs_rec  TYPE EQBS, "   
lv_i_auth_tcode  TYPE SY-TCODE, "   
lv_i_check_auth_tcode  TYPE ITOB_TYPES-BOOL. "   

  CALL FUNCTION 'ITOB_CHECK_ALL'  "NOTRANSL: Prüfung sämtlicher ITOB-Daten
    EXPORTING
         I_ITOB_TYPE = lv_i_itob_type
         I_CHECK_AUTH_BEFORE = lv_i_check_auth_before
         I_UPDATE_MODE = lv_i_update_mode
         I_RANGE_CHECK = lv_i_range_check
         I_EQUNR_CHECK = lv_i_equnr_check
         I_SERNR_CHECK = lv_i_sernr_check
         I_BATCH_CHECK = lv_i_batch_check
         I_LVORM_CHECK = lv_i_lvorm_check
         I_DATLWB_CHECK = lv_i_datlwb_check
         I_ITOB_REC = lv_i_itob_rec
         I_ITOB_OLD_REC = lv_i_itob_old_rec
         I_EXT_MODE = lv_i_ext_mode
         I_ITOBEXT_REC = lv_i_itobext_rec
         I_ITOBEXT_OLD_REC = lv_i_itobext_old_rec
         I_EQBS_REC = lv_i_eqbs_rec
         I_AUTH_TCODE = lv_i_auth_tcode
         I_CHECK_AUTH_TCODE = lv_i_check_auth_tcode
    IMPORTING
         E_ITOB_REC = lv_e_itob_rec
    EXCEPTIONS
        APPLICATION_ERROR = 1
. " ITOB_CHECK_ALL




ABAP code using 7.40 inline data declarations to call FM ITOB_CHECK_ALL

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 BOOL FROM ITOB_TYPES INTO @DATA(ld_i_check_auth_before).
 
"SELECT single BOOL FROM ITOB_TYPES INTO @DATA(ld_i_update_mode).
DATA(ld_i_update_mode) = 'X'.
 
"SELECT single BOOL FROM ITOB_TYPES INTO @DATA(ld_i_range_check).
 
"SELECT single IND FROM ITOB_TYPES INTO @DATA(ld_i_equnr_check).
 
"SELECT single IND FROM ITOB_TYPES INTO @DATA(ld_i_sernr_check).
 
"SELECT single BOOL FROM ITOB_TYPES INTO @DATA(ld_i_batch_check).
DATA(ld_i_batch_check) = 'X'.
 
"SELECT single BOOL FROM ITOB_TYPES INTO @DATA(ld_i_lvorm_check).
DATA(ld_i_lvorm_check) = 'X'.
 
"SELECT single BOOL FROM ITOB_TYPES INTO @DATA(ld_i_datlwb_check).
DATA(ld_i_datlwb_check) = 'X'.
 
 
 
"SELECT single BOOL FROM ITOB_TYPES INTO @DATA(ld_i_ext_mode).
DATA(ld_i_ext_mode) = ' '.
 
 
 
 
"SELECT single TCODE FROM SY INTO @DATA(ld_i_auth_tcode).
 
"SELECT single BOOL FROM ITOB_TYPES INTO @DATA(ld_i_check_auth_tcode).
 


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!