SAP ICL_IOBJ_MODIFY Function Module for Append an insured object
ICL_IOBJ_MODIFY is a standard icl iobj 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 Append an insured object 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 icl iobj modify FM, simply by entering the name ICL_IOBJ_MODIFY into the relevant SAP transaction such as SE37 or SE38.
Function Group: ICL_POLS_EXT
Program Name: SAPLICL_POLS_EXT
Main Program: SAPLICL_POLS_EXT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ICL_IOBJ_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 'ICL_IOBJ_MODIFY'"Append an insured object.
IMPORTING
E_PARTOCC_TABIX = "Internal Tables, Current Row Index
CHANGING
CS_POLO = "
* CS_POLOAU = "
* CS_POLORE = "
* CS_POLOPE = "
* CS_POLOIN = "GUI Structure: Insured Person
* CS_POLOWA = "
EXCEPTIONS
UNSUPPORTED_PROPCAT = 1 UNSPECIFIED_PROPCAT = 2 MISSING_SPEC_DATA = 3 INSUREDOBJ_NOTFOUND = 4 MODIFY_FAILED = 5
EXPORTING Parameters details for ICL_IOBJ_MODIFY
E_PARTOCC_TABIX - Internal Tables, Current Row Index
Data type: SY-TABIXOptional: No
Call by Reference: Yes
CHANGING Parameters details for ICL_IOBJ_MODIFY
CS_POLO -
Data type: ICL_POLOOptional: No
Call by Reference: Yes
CS_POLOAU -
Data type: ICL_POLOAUOptional: Yes
Call by Reference: Yes
CS_POLORE -
Data type: ICL_POLOREOptional: Yes
Call by Reference: Yes
CS_POLOPE -
Data type: ICL_POLOPEOptional: Yes
Call by Reference: Yes
CS_POLOIN - GUI Structure: Insured Person
Data type: ICL_POLOINOptional: Yes
Call by Reference: Yes
CS_POLOWA -
Data type: ICL_POLOWAOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
UNSUPPORTED_PROPCAT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
UNSPECIFIED_PROPCAT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
MISSING_SPEC_DATA -
Data type:Optional: No
Call by Reference: Yes
INSUREDOBJ_NOTFOUND -
Data type:Optional: No
Call by Reference: Yes
MODIFY_FAILED -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ICL_IOBJ_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_cs_polo | TYPE ICL_POLO, " | |||
| lv_e_partocc_tabix | TYPE SY-TABIX, " | |||
| lv_unsupported_propcat | TYPE SY, " | |||
| lv_cs_poloau | TYPE ICL_POLOAU, " | |||
| lv_unspecified_propcat | TYPE ICL_POLOAU, " | |||
| lv_cs_polore | TYPE ICL_POLORE, " | |||
| lv_missing_spec_data | TYPE ICL_POLORE, " | |||
| lv_cs_polope | TYPE ICL_POLOPE, " | |||
| lv_insuredobj_notfound | TYPE ICL_POLOPE, " | |||
| lv_cs_poloin | TYPE ICL_POLOIN, " | |||
| lv_modify_failed | TYPE ICL_POLOIN, " | |||
| lv_cs_polowa | TYPE ICL_POLOWA. " |
|   CALL FUNCTION 'ICL_IOBJ_MODIFY' "Append an insured object |
| IMPORTING | ||
| E_PARTOCC_TABIX | = lv_e_partocc_tabix | |
| CHANGING | ||
| CS_POLO | = lv_cs_polo | |
| CS_POLOAU | = lv_cs_poloau | |
| CS_POLORE | = lv_cs_polore | |
| CS_POLOPE | = lv_cs_polope | |
| CS_POLOIN | = lv_cs_poloin | |
| CS_POLOWA | = lv_cs_polowa | |
| EXCEPTIONS | ||
| UNSUPPORTED_PROPCAT = 1 | ||
| UNSPECIFIED_PROPCAT = 2 | ||
| MISSING_SPEC_DATA = 3 | ||
| INSUREDOBJ_NOTFOUND = 4 | ||
| MODIFY_FAILED = 5 | ||
| . " ICL_IOBJ_MODIFY | ||
ABAP code using 7.40 inline data declarations to call FM ICL_IOBJ_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 TABIX FROM SY INTO @DATA(ld_e_partocc_tabix). | ||||
Search for further information about these or an SAP related objects