Ansicht
Dokumentation
CACSCD_TRANSFER_ISCD_PREPARE - FS-CD: Preparing Commission Settlement
ABAP Short Reference ABAP Short ReferenceThis documentation is copyright by SAP AG.
Functionality
For formatting, the commission documents are transferred to the function module for accounting.
It is checked, whether the accounting-relevant data of the commission document can be posted in accounting. In case the data is ok, it is formatted for the BAPI interface of accounting.
In case no errors occur during data processing, the data is transferred to the caller for further processing. (Error) messages are reported in the ET_MESSAGE table during data processing.
Example
Notes
- No summarization takes place for document formatting, the document is posted, the way it was sent to the function module.
- The reference table IT_REF_AC_DOC is formatted for the following function module <APPL>_TRANSFER_FI_POST. In the reference table, first and last segments are updated for a document, so that all the segments in the distributed BAPI tables, contained in the document, can be determined during further processing.
- Unsuccessful documents are indicated in the transfer table (header table) in the field WORK_FLAG with 'E'. No ROLLBACK is carried out.
- In case a document is unsuccessful, the processing status is returned with X.
- USER EXIT: BTE tool (Business Transaction Events) gives you the option to prepare an individual function module (maintenance in Customizing).
Further information
Parameters
ET_MESSAGEE_FLG_ERROR
IT_CACS_HD
IT_CACS_SE
I_TEST
Exceptions
Function Group
CACSCD_STMT_TRANSFER_ISCDrdisp/max_wprun_time - Maximum work process run time General Data in Customer Master
This documentation is copyright by SAP AG.
Length: 1928 Date: 20240523 Time: 075805 sap01-206 ( 34 ms )