Fonction SAP CACSFI_TRANSFER_FI_START - FI: Data Transfer

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 Generation 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 infinancial accounting.

Notes
Transferred tables are compared with the tables contained in the workingmemory. In case the table contents are different, the data in the globalworking memory is deleted and the transfer data is formatted again. Thecalling program can control with the help of TEST switch whether thetransferred data needs to be processed again in any case.
A logical destination can be specified for each individual document inthe header data while calling the function.
All the postable documents in the BAPI tables are formatted. 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.
In case the switch TEST is not set, the data, if required, is processedagain and posted in FI after an error-free processing.
All the successfully posted documents are updated in the history tablesfor possible reversal postings.