cancel
Showing results for 
Search instead for 
Did you mean: 

Absence Quota generation if employee joins mid of the any month PCR Issue

rajasekhar_reddy3
Active Contributor
0 Kudos

dear gurus

i have wrote pcr rule to generate absences quota

varstreday

**

01 hrs=czquta hrs/12 adddb901d

here zquta is 30 from t511k table

901d is the time type to add the quota balances

if employee joins first of any month it is generating properly

but if employee joins mid of any month it is not generating any quota.

this is bcoz i have used operation varstreday

but iam noting getting any idea how to solve this issue .

please let me know is there anyway to solve this issue.

regards,

raja sekhar.

Edited by: Sikindar on Jan 2, 2012 1:01 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Better use SAP Standard (Using Genaration rule) in case Pro-rata is there in Quota base entitlement. Without Pro-rata we can use PCR. Even through PCR it won't succeeded all the major scenarios in test cases. some where you will struck. In case at the end of the year/month Quota generating only succeeded through PCR.

rajasekhar_reddy3
Active Contributor
0 Kudos

Hi ,

Standard Setting will not serve my purpose , bocz for the same Absence Quota from Time Evaluation i have different leave carry forward rules and leave encashment policy for this reason i have choosen PCR.

Every year i should not transfer not more than 30 days , on transfered Leave quota i should do leave encahsment by checking whether the transfer is is greater or less than 15 based on this i need to do leave encashment.

I have wrote carry forward and leave encashment those are working fine .

Only the probelm is if he joins mid of any month.

As i explained .

Regards,

Raja Sekhar.

Former Member
0 Kudos

Hi Rajesh,

In ur PCR,

varstreday

**

01 hrs=czquta  hrs/12 adddb901d

what is this 01, if it is 1st day then remove it & write under double stars

Former Member
0 Kudos

Hello;

Instead of using Varstreday, you can create time type ZQUT like Generated Quota. This time type should be carried over daily but not carried over to next month

Instead of VARSTREDAY you shall use the pcr like...

HRS=DZQUT HRS?1

  • HRS=CZQUTA HRS/12 ADDDB901D hrs=1 adddbZQUT

=

Regards;

Okan