SAP ICL_UPDATE_RECEIVED Function Module for Creation of a Payment for Reimbursement of Deductible
ICL_UPDATE_RECEIVED is a standard icl update received SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Creation of a Payment for Reimbursement of Deductible 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 update received FM, simply by entering the name ICL_UPDATE_RECEIVED into the relevant SAP transaction such as SE37 or SE38.
Function Group: ICL_CF_EXT_SBR1
Program Name: SAPLICL_CF_EXT_SBR1
Main Program: SAPLICL_CF_EXT_SBR1
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ICL_UPDATE_RECEIVED 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_UPDATE_RECEIVED'"Creation of a Payment for Reimbursement of Deductible.
EXPORTING
* IV_SIMUL = 'X' "Indicator: Simulation Run
IV_PHCODI = "Category for Processing Payments in Direct Input
* IV_RETDED = ' ' "
IMPORTING
EV_RC = "Return Value, Return Value after ABAP Statements
TABLES
* T_CLAIM = "Claim
T_SUBCL = "Subclaim
T_PAY = "Claim Payment
* T_MAINSUB_DI = "
* ET_MESSAGE = "CBP: Messages for Each Object
IMPORTING Parameters details for ICL_UPDATE_RECEIVED
IV_SIMUL - Indicator: Simulation Run
Data type: BOOLE-BOOLEDefault: 'X'
Optional: Yes
Call by Reference: Yes
IV_PHCODI - Category for Processing Payments in Direct Input
Data type: ICL_PHCODIOptional: No
Call by Reference: Yes
IV_RETDED -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ICL_UPDATE_RECEIVED
EV_RC - Return Value, Return Value after ABAP Statements
Data type: SY-SUBRCOptional: No
Call by Reference: Yes
TABLES Parameters details for ICL_UPDATE_RECEIVED
T_CLAIM - Claim
Data type: ICLCLAIMOptional: Yes
Call by Reference: No ( called with pass by value option)
T_SUBCL - Subclaim
Data type: ICLSUBCLOptional: No
Call by Reference: No ( called with pass by value option)
T_PAY - Claim Payment
Data type: ICLPAYOptional: No
Call by Reference: No ( called with pass by value option)
T_MAINSUB_DI -
Data type: ICLMAINSUB_DIOptional: Yes
Call by Reference: Yes
ET_MESSAGE - CBP: Messages for Each Object
Data type: BUS0MSG1Optional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ICL_UPDATE_RECEIVED 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_ev_rc | TYPE SY-SUBRC, " | |||
| lt_t_claim | TYPE STANDARD TABLE OF ICLCLAIM, " | |||
| lv_iv_simul | TYPE BOOLE-BOOLE, " 'X' | |||
| lt_t_subcl | TYPE STANDARD TABLE OF ICLSUBCL, " | |||
| lv_iv_phcodi | TYPE ICL_PHCODI, " | |||
| lt_t_pay | TYPE STANDARD TABLE OF ICLPAY, " | |||
| lv_iv_retded | TYPE BOOLE-BOOLE, " SPACE | |||
| lt_t_mainsub_di | TYPE STANDARD TABLE OF ICLMAINSUB_DI, " | |||
| lt_et_message | TYPE STANDARD TABLE OF BUS0MSG1. " |
|   CALL FUNCTION 'ICL_UPDATE_RECEIVED' "Creation of a Payment for Reimbursement of Deductible |
| EXPORTING | ||
| IV_SIMUL | = lv_iv_simul | |
| IV_PHCODI | = lv_iv_phcodi | |
| IV_RETDED | = lv_iv_retded | |
| IMPORTING | ||
| EV_RC | = lv_ev_rc | |
| TABLES | ||
| T_CLAIM | = lt_t_claim | |
| T_SUBCL | = lt_t_subcl | |
| T_PAY | = lt_t_pay | |
| T_MAINSUB_DI | = lt_t_mainsub_di | |
| ET_MESSAGE | = lt_et_message | |
| . " ICL_UPDATE_RECEIVED | ||
ABAP code using 7.40 inline data declarations to call FM ICL_UPDATE_RECEIVED
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 SUBRC FROM SY INTO @DATA(ld_ev_rc). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_simul). | ||||
| DATA(ld_iv_simul) | = 'X'. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_retded). | ||||
| DATA(ld_iv_retded) | = ' '. | |||
Search for further information about these or an SAP related objects