I have a requirement concerning absence quota generation based on seniority using tcode PT_QTA00.
Basically what we have to generate is:
- employee with 10 to 19 years of service - 1 day of leave entitlement per year
- employee with 20 to 999 years of service - 2 days of leave entitlement per year.
The problem is when you want to generate time quota for a employee whose 20th service anniversary is in the middle of the year. In this case the system calculates the leave entitlement only in the proportional of the given year.
Say that employee has a work anniversary in 20-08-2015 and considering it has entered on 20-08-1995. Instead of calculating 2 years the system is giving me 1,36... days. I have debugged the code and I can see that the system makes a lot of splits in each year and it only considers the part of the year where the conditions are met.
I have tried to change every customizing in cluster view VC_T559L (rounding rule, changing the target date to calculate seniority) but the system always gives me the same result and performs the steps in the very same way...
Can you give me some help concerning this issue?
Thanks in advance for your help and best Regards.