Fonction SAP CACSFI_TRANSFER_FI_D_START - FI: Document Transfer For The Accounts Receivable Accounting

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_TEST CACSTESTFLAG C 1 'X' X Test Run

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 X Transfer Structure For Tax
ET_MESSAGE CACS_S_TRANSF_MESSAGE 568 Return Parameter(s)
IT_CACS_HD CACS00_S_TRANSFER_FI_H 111 Transfer Structure For FI Document Creation Header
IT_CACS_SE CACS00_S_TRANSFER_FI_P 149 Transfer Structure for FI Document Generation Item

Functionality
The program controls formatting and posting of commission documents inthe financial accounting.

Notes
Transferred tables are compared with the tables contained in the globalworking memory. In case the table contents are different, data in theglobal working memory is deleted and the transfer data is formattedagain. Calling program can control with the help of TEST switch, whetherthe transferred data needs to be processed in any case.
A logical destination can be specified for each document in the headerdata while calling the function.
All the postable documents are formatted in the BAPI tables. Erroneousdocuments are marked in the transfer table (header table) in the fieldWORK_FLAG with 'E'.
(Error)messages are returned in a table. In addition, a processingstatus is returned, whether the documents were formatted/ postedcorrectly.
If the switch TEST is not set, the data, if required, is processed againand posted in FI after an error-free processing.
All the successfully posted documents are updated in history tables forpossible reversal postings.