cancel
Showing results for 
Search instead for 
Did you mean: 

Leave Quota Generation (Using RPTQTA00)

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (9)

Answers (9)

Sanky
Active Contributor
0 Kudos

Hi,

Your quota 11 is in the Calender year and in Selection Rule i have mentioned it as a monthly. Running RPTQTA00 monthly. I am correct?

If i am correct then your configuration is littlebit wrong. Kindly check.

See you want to generate quota on monthly basis then in the base entitlement you have to give the month value(11/12=....) and choose the Accrual Radio button.

Then in the Selection rule Accrual Period would be Monthly and you want to use the rounding rule then use the rounding rule in Accrual entitlement tab. For base on quota variation with the joining date's in the month then you will tick on Pro Rata Calculation in Accrual Entitlement Tab and tick on Take account to change of Work center / Basic Pay in Base entitlement tab.

Check and tell me.

Regards,

Sankarsan

venkateshorusu
Active Contributor
0 Kudos

Can you please change your accural period as daily and then check whether it is working or not.?

Regards

Venkatesh

Former Member
0 Kudos

Thanks.

I double checked. I already assigned the right rounding rule

harishtk1
Active Contributor
0 Kudos

Have you actually assigned a Rounding rule to the selection rule in Tab "Total Entitlement" of T559L?

Former Member
0 Kudos

Some typo

My rounding rule for reduction is as follow

RoRul Name No Lower limit Incl Upper Limit Incl Target Value Roll

Z1 Test 00001 0.00001 X 0.50000 X 0.5

Z1 Test 00002 0.50000 1.00000 X 1

Former Member
0 Kudos

thanks.

I tried to change the base entitlment to "0.91667" per accural period.

The result is the same.

Former Member
0 Kudos

have you maintained like this ?

0.00000 0.50000 = 0.50000

0.50000 1.00000 = 1.00000

sikindar_a
Active Contributor
0 Kudos

Than in the base entitlement u have to give 0.91667 Can you give this one and test

Former Member
0 Kudos

Thanks for your reply.

I double check and i have already select "Take Account of change of work center / basic pay"

Former Member
0 Kudos

Have you maintained "0,00000-0,50000"=0,50000 ?

Former Member
0 Kudos

Plz tick the button Take Accuont of change of work center / basic pay and test.