We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-hr] Quota accrual at the beginning of the year

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by JG-SAPHR (Senior SAP HR Consultant)
on Sep 5 at 8:27 AM
Mark this reply as helpfulMark as helpful
Hi David,

I suggest steps below in IMG
a)Define a time type in V_T552A say 9ARL with daily bal only.
b)In V_T559L:
(i)Base entl view: for the quota type, select the time type 9ARL.
(ii)In Selection rules
- accrual tab - select daily.
- transfer time - on accrual.
c)Define a date type - say ZR - start date for leave accrual - this would be the joining dt for the empl.
d)In Dynamic actions - for say IT 1 or wherever you may be creating IT 41, if the P0000-MASSN is hiring action, include the date type ZR to be inserted for the empl, using the P0000-BEGDA as date value

Schema/rule changes:
1)In a PCR called with ACTIO before QUOTA func step,
set 9ARL to zero.
HRS=0
ADDDB9ARLZ the Z sets t/t to the value irresp[rective of prev.contents
2)In next rule with ACTIO
-If the current day is start of year,
then check the ZR date (using mm value only) against the current month.
-If
-based on the above rules you have, add no.of days to the time type 9ARL.
(for example,
HRS=30 -start in the first month; 30d accrual.
ADDDB9ARLZ )

This should replace whatever config you have.

For the employees existing you need to run a LSMW to set up the date type ZR to the required value based on the person's joining date.

Hope this helps.
Regards, JG


---------------Original Message---------------
From: davidgeorge
Sent: Saturday, September 04, 2010 11:30 PM
Subject: Quota accrual at the beginning of the year

> Hi,
>
> I am very poor in scripting time PCR and I want to learn to script time
> PCR. Can anyone help me to write a pcr for this scenario.
>
> 1. The quota should get accrured at the beginning of the year.
> 2. Base Entitlement is a) 0 - 1 Month = 2 days
> b) 1 - 2 Months = 4 days
> c) 2 - 3 Months = 6 days
> d) 3 - 4 Months = 8 days
> e) 4 - 5 Months = 10 days
> f) 5 - 6 Months = 12 days
> g) 6 - 7 Months = 15 days
> h) 7 - 8 Months = 18 days
> i) 8 - 9 Months = 21 days
> j) 9 - 10 Months = 24 days
> k) 10-11 Months = 27 days
> l) 11-099 Months = 30 days
>
> 3. If an employee joins in the middle of the month he/she is not eligible
> for any quota during that month. Eg. If a person joins on 1st Jan he is
> eligible for 30 days and if a person joins on 2nd jan he is eligible for 27
> days.
>
> I tried to configure the same in standard using the seniority principle. It
> works fine, but when we run time evaluation for weekly employees who has OT,
> then the existing quota available gets overwritten and the value becomes
> zero. Hence a time PCR would certainly fulfill this requirment. Kindly
> help me in this regard.
>
> Thanks,
>
> David

__.____._
Copyright © 2010 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
JG-SAPHR
SAP HR Helper

Posted helpful replies on 50 threads in a group to earn a Silver Achievement
In the Spotlight
Toolbox.com for iPhone: Ask Questions & Get Answers Anywhere. Use the New iPhone App
_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language