Fonction SAP CACSHR_TRANSFER_HR_PREPARE - HR: Preparing Commission Settlement

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
ET_REF_AC_DOC CACS_S_TRANSF_REF 72 X Help Structure for Data Transfer to FI (Reference)
IT_CACS_HD CACS00_S_TRANSFER_HR_H 80 Include Transfer Structure For HR Wage Generation Header
IT_CACS_SE CACS00_S_TRANSFER_HR_P 216 Transfer Structure For HR Document Generation Item

Functionality
Commission documents are sent to the function module for formatting forthe accounting.
It is checked whether the accounting-relevant data of commissiondocument can be posted in the accounting. If the data is ok, it isprocessed for the BAPI interface of accounting.
If no error occurs during data processing, the data is sent to thecaller for further processing. During data processing, the (error)messages are returned in the ET_MESSAGE table.

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 referencetable, 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 inCustomizing).