CL_DEF_IM_HR_MX_TRM_VAC_DAYS - Implementation by default for definiation BAdI HR_MX_TRM_VA
BAL_S_LOG - Application Log: Log header data ABAP Short ReferenceThis documentation is copyright by SAP AG.
In the standard system, the leave quota days to be settled due to work termination are calculated via the business add-in Number of leave days to be settled upon termination (HR_MX_TRM_VAC_DAYS).
You can implement this business add-in to change the way in which this calculation is made.
The default code of this business add-in calculates the leave quota days to be settled upon termination in the following way:
- If the work termination date is after the period end date, the remaining days of the quota are taken and settled.
- If the work termination date is prior to the period end date (i.e. 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.
We recommend you implement this business add-in only if:
- The standard SAP procedure does not meet your company's needs.
- You have sound knowledge of programming with ABAP.
- You only use this business add-in for the purposes mentioned above. Any other use does not guarantee correct system results.
If you have decided to implement this business add-in:
- DO NOT change the default code.
- The recommended procedure is to create an implementation, copy the default code in this implementation and then only make the necessary changes in the copy.
After implementing the business add-in and copying the default code, changes to this copy are made in the section of the code corresponding to the calculation itself.
For further information on implementing add-ins, see the extended help for the transaction.
ROGBILLS - Synchronize billing plans rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 2114 Date: 20120526 Time: 134011 triton ( 104 ms )






