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

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 reconciles the rounding differencesthat arise after the conversion phase of local currency conversionbetween transferred documents (DOC_TYPE A) and original document intable _DOCRE.
If there is a difference (rounding) in the amount fields of commissionmodel currency, a new transferred line item (DOC TYPE A) withoutcontract assignment is created in table _DOCRE withremuneration type 0lCC and UPD_TIMESTAMP equal to the conversiontimestamp.

Parameters
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,,Time 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_ERRORS
QL exception occurred during execution

Function group
CACS_LCC_MATCH