SAP ICL_SELECT_CF_DATA Function Module for Mass Selection of Payments and Reserves from Database









ICL_SELECT_CF_DATA is a standard icl select cf data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Mass Selection of Payments and Reserves from Database 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 select cf data FM, simply by entering the name ICL_SELECT_CF_DATA into the relevant SAP transaction such as SE37 or SE38.

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



Function ICL_SELECT_CF_DATA 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_SELECT_CF_DATA'"Mass Selection of Payments and Reserves from Database
EXPORTING
* IV_NO_CR = ' ' "
* IV_REPORTING = ' ' "
* IV_PDATE = "Posting Date
* IT_CLAIMS = "ICL: Claim Key

IMPORTING
T_ICLCLAIM = "Claim / Overview
T_ICLSUBCL = "Subclaim / Overview
T_ICLRESERVE = "Reserves / Claim Expenses
T_ICLPAY = "Payments / Payment Header
T_ICLPAYI = "Payments / Payment Item

TABLES
* TR_PLOB = "
* TR_DELETED = "
* TR_STATUS = "
* TR_XRESERVE = "
* TR_RBPROLE = "
* TR_RBPOBJID = "
* TR_RBPOTYPE = "
* T_WHERE_TICL321 = "Policy Product Version
* T_WHERE_CLAIM = "Claim
* T_WHERE_SUBCL = "Subclaim
* T_WHERE_RESERVE = "Single Claim Reserve
* TR_CCODE = "
* T_WHERE_PAY = "
* T_WHERE_PAYI = "
* TR_CLAIM = "
* TR_CLMTY = "
* TR_SCLTY = "
* TR_RESTY = "
* TR_CURR = "
* TR_PDATE = "
* TR_PAYMENT_DONE = "

EXCEPTIONS
NO_DATA = 1
.



IMPORTING Parameters details for ICL_SELECT_CF_DATA

IV_NO_CR -

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: Yes

IV_REPORTING -

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: Yes

IV_PDATE - Posting Date

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

IT_CLAIMS - ICL: Claim Key

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

EXPORTING Parameters details for ICL_SELECT_CF_DATA

T_ICLCLAIM - Claim / Overview

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

T_ICLSUBCL - Subclaim / Overview

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

T_ICLRESERVE - Reserves / Claim Expenses

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

T_ICLPAY - Payments / Payment Header

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

T_ICLPAYI - Payments / Payment Item

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

TABLES Parameters details for ICL_SELECT_CF_DATA

TR_PLOB -

Data type:
Optional: Yes
Call by Reference: Yes

TR_DELETED -

Data type:
Optional: Yes
Call by Reference: Yes

TR_STATUS -

Data type:
Optional: Yes
Call by Reference: Yes

TR_XRESERVE -

Data type:
Optional: Yes
Call by Reference: Yes

TR_RBPROLE -

Data type:
Optional: Yes
Call by Reference: Yes

TR_RBPOBJID -

Data type:
Optional: Yes
Call by Reference: Yes

TR_RBPOTYPE -

Data type:
Optional: Yes
Call by Reference: Yes

T_WHERE_TICL321 - Policy Product Version

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

T_WHERE_CLAIM - Claim

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

T_WHERE_SUBCL - Subclaim

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

T_WHERE_RESERVE - Single Claim Reserve

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

TR_CCODE -

Data type:
Optional: Yes
Call by Reference: Yes

T_WHERE_PAY -

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

T_WHERE_PAYI -

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

TR_CLAIM -

Data type:
Optional: Yes
Call by Reference: Yes

TR_CLMTY -

Data type:
Optional: Yes
Call by Reference: Yes

TR_SCLTY -

Data type:
Optional: Yes
Call by Reference: Yes

TR_RESTY -

Data type:
Optional: Yes
Call by Reference: Yes

TR_CURR -

Data type:
Optional: Yes
Call by Reference: Yes

TR_PDATE -

Data type:
Optional: Yes
Call by Reference: Yes

TR_PAYMENT_DONE -

Data type:
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

NO_DATA - No Data Found

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ICL_SELECT_CF_DATA 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_no_data  TYPE STRING, "   
lt_tr_plob  TYPE STANDARD TABLE OF STRING, "   
lv_iv_no_cr  TYPE BOOLE-BOOLE, "   SPACE
lv_t_iclclaim  TYPE ICLFCLAIM_TAB, "   
lt_tr_deleted  TYPE STANDARD TABLE OF ICLFCLAIM_TAB, "   
lt_tr_status  TYPE STANDARD TABLE OF ICLFCLAIM_TAB, "   
lt_tr_xreserve  TYPE STANDARD TABLE OF ICLFCLAIM_TAB, "   
lt_tr_rbprole  TYPE STANDARD TABLE OF ICLFCLAIM_TAB, "   
lt_tr_rbpobjid  TYPE STANDARD TABLE OF ICLFCLAIM_TAB, "   
lt_tr_rbpotype  TYPE STANDARD TABLE OF ICLFCLAIM_TAB, "   
lt_t_where_ticl321  TYPE STANDARD TABLE OF RSDSWHERE, "   
lt_t_where_claim  TYPE STANDARD TABLE OF RSDSWHERE, "   
lt_t_where_subcl  TYPE STANDARD TABLE OF RSDSWHERE, "   
lt_t_where_reserve  TYPE STANDARD TABLE OF RSDSWHERE, "   
lt_tr_ccode  TYPE STANDARD TABLE OF RSDSWHERE, "   
lv_t_iclsubcl  TYPE ICLFSUBCL_TAB, "   
lv_iv_reporting  TYPE BOOLE-BOOLE, "   SPACE
lt_t_where_pay  TYPE STANDARD TABLE OF RSDSWHERE, "   
lt_t_where_payi  TYPE STANDARD TABLE OF RSDSWHERE, "   
lv_iv_pdate  TYPE ICL_POSTDATE, "   
lt_tr_claim  TYPE STANDARD TABLE OF ICL_POSTDATE, "   
lv_t_iclreserve  TYPE ICLFRESERVE_TAB, "   
lt_tr_clmty  TYPE STANDARD TABLE OF ICLFRESERVE_TAB, "   
lv_t_iclpay  TYPE ICLFPAY_TAB, "   
lv_it_claims  TYPE ICL_KEY_CLAIM_T, "   
lt_tr_sclty  TYPE STANDARD TABLE OF ICL_KEY_CLAIM_T, "   
lv_t_iclpayi  TYPE ICLFPAYI_TAB, "   
lt_tr_resty  TYPE STANDARD TABLE OF ICLFPAYI_TAB, "   
lt_tr_curr  TYPE STANDARD TABLE OF ICLFPAYI_TAB, "   
lt_tr_pdate  TYPE STANDARD TABLE OF ICLFPAYI_TAB, "   
lt_tr_payment_done  TYPE STANDARD TABLE OF ICLFPAYI_TAB. "   

  CALL FUNCTION 'ICL_SELECT_CF_DATA'  "Mass Selection of Payments and Reserves from Database
    EXPORTING
         IV_NO_CR = lv_iv_no_cr
         IV_REPORTING = lv_iv_reporting
         IV_PDATE = lv_iv_pdate
         IT_CLAIMS = lv_it_claims
    IMPORTING
         T_ICLCLAIM = lv_t_iclclaim
         T_ICLSUBCL = lv_t_iclsubcl
         T_ICLRESERVE = lv_t_iclreserve
         T_ICLPAY = lv_t_iclpay
         T_ICLPAYI = lv_t_iclpayi
    TABLES
         TR_PLOB = lt_tr_plob
         TR_DELETED = lt_tr_deleted
         TR_STATUS = lt_tr_status
         TR_XRESERVE = lt_tr_xreserve
         TR_RBPROLE = lt_tr_rbprole
         TR_RBPOBJID = lt_tr_rbpobjid
         TR_RBPOTYPE = lt_tr_rbpotype
         T_WHERE_TICL321 = lt_t_where_ticl321
         T_WHERE_CLAIM = lt_t_where_claim
         T_WHERE_SUBCL = lt_t_where_subcl
         T_WHERE_RESERVE = lt_t_where_reserve
         TR_CCODE = lt_tr_ccode
         T_WHERE_PAY = lt_t_where_pay
         T_WHERE_PAYI = lt_t_where_payi
         TR_CLAIM = lt_tr_claim
         TR_CLMTY = lt_tr_clmty
         TR_SCLTY = lt_tr_sclty
         TR_RESTY = lt_tr_resty
         TR_CURR = lt_tr_curr
         TR_PDATE = lt_tr_pdate
         TR_PAYMENT_DONE = lt_tr_payment_done
    EXCEPTIONS
        NO_DATA = 1
. " ICL_SELECT_CF_DATA




ABAP code using 7.40 inline data declarations to call FM ICL_SELECT_CF_DATA

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_iv_no_cr).
DATA(ld_iv_no_cr) = ' '.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_reporting).
DATA(ld_iv_reporting) = ' '.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!