Ansicht
Dokumentation

PAY_MX_TERM_031 - BAdI: Determine number of quota days to be settled

PAY_MX_TERM_031 - BAdI: Determine number of quota days to be settled

Addresses (Business Address Services)   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

In the standard system, the number of leave quota days to be settled due to work termination is determined using the business add-in Number of Leave Days to be Settled in the Event of Termination (HR_MX_TRM_VAC_DAYS).

You can implement this business add-in to change the way in which this calculation is carried out.

The default code of this business add-in calculates the number of leave quota days to be settled due to termination as follows:

If the employment relationship termination date is after the period end date, the remaining quota days are settled.

If the employment relationship termination date is prior to the period end date (that is, falls within the period), the proportional part of the days worked is settled with a factor calculated in the following way:

Termination date - period start date + 1
------------------------------------------------------------------------
Number of days in the year (TDIAN constant).

The remaining days in the period are compensated but not settled.

This business add-in should only be implemented if:

Standard SAP procedures to not meet your company's requirements.

You have extensive knowledge of ABAP programming.

The business add-in should only be used for the purposes set out above. Any other use is not guaranteed to produce correct results within the system.

If you do decide to implement this business add-in:

Do NOT change the default code.

The recommended procedure is to create an implementation, copy the default code to the implementation, and make the necessary changes only in the copy.

After implementing the business add-in and copying the default code, the changes to the copy are made in the section of code corresponding to the actual calculation itself.

To implement a business add-in follow the steps shown below:






General Data in Customer Master   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 2074 Date: 20240523 Time: 185856     sap01-206 ( 36 ms )