SAP ICL_DI_DATA_COLLECT Function Module for Background Maintenance: Collect Claim Data









ICL_DI_DATA_COLLECT is a standard icl di data collect SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Background Maintenance: Collect Claim Data 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 di data collect FM, simply by entering the name ICL_DI_DATA_COLLECT into the relevant SAP transaction such as SE37 or SE38.

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



Function ICL_DI_DATA_COLLECT 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_DI_DATA_COLLECT'"Background Maintenance: Collect Claim Data
EXPORTING
* I_XCOLLECT = 'X' "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* I_EXCLAIMNOCAT = "Category of External Claim Number
* I_EXCLAIMNO = "External Claim Number
* IS_CLAIM = "DI Structure for Table ICLCLAIM
* I_XSKIPDUPLCHECK = "Flag: Skip Duplicate Check
* I_EXHANDLE = "External Handle for Claim
* I_XDUMMYCLAIM = "Flag: Dummy Claim
* IV_MIGCONTROL = "Control of Migration Behavior
* IV_POLREIMPORT = "Reimport Contract
* IV_LTIMEZONE = "Time Zone of Claim/Loss Event
* IV_XDATEESTIM = "Date Is Estimate
* I_CLAIM = "Claim Number
I_AKTYP = "Activity Type
* I_POLICY = "Policy
* I_POLPROD = "Policy Product
* I_PLINEOFBUS = "Insurance Line of Business
* I_DATELOSS = "Date of Claim
* I_TIMELOSS = '000000' "
* I_LOSSTYPE = "Incident Type

TABLES
* IT_CLAIMA = "DI Structure for Table ICLCLAIMA
* IT_SALV = "Direct Input Structure for Salvage
* IT_PROC = "Direct Input Structure for Table ICLPROCURE
* IT_DIAG = "DI Structure for Table ICLDIAGHOSIS
* ET_DATA = "BP: Direct input, record (record type 1, 2 or 3)
* IT_DATA = "BP: Direct Input, Record (Record Type 1,2 or 3)
* IT_SUBCL = "
* IT_ITEM = "DI Structure for Table ICLITEM
* IT_PAY = "DI Structure for Table ICLPAY
* IT_DOBJ = "Transfer Structure Damaged Object for Direct Input
* IT_BUPA = "DI Structure for Creating Business Partners in DI
* IT_GEN = "FS-CM: Direct Input Receiver Structure for Generic Data
* IT_PART = "DI Structure for Table ICLPART
* IT_SFC = "Direct Input Structure for Structured Facts Capture
.



IMPORTING Parameters details for ICL_DI_DATA_COLLECT

I_XCOLLECT - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

Data type: BOOLE-BOOLE
Default: 'X'
Optional: Yes
Call by Reference: Yes

I_EXCLAIMNOCAT - Category of External Claim Number

Data type: ICL_CLAIMNOCAT
Optional: Yes
Call by Reference: Yes

I_EXCLAIMNO - External Claim Number

Data type: ICL_CLAIMNO
Optional: Yes
Call by Reference: Yes

IS_CLAIM - DI Structure for Table ICLCLAIM

Data type: ICLCLAIM_DI
Optional: Yes
Call by Reference: Yes

I_XSKIPDUPLCHECK - Flag: Skip Duplicate Check

Data type: ICL_XSKIPDUPLCHECK
Optional: Yes
Call by Reference: Yes

I_EXHANDLE - External Handle for Claim

Data type: ICL_EXHANDLE
Optional: Yes
Call by Reference: Yes

I_XDUMMYCLAIM - Flag: Dummy Claim

Data type: ICL_XDUMMYCLAIM
Optional: Yes
Call by Reference: Yes

IV_MIGCONTROL - Control of Migration Behavior

Data type: ICL_MIGRATION_CONTROL_DI
Optional: Yes
Call by Reference: Yes

IV_POLREIMPORT - Reimport Contract

Data type: ICL_POLREIMPORT
Optional: Yes
Call by Reference: Yes

IV_LTIMEZONE - Time Zone of Claim/Loss Event

Data type: ICL_LTIMEZONE
Optional: Yes
Call by Reference: Yes

IV_XDATEESTIM - Date Is Estimate

Data type: ICL_XLOSSDATE
Optional: Yes
Call by Reference: Yes

I_CLAIM - Claim Number

Data type: ICL_CLAIM
Optional: Yes
Call by Reference: Yes

I_AKTYP - Activity Type

Data type: BU_AKTYP
Optional: No
Call by Reference: Yes

I_POLICY - Policy

Data type: ICL_DI2-POLICY
Optional: Yes
Call by Reference: Yes

I_POLPROD - Policy Product

Data type: ICL_DI2-POLPROD
Optional: Yes
Call by Reference: Yes

I_PLINEOFBUS - Insurance Line of Business

Data type: ICL_LINEOFBUS
Optional: Yes
Call by Reference: Yes

I_DATELOSS - Date of Claim

Data type: ICL_DI2-DATELOSS
Optional: Yes
Call by Reference: Yes

I_TIMELOSS -

Data type: ICL_DI2-TIMELOSS
Default: '000000'
Optional: Yes
Call by Reference: Yes

I_LOSSTYPE - Incident Type

Data type: ICL_DI2-LOSSTYPE
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for ICL_DI_DATA_COLLECT

IT_CLAIMA - DI Structure for Table ICLCLAIMA

Data type: ICLCLAIMA_DI
Optional: Yes
Call by Reference: Yes

IT_SALV - Direct Input Structure for Salvage

Data type: ICLSALV_DI
Optional: Yes
Call by Reference: Yes

IT_PROC - Direct Input Structure for Table ICLPROCURE

Data type: ICLPROCURE_DI
Optional: Yes
Call by Reference: Yes

IT_DIAG - DI Structure for Table ICLDIAGHOSIS

Data type: ICLDIAGNOSIS_DI
Optional: Yes
Call by Reference: Yes

ET_DATA - BP: Direct input, record (record type 1, 2 or 3)

Data type: BUSSDI
Optional: Yes
Call by Reference: Yes

IT_DATA - BP: Direct Input, Record (Record Type 1,2 or 3)

Data type: BUSSDI
Optional: Yes
Call by Reference: Yes

IT_SUBCL -

Data type: ICLSUBCL_DI
Optional: Yes
Call by Reference: Yes

IT_ITEM - DI Structure for Table ICLITEM

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

IT_PAY - DI Structure for Table ICLPAY

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

IT_DOBJ - Transfer Structure Damaged Object for Direct Input

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

IT_BUPA - DI Structure for Creating Business Partners in DI

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

IT_GEN - FS-CM: Direct Input Receiver Structure for Generic Data

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

IT_PART - DI Structure for Table ICLPART

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

IT_SFC - Direct Input Structure for Structured Facts Capture

Data type: ICL_SFC_DI
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for ICL_DI_DATA_COLLECT 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:
lt_it_claima  TYPE STANDARD TABLE OF ICLCLAIMA_DI, "   
lv_i_xcollect  TYPE BOOLE-BOOLE, "   'X'
lt_it_salv  TYPE STANDARD TABLE OF ICLSALV_DI, "   
lv_i_exclaimnocat  TYPE ICL_CLAIMNOCAT, "   
lt_it_proc  TYPE STANDARD TABLE OF ICLPROCURE_DI, "   
lv_i_exclaimno  TYPE ICL_CLAIMNO, "   
lt_it_diag  TYPE STANDARD TABLE OF ICLDIAGNOSIS_DI, "   
lv_is_claim  TYPE ICLCLAIM_DI, "   
lt_et_data  TYPE STANDARD TABLE OF BUSSDI, "   
lv_i_xskipduplcheck  TYPE ICL_XSKIPDUPLCHECK, "   
lt_it_data  TYPE STANDARD TABLE OF BUSSDI, "   
lv_i_exhandle  TYPE ICL_EXHANDLE, "   
lv_i_xdummyclaim  TYPE ICL_XDUMMYCLAIM, "   
lv_iv_migcontrol  TYPE ICL_MIGRATION_CONTROL_DI, "   
lv_iv_polreimport  TYPE ICL_POLREIMPORT, "   
lv_iv_ltimezone  TYPE ICL_LTIMEZONE, "   
lv_iv_xdateestim  TYPE ICL_XLOSSDATE, "   
lv_i_claim  TYPE ICL_CLAIM, "   
lt_it_subcl  TYPE STANDARD TABLE OF ICLSUBCL_DI, "   
lt_it_item  TYPE STANDARD TABLE OF ICLITEM_DI, "   
lv_i_aktyp  TYPE BU_AKTYP, "   
lt_it_pay  TYPE STANDARD TABLE OF ICLPAY_DI, "   
lv_i_policy  TYPE ICL_DI2-POLICY, "   
lt_it_dobj  TYPE STANDARD TABLE OF ICLDOBJ_DI, "   
lv_i_polprod  TYPE ICL_DI2-POLPROD, "   
lt_it_bupa  TYPE STANDARD TABLE OF ICLBUPA_DI, "   
lv_i_plineofbus  TYPE ICL_LINEOFBUS, "   
lt_it_gen  TYPE STANDARD TABLE OF ICL_GEN_DI, "   
lv_i_dateloss  TYPE ICL_DI2-DATELOSS, "   
lt_it_part  TYPE STANDARD TABLE OF ICLPART_DI, "   
lv_i_timeloss  TYPE ICL_DI2-TIMELOSS, "   '000000'
lt_it_sfc  TYPE STANDARD TABLE OF ICL_SFC_DI, "   
lv_i_losstype  TYPE ICL_DI2-LOSSTYPE. "   

  CALL FUNCTION 'ICL_DI_DATA_COLLECT'  "Background Maintenance: Collect Claim Data
    EXPORTING
         I_XCOLLECT = lv_i_xcollect
         I_EXCLAIMNOCAT = lv_i_exclaimnocat
         I_EXCLAIMNO = lv_i_exclaimno
         IS_CLAIM = lv_is_claim
         I_XSKIPDUPLCHECK = lv_i_xskipduplcheck
         I_EXHANDLE = lv_i_exhandle
         I_XDUMMYCLAIM = lv_i_xdummyclaim
         IV_MIGCONTROL = lv_iv_migcontrol
         IV_POLREIMPORT = lv_iv_polreimport
         IV_LTIMEZONE = lv_iv_ltimezone
         IV_XDATEESTIM = lv_iv_xdateestim
         I_CLAIM = lv_i_claim
         I_AKTYP = lv_i_aktyp
         I_POLICY = lv_i_policy
         I_POLPROD = lv_i_polprod
         I_PLINEOFBUS = lv_i_plineofbus
         I_DATELOSS = lv_i_dateloss
         I_TIMELOSS = lv_i_timeloss
         I_LOSSTYPE = lv_i_losstype
    TABLES
         IT_CLAIMA = lt_it_claima
         IT_SALV = lt_it_salt
         IT_PROC = lt_it_proc
         IT_DIAG = lt_it_diag
         ET_DATA = lt_et_data
         IT_DATA = lt_it_data
         IT_SUBCL = lt_it_subcl
         IT_ITEM = lt_it_item
         IT_PAY = lt_it_pay
         IT_DOBJ = lt_it_dobj
         IT_BUPA = lt_it_bupa
         IT_GEN = lt_it_gen
         IT_PART = lt_it_part
         IT_SFC = lt_it_sfc
. " ICL_DI_DATA_COLLECT




ABAP code using 7.40 inline data declarations to call FM ICL_DI_DATA_COLLECT

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 BOOLE FROM BOOLE INTO @DATA(ld_i_xcollect).
DATA(ld_i_xcollect) = 'X'.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single POLICY FROM ICL_DI2 INTO @DATA(ld_i_policy).
 
 
"SELECT single POLPROD FROM ICL_DI2 INTO @DATA(ld_i_polprod).
 
 
 
 
"SELECT single DATELOSS FROM ICL_DI2 INTO @DATA(ld_i_dateloss).
 
 
"SELECT single TIMELOSS FROM ICL_DI2 INTO @DATA(ld_i_timeloss).
DATA(ld_i_timeloss) = '000000'.
 
 
"SELECT single LOSSTYPE FROM ICL_DI2 INTO @DATA(ld_i_losstype).
 


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!