SAP Function Modules

ICL_CCALC_TEST_CURRENT_GET SAP Function module







ICL_CCALC_TEST_CURRENT_GET is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name ICL_CCALC_TEST_CURRENT_GET into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: ICL_CCALC_TEST
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM ICL_CCALC_TEST_CURRENT_GET - ICL CCALC TEST CURRENT GET





CALL FUNCTION 'ICL_CCALC_TEST_CURRENT_GET' "
  TABLES
    it_subcl =                  " icl_iclsubcl  ICL: Subclaim Information: Fields on Screen
    it_evalpayitem =            " icl_payi      Claim Payment: Payment Items of a Payment
    it_evalclitem =             " icl_itemlist  ICL: GUI Structure for Claim Item List (Screen 301)
    it_prev_pay =               " icl_payo      Claim Payment: Overview of All Payments
    it_prev_payitem =           " icl_payi      Claim Payment: Payment Items of a Payment
    it_prev_clitem =            " icl_itemlist  ICL: GUI Structure for Claim Item List (Screen 301)
    ct_pay =                    " icl_payo      Claim Payment: Overview of All Payments
    ct_payitem =                " icl_payi      Claim Payment: Payment Items of a Payment
    ct_relclitem =              " icl_itemlist  ICL: GUI Structure for Claim Item List (Screen 301)
    .  "  ICL_CCALC_TEST_CURRENT_GET

ABAP code example for Function Module ICL_CCALC_TEST_CURRENT_GET





The ABAP code below is a full code listing to execute function module ICL_CCALC_TEST_CURRENT_GET including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
it_it_subcl  TYPE STANDARD TABLE OF ICL_ICLSUBCL,"TABLES PARAM
wa_it_subcl  LIKE LINE OF it_it_subcl ,
it_it_evalpayitem  TYPE STANDARD TABLE OF ICL_PAYI,"TABLES PARAM
wa_it_evalpayitem  LIKE LINE OF it_it_evalpayitem ,
it_it_evalclitem  TYPE STANDARD TABLE OF ICL_ITEMLIST,"TABLES PARAM
wa_it_evalclitem  LIKE LINE OF it_it_evalclitem ,
it_it_prev_pay  TYPE STANDARD TABLE OF ICL_PAYO,"TABLES PARAM
wa_it_prev_pay  LIKE LINE OF it_it_prev_pay ,
it_it_prev_payitem  TYPE STANDARD TABLE OF ICL_PAYI,"TABLES PARAM
wa_it_prev_payitem  LIKE LINE OF it_it_prev_payitem ,
it_it_prev_clitem  TYPE STANDARD TABLE OF ICL_ITEMLIST,"TABLES PARAM
wa_it_prev_clitem  LIKE LINE OF it_it_prev_clitem ,
it_ct_pay  TYPE STANDARD TABLE OF ICL_PAYO,"TABLES PARAM
wa_ct_pay  LIKE LINE OF it_ct_pay ,
it_ct_payitem  TYPE STANDARD TABLE OF ICL_PAYI,"TABLES PARAM
wa_ct_payitem  LIKE LINE OF it_ct_payitem ,
it_ct_relclitem  TYPE STANDARD TABLE OF ICL_ITEMLIST,"TABLES PARAM
wa_ct_relclitem  LIKE LINE OF it_ct_relclitem .


"populate fields of struture and append to itab
append wa_it_subcl to it_it_subcl.

"populate fields of struture and append to itab
append wa_it_evalpayitem to it_it_evalpayitem.

"populate fields of struture and append to itab
append wa_it_evalclitem to it_it_evalclitem.

"populate fields of struture and append to itab
append wa_it_prev_pay to it_it_prev_pay.

"populate fields of struture and append to itab
append wa_it_prev_payitem to it_it_prev_payitem.

"populate fields of struture and append to itab
append wa_it_prev_clitem to it_it_prev_clitem.

"populate fields of struture and append to itab
append wa_ct_pay to it_ct_pay.

"populate fields of struture and append to itab
append wa_ct_payitem to it_ct_payitem.

"populate fields of struture and append to itab
append wa_ct_relclitem to it_ct_relclitem. . CALL FUNCTION 'ICL_CCALC_TEST_CURRENT_GET' TABLES it_subcl = it_it_subcl it_evalpayitem = it_it_evalpayitem it_evalclitem = it_it_evalclitem it_prev_pay = it_it_prev_pay it_prev_payitem = it_it_prev_payitem it_prev_clitem = it_it_prev_clitem ct_pay = it_ct_pay ct_payitem = it_ct_payitem ct_relclitem = it_ct_relclitem . " ICL_CCALC_TEST_CURRENT_GET
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
it_it_subcl  TYPE STANDARD TABLE OF ICL_ICLSUBCL ,
wa_it_subcl  LIKE LINE OF it_it_subcl,
it_it_evalpayitem  TYPE STANDARD TABLE OF ICL_PAYI ,
wa_it_evalpayitem  LIKE LINE OF it_it_evalpayitem,
it_it_evalclitem  TYPE STANDARD TABLE OF ICL_ITEMLIST ,
wa_it_evalclitem  LIKE LINE OF it_it_evalclitem,
it_it_prev_pay  TYPE STANDARD TABLE OF ICL_PAYO ,
wa_it_prev_pay  LIKE LINE OF it_it_prev_pay,
it_it_prev_payitem  TYPE STANDARD TABLE OF ICL_PAYI ,
wa_it_prev_payitem  LIKE LINE OF it_it_prev_payitem,
it_it_prev_clitem  TYPE STANDARD TABLE OF ICL_ITEMLIST ,
wa_it_prev_clitem  LIKE LINE OF it_it_prev_clitem,
it_ct_pay  TYPE STANDARD TABLE OF ICL_PAYO ,
wa_ct_pay  LIKE LINE OF it_ct_pay,
it_ct_payitem  TYPE STANDARD TABLE OF ICL_PAYI ,
wa_ct_payitem  LIKE LINE OF it_ct_payitem,
it_ct_relclitem  TYPE STANDARD TABLE OF ICL_ITEMLIST ,
wa_ct_relclitem  LIKE LINE OF it_ct_relclitem.


"populate fields of struture and append to itab
append wa_it_subcl to it_it_subcl.

"populate fields of struture and append to itab
append wa_it_evalpayitem to it_it_evalpayitem.

"populate fields of struture and append to itab
append wa_it_evalclitem to it_it_evalclitem.

"populate fields of struture and append to itab
append wa_it_prev_pay to it_it_prev_pay.

"populate fields of struture and append to itab
append wa_it_prev_payitem to it_it_prev_payitem.

"populate fields of struture and append to itab
append wa_it_prev_clitem to it_it_prev_clitem.

"populate fields of struture and append to itab
append wa_ct_pay to it_ct_pay.

"populate fields of struture and append to itab
append wa_ct_payitem to it_ct_payitem.

"populate fields of struture and append to itab
append wa_ct_relclitem to it_ct_relclitem.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ICL_CCALC_TEST_CURRENT_GET or its description.