Fonction SAP CACSFI_TRANSFER_FI_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 BAPIACGL03 718 G/L Account Line Items
ET_ACCOUNTPAYABLE BAPIACAP03 238 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 BAPIACHE03 207 Document header
ET_EXTENSION1 BAPIEXTC 1000 X Table for Customer Enhancement
ET_MESSAGE CACS_S_TRANSF_MESSAGE 568 Confirmation
ET_PURCHASEAMOUNT BAPIACCRPO 116 X Purchase Order Currency Fields
ET_PURCHASEORDER BAPIACPO00 593 X Purchase Order Line Items
ET_REF_AC_DOC CACS_S_TRANSF_REF 72 X Reference Table For Document
ET_VALUEFIELD BAPIACKEVA 76 X CO-PA value components
IT_CACS_HD CACS00_S_TRANSFER_FI_H 111 Header Data Transfer Structure
IT_CACS_SE CACS00_S_TRANSFER_FI_P 149 Item Data Transfer Structure

Functionality
Commission documents are sent to the function module for formatting foraccounting.
It is checked whether the accounting-relevant data of the commissiondocument can be posted in accounting. If the data is ok, it is processedfor the accounting BAPI interface.
If no error occurs during data processing, the data is sent to thecaller for further processing. During data processing, (error) messagesare returned in the ET_MESSAGE table.

Notes

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

        • USER EXIT: BTE tool (Business Transaction Events) lets you prepare an
        • individual function module (maintenance inCustomizing).