Fonction SAP CACSFI_TRANSFER_FI_D_PREPARE - FI: Preparing Commission Settlement

Paramètre Reférence Type Long. Description
E_FLG_ERROR CACSCASEERROR C 1 Indicator: Commn Case Inconsistent (X = error, ' ' = ok)

Paramètre Reférence Long. Facultatif Description
CT_CACS_TAX CACS_S_TRANSFER_FI_T 105 Transfer Structure for Tax
ET_ACCOUNTGL BAPIACGL01 634 G/L Account Line Items
ET_ACCOUNTRECEIVABLE BAPIACAR01 205 Vendor Line Items
ET_ACCOUNTTAX BAPIACTX01 74 Tax Line Items
ET_CRITERIA BAPIACKECR 58 X CO-PA Characteristics
ET_CURRENCYAMOUNT BAPIACCR01 66 Line item currency fields
ET_DOCUMENTHEADER BAPIACHE01 203 Document Header
ET_EXTENSION1 BAPIEXTC 1000 X Table for Customer Enhancement
ET_MESSAGE CACS_S_TRANSF_MESSAGE 568 Confirmation
ET_REF_AC_DOC CACS_S_TRANSF_REF 72 X Reference Table for Document
ET_SALESAMOUNT BAPIACCRSO 112 X Purchase Order Currency Fields
ET_SALESORDER BAPIACSO00 354 X Purchase Order Line Items
ET_VALUEFIELD BAPIACKEVA 76 X CO-PA value components
IT_CACS_HD CACS00_S_TRANSFER_FI_H 111 Transfer Structure Header Data
IT_CACS_SE CACS00_S_TRANSFER_FI_P 149 Transfer Structure Item Data

Functionality
Commission documents are sent to the function module to format them foraccounting.
It is checked whether the accounting-relevant data of the commissiondocument can be posted in accounting. If the data is ok, it is formattedfor the accounting BAPI interface.
If no error occurrs during processing, the data is sent to the callerfor further processing. Error(messages) are returned in the ET_MESSAGEtable during processing.

Notes

  • No summarization takes place for the document formatting, the document
  • is posted as it was sent to the function module.
    • Reference table IT_REF_AC_DOC is processed for the following function
    • module <(><<)>APPL>_TRANSFER_FI_POST.First and last segment is updated for a document in the reference table,thus all the segments can be determined in the distributed BAPI tablescontained in the document during further processing.
      • Erroneous documents are marked in the transfer table (header table) in
      • the field WORK_FLAG with 'E'. No ROLLBACK takes place.
        • If a document is erroneous, the processing status is returned with X.

        • USER EXIT: BTE-Tool (Business Transaction Events) provides you the
        • option to prepare an individual function module(maintenance in customizing).