Fonction SAP CACSCD_TRANSFER_ISCD_START - FS-CD: Preparation & Posting (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
ET_MESSAGE CACS_S_TRANSF_MESSAGE 568 Reporting Structure for FI Transfer
IT_CACS_HD CACS00_S_TRANSFER_ISCD_H 86 Transfer Structure For Document Creation FI Header
IT_CACS_SE CACS00_S_TRANSFER_ISCD_P 194 Transfer Structure for FI Document Generation Item

Functionality
Program controls the preparation and posting of commission documents inthe financial 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 prepared afresh.Calling program can control with the help of TEST switch, whether thetransferred data should, in any case, be prepared again.
A logical destination can be specified during function call for singledocument in the header data.
All the postable documents are prepared in BAPI tables. The erroneousdocuments are marked with 'E' in the transfer table (header table) infield WORK_FLAG.
(Error) messages are returned in a table. In addition, a processingstatus is returned, whether the documents were prepared/ postedcorrectly.
In case the switch TEST is not set, if required, data is prepared againand posted in FI after an error-free preparation.
All the successfully posted documents are updated in history tables forpossible reversal postings.