Ansicht
Dokumentation
CACSHR_TRANSFER_HR_PREPARE - HR: Preparing Commission Settlement
General Data in Customer Master Vendor Master (General Section)This documentation is copyright by SAP AG.
Functionality
Commission documents are sent to the function module for formatting for the accounting.
It is checked whether the accounting-relevant data of commission document can be posted in the accounting. If the data is ok, it is processed for the BAPI interface of accounting.
If no error occurs during data processing, the data is sent to the caller for further processing. During data processing, the (error) messages are returned in the ET_MESSAGE table.
Example
Notes
- No summarization takes place for document formatting, the document is posted as it was sent to the function module.
- Reference table IT_REF_AC_DOC is formatted for the following function module <APPL>_TRANSFER_FI_POST. The first and last segment is updated for a document in the reference table, so that all the segments in the distributed BAPI tables, contained in the document, can be determined during further processing.
- Erroneous documents are marked in the transfer table (header table) in field WORK_FLAG with 'E'. No ROLLBACK is carried out.
- If a document is erroneous, the processing status is returned with X.
- USER EXIT: BTE tool (Business Transaction Events) lets you prepare an individual function module (maintenance in Customizing).
Further information
Parameters
ET_MESSAGEET_REF_AC_DOC
E_FLG_ERROR
IT_CACS_HD
IT_CACS_SE
Exceptions
Function Group
CACSHR_STMT_TRANSFER_HRTXBHW - Original Tax Base Amount in Local Currency ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 1869 Date: 20240523 Time: 054736 sap01-206 ( 37 ms )