Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Leave Quota Generation (Using RPTQTA00)

Hi Expert,

I faced a strange situation using RPTQTA00 to generate Annual Leave qutoa

For example,

A base entitlement of 11 per calendar days

In selection rule, i define a person using that base entitlement with Accrual Period as "Month"

In Accrual Entitle. i select "Pro rata calculation" in "Calculated pro rata accordingly to accrual period"

Also, i define Reduction rule using "03 Reduce by inactive" with rounding rate "0.0000-0.5" = 0.5; "0.50001 to 1" = 1

I create a person with Hire date as 19/1/2011. I then using RPTQTA00 to generate quota for the person on "19/1/2011 to 31/1/2011".

I expect sap would return value 0.5 which calculated as follow

Monthly entitlement = 11/12 = 0.91667

Entitlement starting from 19/1 to 31/1 should be 0.91667 * 13/31 = 0.38441.

Based on rounding rule, it should give me 0.5 annual leave quota.

However, I found that SAP return 1. Actually, i tried to debug the program and found that sap return value 0.91667. It seems to me that sap did not take in the account of hire date.

Not what you were looking for? View more on this topic or Ask a question