Symptom
When an employee is on a leave of absence during the middle of any given month (not the full duration on the month / overlapping into the next month), their accruals are not recalculated.
Environment
Time off, Leave of Absence
Reproducing the Issue
1. Request a LOA for a duration in the middle of the month - example the 10th - 20th November.
2. When the start and expected return date is populated when requesting the LOA, their accruals are recalculated as per their accrual rule
3. Now when editing the LOA record and populating the actual return date (with the same date as the expected return date / or any other date), the employee's recalculation posting is removed and it is only the original accrual posting remaining. The balance is not recalculated.
Cause
This is caused by the accrual rule configuration, as the system is not calculating when the employee is not eligible.
The employee's eligibility status will only change when the actual return date is maintained, not when the expected return date is filled.
In this case the system expected that the user was on leave from the 12th to the end of the month, as no actual return date was populated, so a recalculation was posted.
But when the Actual end date was populated with a date other than the last day on that month, the system does not recalculate.
This is because in the accrual rule the function "Get number of calendar days" is being used, so the recalculation of that employee will then be eligible for accruals from the accruable start date to the accruable end date of the accrual period, this function is not considering eligible days of that employee.
Resolution
To allow an employee to be eligible for the correct amount days during a mid month LOA request, you must use the rule function Get Number of Eligible Days ().
This function calculates the number of eligible days for getting accruals. It is used for fields that show data in numeric form.
This function would be used to allow the employee to gain their number of eligible days within that accruable period.
To learn more about other rule functions within time off rules, Please see the Employee Central Time Off: Rules and Concepts Handbook: https://help.sap.com/doc/708d6bc86ad641e8a1894f9bef05f542/1708/en-US/SF_EC_TOF_RulesConcepts.pdf
See Also
Keywords
Time Off, Eligible days, Leave of Absence, Actual Return date. Get Number of Eligible Days, Incorrect accrual, expected return date , KBA , LOD-SF-EC-TIM , Time Off , Problem