Fonction SAP CACSHR_TRANSFER_HR_START - HR: 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 Return Parameter(s)
IT_CACS_HD CACS00_S_TRANSFER_HR_H 80 Transfer Structure for Document Creation FI Header
IT_CACS_SE CACS00_S_TRANSFER_HR_P 216 Transfer Structure for FI Document Generation Item

Functionality
The program controls the formatting and posting of commission documentsin financial accounting.

Notes
Transferred tables are compared with the tables contained in the globalworking memory. If the table contents are different, the data in theglobal working memory is deleted and the transfer data is processedagain. The calling program can control with the help of TEST switch,whether the transferred data must, in any case, be processed.
A logical destination can be specified for each individual document inthe header data during function call.
All the postable documents are formatted in the BAPI tables. Theerroneous documents are marked in the transfer table (header table) infield WORK_FLAG with 'E'.
(Error-) messages are returned in a table. In addition, a processingstatus is also returned as to whether the documents were format
ted/posted correctly.
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 the history tablesfor possible reverse postings.