SAP ICLF_ICL_DOCS_OF_PAYPLAN_SIMUL Function Module for Simulation of All Claim-Related Payments from Payment Plans









ICLF_ICL_DOCS_OF_PAYPLAN_SIMUL is a standard iclf icl docs of payplan simul SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Simulation of All Claim-Related Payments from Payment Plans 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 docs of payplan simul FM, simply by entering the name ICLF_ICL_DOCS_OF_PAYPLAN_SIMUL into the relevant SAP transaction such as SE37 or SE38.

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



Function ICLF_ICL_DOCS_OF_PAYPLAN_SIMUL 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_DOCS_OF_PAYPLAN_SIMUL'"Simulation of All Claim-Related Payments from Payment Plans
EXPORTING
IV_PKEY = "Payment Plan Key
IV_PMTFR = "Valid-From Date for Payment Plan Item
IV_PMTTO = "Valid-to date for payment plan items
* IV_PAMPAID = 0 "Claim Payment Made

IMPORTING
EV_LINES = "Internal Tables, Current Row Index
EV_PAMPAID = "Claim Payment Made

TABLES
* ET_SVVSCDATE = "Structure for Date Transfer

EXCEPTIONS
NO_DATES = 1
.



IMPORTING Parameters details for ICLF_ICL_DOCS_OF_PAYPLAN_SIMUL

IV_PKEY - Payment Plan Key

Data type: TVS010B-PKEY
Optional: No
Call by Reference: Yes

IV_PMTFR - Valid-From Date for Payment Plan Item

Data type: VVSCPOS-PMTFR
Optional: No
Call by Reference: Yes

IV_PMTTO - Valid-to date for payment plan items

Data type: VVSCPOS-PMTTO
Optional: No
Call by Reference: Yes

IV_PAMPAID - Claim Payment Made

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

EXPORTING Parameters details for ICLF_ICL_DOCS_OF_PAYPLAN_SIMUL

EV_LINES - Internal Tables, Current Row Index

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

EV_PAMPAID - Claim Payment Made

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

TABLES Parameters details for ICLF_ICL_DOCS_OF_PAYPLAN_SIMUL

ET_SVVSCDATE - Structure for Date Transfer

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

EXCEPTIONS details

NO_DATES -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ICLF_ICL_DOCS_OF_PAYPLAN_SIMUL 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_iv_pkey  TYPE TVS010B-PKEY, "   
lv_ev_lines  TYPE SYTABIX, "   
lv_no_dates  TYPE SYTABIX, "   
lt_et_svvscdate  TYPE STANDARD TABLE OF SVVSCDATE, "   
lv_iv_pmtfr  TYPE VVSCPOS-PMTFR, "   
lv_ev_pampaid  TYPE ICL_PAIDLOSS, "   
lv_iv_pmtto  TYPE VVSCPOS-PMTTO, "   
lv_iv_pampaid  TYPE ICL_PAIDLOSS. "   0

  CALL FUNCTION 'ICLF_ICL_DOCS_OF_PAYPLAN_SIMUL'  "Simulation of All Claim-Related Payments from Payment Plans
    EXPORTING
         IV_PKEY = lv_iv_pkey
         IV_PMTFR = lv_iv_pmtfr
         IV_PMTTO = lv_iv_pmtto
         IV_PAMPAID = lv_iv_pampaid
    IMPORTING
         EV_LINES = lv_ev_lines
         EV_PAMPAID = lv_ev_pampaid
    TABLES
         ET_SVVSCDATE = lt_et_svvscdate
    EXCEPTIONS
        NO_DATES = 1
. " ICLF_ICL_DOCS_OF_PAYPLAN_SIMUL




ABAP code using 7.40 inline data declarations to call FM ICLF_ICL_DOCS_OF_PAYPLAN_SIMUL

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 PKEY FROM TVS010B INTO @DATA(ld_iv_pkey).
 
 
 
 
"SELECT single PMTFR FROM VVSCPOS INTO @DATA(ld_iv_pmtfr).
 
 
"SELECT single PMTTO FROM VVSCPOS INTO @DATA(ld_iv_pmtto).
 
 


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!