SAP ICLF_ICL_PAY_ITEMS_CCALC_CHECK Function Module for Call Compensation Authorization for Payment to Be Created









ICLF_ICL_PAY_ITEMS_CCALC_CHECK is a standard iclf icl pay items ccalc check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Call Compensation Authorization for Payment to Be Created 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 iclf icl pay items ccalc check FM, simply by entering the name ICLF_ICL_PAY_ITEMS_CCALC_CHECK into the relevant SAP transaction such as SE37 or SE38.

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



Function ICLF_ICL_PAY_ITEMS_CCALC_CHECK 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 'ICLF_ICL_PAY_ITEMS_CCALC_CHECK'"Call Compensation Authorization for Payment to Be Created
CHANGING
C_PAYHD = "Claim Payment: Payment Header of Payment
* C_XCHNG = 'X' "

TABLES
T_PAYIP = "Claim Payment: Payment Items of a Payment

EXCEPTIONS
POPUP_CANCELED = 1 CCALC_ERROR = 2 ERROR_XSUBCL_SPLIT = 3 NOT_ALLOWED = 4 APPROVAL_NECESSARY = 5 ERROR_STATUS_CHANGE = 6 PYMTYPE_ERROR = 7 PHCODI_ERROR = 8
.



CHANGING Parameters details for ICLF_ICL_PAY_ITEMS_CCALC_CHECK

C_PAYHD - Claim Payment: Payment Header of Payment

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

C_XCHNG -

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

TABLES Parameters details for ICLF_ICL_PAY_ITEMS_CCALC_CHECK

T_PAYIP - Claim Payment: Payment Items of a Payment

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

EXCEPTIONS details

POPUP_CANCELED -

Data type:
Optional: No
Call by Reference: Yes

CCALC_ERROR -

Data type:
Optional: No
Call by Reference: Yes

ERROR_XSUBCL_SPLIT -

Data type:
Optional: No
Call by Reference: Yes

NOT_ALLOWED -

Data type:
Optional: No
Call by Reference: Yes

APPROVAL_NECESSARY -

Data type:
Optional: No
Call by Reference: Yes

ERROR_STATUS_CHANGE -

Data type:
Optional: No
Call by Reference: Yes

PYMTYPE_ERROR -

Data type:
Optional: No
Call by Reference: Yes

PHCODI_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ICLF_ICL_PAY_ITEMS_CCALC_CHECK 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_c_payhd  TYPE ICL_PAYH, "   
lt_t_payip  TYPE STANDARD TABLE OF ICL_PAYI, "   
lv_popup_canceled  TYPE ICL_PAYI, "   
lv_c_xchng  TYPE ICL_PAYI, "   'X'
lv_ccalc_error  TYPE ICL_PAYI, "   
lv_error_xsubcl_split  TYPE ICL_PAYI, "   
lv_not_allowed  TYPE ICL_PAYI, "   
lv_approval_necessary  TYPE ICL_PAYI, "   
lv_error_status_change  TYPE ICL_PAYI, "   
lv_pymtype_error  TYPE ICL_PAYI, "   
lv_phcodi_error  TYPE ICL_PAYI. "   

  CALL FUNCTION 'ICLF_ICL_PAY_ITEMS_CCALC_CHECK'  "Call Compensation Authorization for Payment to Be Created
    CHANGING
         C_PAYHD = lv_c_payhd
         C_XCHNG = lv_c_xchng
    TABLES
         T_PAYIP = lt_t_payip
    EXCEPTIONS
        POPUP_CANCELED = 1
        CCALC_ERROR = 2
        ERROR_XSUBCL_SPLIT = 3
        NOT_ALLOWED = 4
        APPROVAL_NECESSARY = 5
        ERROR_STATUS_CHANGE = 6
        PYMTYPE_ERROR = 7
        PHCODI_ERROR = 8
. " ICLF_ICL_PAY_ITEMS_CCALC_CHECK




ABAP code using 7.40 inline data declarations to call FM ICLF_ICL_PAY_ITEMS_CCALC_CHECK

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.

 
 
 
DATA(ld_c_xchng) = 'X'.
 
 
 
 
 
 
 
 


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!