Ansicht
Dokumentation

HR_PAYAR_CEDT_BADI - BAdI: Employee receipt

HR_PAYAR_CEDT_BADI - BAdI: Employee receipt

General Data in Customer Master   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

This business add-in (BAdI) is used in component Payroll: Argentina (PY-AR).

The BAdI is read by the following reports:

  • Remuneration statement (HARCEDT0)
  • Legal Payroll Payments Book: Act 20.744 Section 52 (HARLIBR0)

You can use this BAdI to change the report result table and delete those records with a value equal to zero.

Take into account the following scenario:

  • For an employee with a medical leave, when you run report Remuneration statement (HARCEDT0) and a payroll split is generated in the result table, the report prints the wage type even if the amount is zero.
  • To change this behavior, do the following:
  • Implement this BAdI to change the report result table and delete those records with a value equal to zero.

  • When you run report HARCEDT0, in field Sort retroactive accounting, select Z - Customer classification.

The system will only take into account this BAdI if, when running reports HARCEDT0 and HARLIBR0, in field Sort retroactive accounting, you choose Z - Customer classification.

For more information on the standard settings (filters, single and multiple uses), see the tag Enhancement spot element definitions in BAdI Builder(transaction SE18).

Implement this BAdI using interface CL_HRPAYCO_PILA_BADI with the following method:

  • CHANGE_PAYSLIP: this method allows you to change the data at the record level of the remuneration statement result table.

The following parameters are available:

  • CS_PERNR:Employee number
  • CS_RT2:Result of the RT_2 table
  • CS_EVP: Processing period structure
  • CS_RT:Result of the RT table
  • CS_XRT:Payroll table result - all the data of this parameter will be print in the remuneration statement





CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2685 Date: 20240523 Time: 204157     sap01-206 ( 26 ms )