on 09-15-2015 6:37 PM
hi Experts,
As the SAP standard function QUOTA does not take into consideration the date type whose date is before the hire date in SAP, I am writing a rule to realize the requirement.
The accrual is daily. Say, for first 5 years, the entitlement is 15 days/year. So for the eligible employees, when I do 15/365 for daily accrual it gives me 0.04000 days instead it should give me 0.04109 days.
Could you please help?
Rgds,
Arun
The actual accrual as well as entitlement has 5 decimals. This can be seen in PT50 txn, and in IT 2006.
However, when you get the current balance for an abs quota type using HRS=FRxxC for quota type xx in a time eval PCR, the hours are truncated to 2 decimals, since the TIP has only 2 decimals for the hours (ANZHL field).
Because of such truncation, calculations in payroll first multiply by 100,000 (constant GENAUin T511K), then after all calculations are completed, divide by the same constant to restore the decimals to normal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jagan,
Earlier I was unable to get the desired solution via the standard configuration and the QUOTA function was not generating the correct amount of leave accrual based on seniority. I thought of writing a rule for the same to achieve the daily accrual (say 15 days/365 or 366). But later realized that if I pass the right number of annual quota (say 15 days) to the day balance, the QUOTA function will automatically take care of the leap year.
The issue mentioned in this thread, is a child issue where I was not able to generate the 5 decimal daily accrual via the rules. Anyways I have created a rule as mentioned in the other thread and passed the yearly QUOTA to day balance. This resolved the issue.
Thank you.
Rgds,
Arun
Because of such go live issues, a date type is used to indicate hire date or start of service date. In V_T559L ->generation rules->accrual tab, use the date type.
The date type in IT 41 can be inserted during hiring personnel action, using dynamic actions. This is a very common config, if you have seen the posts in SCN.
For go-live, LSMW is used to populate IT 41 in bulk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.