Fonction SAP CACSCD_BUILD_ISCD_DOCUMENT_CPD - Creating CPD FS-CD Documents (Agent o.e. Contract)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_OBJ_ID TCACS_LOS_OBJECT-OBJ_ID C 5 Calculating Object Identification
I_OBJ_METHOD TCACS_LOS_METH-OBJ_METHOD C 2 Assigned Method for Object Type Class for Logical Service
I_OBJ_TYPE TCACS_LOS_METH-OBJ_TYPE C 2 Object Type Class (OTC) for Logical Service
I_RUNID CACSSTMTID C 10 Identification of a Settlement Run
I_TEST C C 0

Paramètre Reférence Long. Facultatif Description
E_BAD_DOCUMENTS 0 Commission Contract Number
I_CTRTBU_LOG CACS_S_PAY_LOG 42 Log Table For Closing and Settlement
I_DOCPAY CACS00_S_DOCPAY 378 Document Table From The Commission System
I_DOCPAY_STM CACS00_S_DOCPAY_STM 376 Commission: FI Document (Meta Object)
I_DOC_PAYINFO CACS_S_PAYSYS_INFO 85

Exception Description
BAPI_ERROR Error While Calling FI-BAPI
CHECK_ERROR Error While Determining Account Assignment Information
DOC_ERROR Error in FI Documents

Functionality
This function module CACS00_BUILD_ISCD_DOCUMENT_CPD calls the functionmodule CACS00_BUILD_ISCD_DOCUMENT for converting meta document to thestructure of ISCD. It is checked in advance, whether CpD data -alternative payees - are present in the settlement items. If there areseveral alternative payees for each document, a new document number mustbe used, because the later called function module for transferring thedata in ISCD can process only one payment recipient per document. Therecently created document number is marked in the table CACS_CPD_REF.This table is accessed while reversing a document.