Fonction SAP CACS_LCC_MTCH_RE_DT - ICM-LCC: Matching routine for tables _DOCRE and _DOCDT

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_APPL CACSAPPL C 6 Commission Application Identification
I_LCC_TIMESTAMP CACSTIMESTAMP N 14 Time Stamp (YYYY.MM.DD hh:mm:ss)
I_MATCH_FIELDLIST DCBTFIELDS h 30 List of Field Names
I_MATCH_TABNAME EWUTABNAME C 30 Name of Table to be Converted
I_SOURCE_FIELDLIST DCBTFIELDS h 30 List of Field Names
I_SOURCE_TABNAME EWUTABNAME C 30 Name of Table to be Converted
I_YEAR CACSYEAR N 4 Year of Commission Case/Commission Document

Paramètre Reférence Type Long. Description
E_RESULT EWUUMSSTAT C 3 Status of the program

Exception Description
SQL_ERROR

Functionality
Function module CACS_LCC_MTCH_RE_DT reconciles the rounding differencesthat arise after conversion phase of local currency conversion betweenremuneration line items in table _DOCRE and detailremuneration line items in table _DOCDT based on updatecategories.
If there is a (rounding) difference in the amount fields of commissionmodel currency, a new remuneration detail line item with process step'999999' and result type 01 for (REM_LEDAMNT), result type 02 for(RESP_LEDAMNT), result type 03 for (OFFSET_LEDAMNT) and result type 04for (DUE_LEDAMNT) is created in table _DOCDT for eachamount field with UPD_TIMESTAMP equal to conversion timestamp.

Parameter
I_APPL,,Commission Application Identification
I_YEAR,,Year of Commission Case/Commission Document
I_SOURCE_TABNAME,,Name of Table to be converted
I_MATCH_TABNAME,,Name of Table to be converted
I_LCC_TIMESTAMP,,Stamp (YYYY.MM.DD hh:mm:ss)
I_SOURCE_FIELDLIST,,List of Field Names
I_MATCH_FIELDLIST,,List of Field Names
E_RESULT TYPE EWUUMSSTAT,,Status of the program

Exceptions
SQL_ERROR,,SQL exception occurred during execution

Function group
CACS_LCC_MATCH