SAP ITOB_OBJECT_MODIFY Function Module for NOTRANSL: ITOB Puffer API: Ändern Technischer Objekte
ITOB_OBJECT_MODIFY is a standard itob object modify 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: ITOB Puffer API: Ändern Technischer Objekte 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 object modify FM, simply by entering the name ITOB_OBJECT_MODIFY into the relevant SAP transaction such as SE37 or SE38.
Function Group: ITO3
Program Name: SAPLITO3
Main Program: SAPLITO3
Appliation area: I
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ITOB_OBJECT_MODIFY 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_OBJECT_MODIFY'"NOTRANSL: ITOB Puffer API: Ändern Technischer Objekte.
EXPORTING
I_HANDLE = "Handle for the ITOB buffer
* I_COMMIT_WORK = "Write update data to DB (COMMIT WORK)
* I_PARMS_TAB = "
I_ITOB_FLAGS = "Write buffer control info (Type of ITOB object)
* I_ITOB_CONTROL = "
* I_SINGLE_MODE = "Individual record mode (=> Error always via Exception)
* I_AUTH_TCODE = "TCode for authorization check of master data
* I_FILTER_DATA = 'X' "Filter transferred data using ITOB_FILTER_DATA
* I_WRITE_BUFFER = 'X' "
* I_POST_BUFFER = 'X' "Update data of write buffer
* I_TRANSFER_MODE = "
IMPORTING
E_COUNT_NOT_MODIFIED = "Number of objects that could not be updated
E_ITOB_TAB = "Write buffer table (Object/control data)
CHANGING
C_OBJECT_TAB = "Table with data of the technical objects
* C_OBJECT_TAB_OLD = "BeforeImage of C_OBJECT_TAB
EXCEPTIONS
NOT_SUCCESSFUL = 1
IMPORTING Parameters details for ITOB_OBJECT_MODIFY
I_HANDLE - Handle for the ITOB buffer
Data type: ITOB_HANDLEOptional: No
Call by Reference: No ( called with pass by value option)
I_COMMIT_WORK - Write update data to DB (COMMIT WORK)
Data type: ITOB_TYPES-INDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_PARMS_TAB -
Data type: ITOB_PARMS_TABOptional: Yes
Call by Reference: Yes
I_ITOB_FLAGS - Write buffer control info (Type of ITOB object)
Data type: ITOB_FLAGS_RECOptional: No
Call by Reference: No ( called with pass by value option)
I_ITOB_CONTROL -
Data type: ITOB_CONTROL_RECOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SINGLE_MODE - Individual record mode (=> Error always via Exception)
Data type: ITOB_TYPES-BOOLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_AUTH_TCODE - TCode for authorization check of master data
Data type: SY-TCODEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FILTER_DATA - Filter transferred data using ITOB_FILTER_DATA
Data type: ITOB_TYPES-BOOLDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_WRITE_BUFFER -
Data type: ITOB_TYPES-BOOLDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_POST_BUFFER - Update data of write buffer
Data type: ITOB_TYPES-BOOLDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TRANSFER_MODE -
Data type: ITOB_TYPES-BOOLOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ITOB_OBJECT_MODIFY
E_COUNT_NOT_MODIFIED - Number of objects that could not be updated
Data type: IOptional: No
Call by Reference: Yes
E_ITOB_TAB - Write buffer table (Object/control data)
Data type: ITOB_TABOptional: No
Call by Reference: Yes
CHANGING Parameters details for ITOB_OBJECT_MODIFY
C_OBJECT_TAB - Table with data of the technical objects
Data type: ITOB_OBJECT_TABOptional: No
Call by Reference: Yes
C_OBJECT_TAB_OLD - BeforeImage of C_OBJECT_TAB
Data type: ITOB_OBJECT_TABOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
NOT_SUCCESSFUL - Error when changing technical objects
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ITOB_OBJECT_MODIFY 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_handle | TYPE ITOB_HANDLE, " | |||
| lv_c_object_tab | TYPE ITOB_OBJECT_TAB, " | |||
| lv_not_successful | TYPE ITOB_OBJECT_TAB, " | |||
| lv_e_count_not_modified | TYPE I, " | |||
| lv_i_commit_work | TYPE ITOB_TYPES-IND, " | |||
| lv_i_parms_tab | TYPE ITOB_PARMS_TAB, " | |||
| lv_e_itob_tab | TYPE ITOB_TAB, " | |||
| lv_i_itob_flags | TYPE ITOB_FLAGS_REC, " | |||
| lv_c_object_tab_old | TYPE ITOB_OBJECT_TAB, " | |||
| lv_i_itob_control | TYPE ITOB_CONTROL_REC, " | |||
| lv_i_single_mode | TYPE ITOB_TYPES-BOOL, " | |||
| lv_i_auth_tcode | TYPE SY-TCODE, " | |||
| lv_i_filter_data | TYPE ITOB_TYPES-BOOL, " 'X' | |||
| lv_i_write_buffer | TYPE ITOB_TYPES-BOOL, " 'X' | |||
| lv_i_post_buffer | TYPE ITOB_TYPES-BOOL, " 'X' | |||
| lv_i_transfer_mode | TYPE ITOB_TYPES-BOOL. " |
|   CALL FUNCTION 'ITOB_OBJECT_MODIFY' "NOTRANSL: ITOB Puffer API: Ändern Technischer Objekte |
| EXPORTING | ||
| I_HANDLE | = lv_i_handle | |
| I_COMMIT_WORK | = lv_i_commit_work | |
| I_PARMS_TAB | = lv_i_parms_tab | |
| I_ITOB_FLAGS | = lv_i_itob_flags | |
| I_ITOB_CONTROL | = lv_i_itob_control | |
| I_SINGLE_MODE | = lv_i_single_mode | |
| I_AUTH_TCODE | = lv_i_auth_tcode | |
| I_FILTER_DATA | = lv_i_filter_data | |
| I_WRITE_BUFFER | = lv_i_write_buffer | |
| I_POST_BUFFER | = lv_i_post_buffer | |
| I_TRANSFER_MODE | = lv_i_transfer_mode | |
| IMPORTING | ||
| E_COUNT_NOT_MODIFIED | = lv_e_count_not_modified | |
| E_ITOB_TAB | = lv_e_itob_tab | |
| CHANGING | ||
| C_OBJECT_TAB | = lv_c_object_tab | |
| C_OBJECT_TAB_OLD | = lv_c_object_tab_old | |
| EXCEPTIONS | ||
| NOT_SUCCESSFUL = 1 | ||
| . " ITOB_OBJECT_MODIFY | ||
ABAP code using 7.40 inline data declarations to call FM ITOB_OBJECT_MODIFY
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 IND FROM ITOB_TYPES INTO @DATA(ld_i_commit_work). | ||||
| "SELECT single BOOL FROM ITOB_TYPES INTO @DATA(ld_i_single_mode). | ||||
| "SELECT single TCODE FROM SY INTO @DATA(ld_i_auth_tcode). | ||||
| "SELECT single BOOL FROM ITOB_TYPES INTO @DATA(ld_i_filter_data). | ||||
| DATA(ld_i_filter_data) | = 'X'. | |||
| "SELECT single BOOL FROM ITOB_TYPES INTO @DATA(ld_i_write_buffer). | ||||
| DATA(ld_i_write_buffer) | = 'X'. | |||
| "SELECT single BOOL FROM ITOB_TYPES INTO @DATA(ld_i_post_buffer). | ||||
| DATA(ld_i_post_buffer) | = 'X'. | |||
| "SELECT single BOOL FROM ITOB_TYPES INTO @DATA(ld_i_transfer_mode). | ||||
Search for further information about these or an SAP related objects