SAP ICL_IMPORT_POLICY_WITH_ACORD Function Module for
ICL_IMPORT_POLICY_WITH_ACORD is a standard icl import policy with acord SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 import policy with acord FM, simply by entering the name ICL_IMPORT_POLICY_WITH_ACORD into the relevant SAP transaction such as SE37 or SE38.
Function Group: ICL_POLS_EXT_AS_POLICY
Program Name: SAPLICL_POLS_EXT_AS_POLICY
Main Program: SAPLICL_POLS_EXT_AS_POLICY
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ICL_IMPORT_POLICY_WITH_ACORD 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_IMPORT_POLICY_WITH_ACORD'".
EXPORTING
I_POLICY = "
I_DATELOSS = "
I_TIMELOSS = "
I_TIMEZONE = "
TABLES
* ET_ACORDPOL = "Policy Structure Using ACORD
* ET_ACORD_COVERAGES = "
* ET_ACORD_PARTICIPANTS = "
* ET_ACORD_VEHICLE = "
* ET_ACORD_EQUIPMENT = "
* ET_ACORD_REALESTATE = "
* ET_ACORD_QUESTANS = "
EXCEPTIONS
POLICY_LOAD_FAILURE = 1
IMPORTING Parameters details for ICL_IMPORT_POLICY_WITH_ACORD
I_POLICY -
Data type: ICL_POLICYOptional: No
Call by Reference: No ( called with pass by value option)
I_DATELOSS -
Data type: ICL_LOSSDATEOptional: No
Call by Reference: No ( called with pass by value option)
I_TIMELOSS -
Data type: ICL_LOSSTIMEOptional: No
Call by Reference: No ( called with pass by value option)
I_TIMEZONE -
Data type: ICL_LTIMEZONEOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ICL_IMPORT_POLICY_WITH_ACORD
ET_ACORDPOL - Policy Structure Using ACORD
Data type: ICL_ACORD_POLICYOptional: Yes
Call by Reference: Yes
ET_ACORD_COVERAGES -
Data type: ICL_ACORD_COVERAGESOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_ACORD_PARTICIPANTS -
Data type: ICL_ACORD_PARTICIPANTSOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_ACORD_VEHICLE -
Data type: ICL_ACORD_VEHICLEOptional: Yes
Call by Reference: Yes
ET_ACORD_EQUIPMENT -
Data type: ICL_ACORD_EQUIPMENTOptional: Yes
Call by Reference: Yes
ET_ACORD_REALESTATE -
Data type: ICL_ACORD_REALESTATEOptional: Yes
Call by Reference: Yes
ET_ACORD_QUESTANS -
Data type: ICL_ACORD_QUESTANSOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
POLICY_LOAD_FAILURE - POLICY_LOAD_FAILURE
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ICL_IMPORT_POLICY_WITH_ACORD 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_policy | TYPE ICL_POLICY, " | |||
| lt_et_acordpol | TYPE STANDARD TABLE OF ICL_ACORD_POLICY, " | |||
| lv_policy_load_failure | TYPE ICL_ACORD_POLICY, " | |||
| lv_i_dateloss | TYPE ICL_LOSSDATE, " | |||
| lt_et_acord_coverages | TYPE STANDARD TABLE OF ICL_ACORD_COVERAGES, " | |||
| lv_i_timeloss | TYPE ICL_LOSSTIME, " | |||
| lt_et_acord_participants | TYPE STANDARD TABLE OF ICL_ACORD_PARTICIPANTS, " | |||
| lv_i_timezone | TYPE ICL_LTIMEZONE, " | |||
| lt_et_acord_vehicle | TYPE STANDARD TABLE OF ICL_ACORD_VEHICLE, " | |||
| lt_et_acord_equipment | TYPE STANDARD TABLE OF ICL_ACORD_EQUIPMENT, " | |||
| lt_et_acord_realestate | TYPE STANDARD TABLE OF ICL_ACORD_REALESTATE, " | |||
| lt_et_acord_questans | TYPE STANDARD TABLE OF ICL_ACORD_QUESTANS. " |
|   CALL FUNCTION 'ICL_IMPORT_POLICY_WITH_ACORD' " |
| EXPORTING | ||
| I_POLICY | = lv_i_policy | |
| I_DATELOSS | = lv_i_dateloss | |
| I_TIMELOSS | = lv_i_timeloss | |
| I_TIMEZONE | = lv_i_timezone | |
| TABLES | ||
| ET_ACORDPOL | = lt_et_acordpol | |
| ET_ACORD_COVERAGES | = lt_et_acord_coverages | |
| ET_ACORD_PARTICIPANTS | = lt_et_acord_participants | |
| ET_ACORD_VEHICLE | = lt_et_acord_vehicle | |
| ET_ACORD_EQUIPMENT | = lt_et_acord_equipment | |
| ET_ACORD_REALESTATE | = lt_et_acord_realestate | |
| ET_ACORD_QUESTANS | = lt_et_acord_questans | |
| EXCEPTIONS | ||
| POLICY_LOAD_FAILURE = 1 | ||
| . " ICL_IMPORT_POLICY_WITH_ACORD | ||
ABAP code using 7.40 inline data declarations to call FM ICL_IMPORT_POLICY_WITH_ACORD
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.Search for further information about these or an SAP related objects