Ansicht
Dokumentation

HRPAYRU_B_PAYFACTX - BAdI: Payment Fact Definition for Reporting

HRPAYRU_B_PAYFACTX - BAdI: Payment Fact Definition for Reporting

ABAP Short Reference   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

The Business Add-Ins (BAdI) HRPAYRU_B_PAYFACTX is part of the HRPAYRU_PAYFACTX enhancement spot; it enables you to change the algorithm of the definition of payment dates for payroll runs that are displayed in Income Tax reporting.

The BAdI implementation should return the following dates for at least each payroll run:

  • Date on which employee received income.
  • Date when income tax was deducted from employee's income.
  • Due date for transfer of deducted income tax to branch of Federal Tax Service of Russian Federation.

As input parameters, the BAdI receives all payroll tables for each wage type that are processed by Income Tax reporting. Refer to the BAdI definition for the exact list of available payroll tables.

You can use several implementations for different date definition algorithms. Refer to the Filter subtree in the definition of BAdI HRPAYRU_B_PAYFACTX for a list of available parameters that you can use to execute different implementations of this BAdI.

Note: If several implementations of this BAdI are executed as a result of filter condition resolution, the order in which they are executed is, generally, undefined.

To avoid unwanted side effects, SAP strongly recommends to carefully review filter conditions to avoid multiple instances of the BAdI being executed. You can use transaction SE18 (Business Add-Ins: Definitions) to test filter conditions if necessary.

The standard system delivers four standard implementations for this BAdI:

  • HRPAYRU_PAYFACTX_BASIC - Determines the payment dates by rules defined for the regular payroll run. This is the default implementation for this BAdI and it is executed when no other implementation is selected via evaluation of the filter conditions.
  • HRPAYRU_PAYFACTX_VACATION - Determines the payment dates for off-cycle vacation payments.
  • HRPAYRU_PAYFACTX_BONUS - Determines the payment dates for off-cycle bonus payment with immediate tax transfer.
  • HRPAYRU_PAYFACTX_LEAVING - Determines the payment dates for off-cycle payments when leaving the company.

The exact assignment of each individual implementation of the BAdI to each off-cycle category is determined via filter conditions. The individual BAdI implementation contains the filter condition assigned to the individual off-cycle category defined in the Payroll driver.

You can set different methods of definition for the payment dates for different off-cycle and regular payroll types using the filter conditions provided.






TXBHW - Original Tax Base Amount in Local Currency   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 3417 Date: 20240523 Time: 184935     sap01-206 ( 56 ms )