on 2013 Sep 04 1:22 AM
Hi Friends,
I have a requirement for Sick leave based on biweekly Payroll period and Maximum of 80 hrs per year and total entitlement should not exceed 280 hours.
So, every payroll period when Time evaluation runs it should update of 3.333 hours and based on Pro-rate basis.
Now my question is, we gone live in 2013 and we have sick leave of 80 hrs which updates one time for every employee at the beginning of the year and whoever joins after that will calculate accordingly based on the hiring date it calculates the hours. There is no maximum entitlement limit.
This requirement starts from next year 2014 and if I change the sick leave in the base entitlement to 3.333 hours (Constant) and removing the day balances created earlier.
1. Do I need to create a new Quota type for Sick leave Or can I make changes in the existing quota type. Will it affect anywhere ?
2. What will happen to the employees who have more than 280 hours of sick leave.
3. Can I use Total entitlement field in " Define generation rules for quota type selection" or do I need to write a PCR to limit the total entitlement to Max 280 hours.
Please help.
Srikanth
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the function you are using for the PCR?Is it P2006?Can you please attach the screen shot of the rule and please let us know the function you are using.
But My understanding is that you are using the fuction P2006.And in the input table there might be two quotas 1.Vacation and 2.Sick.This rule will be executed two times creating quota two times each.So if this is the case,If you are using P2006,you can avvoid this by checking the quota type in the rule and generating quota for each quota type.
Please let me know.
Thanks
In the rule ZSMU,check the quota type before checking the last day of the pay period.In this way you can restrict this for a particular quota.
If you check the processing of the ZSMU rule,I think the rule is executed two times as there are two quotas in the input.
Try with checking the quota hope it helps.
Thanks
Hi Friends,
Is there any user exits to restrict the quota updation if employee has more than maximum of hours.
E.g: Employee has 520 hours and maximum is 280 hours as per client. Till it goes below 280 hours, sick quota should not get updated.
I tried going with PCR and it is not working fine.
Regards.
Srikanth
Hi Rajasekhar,
Thanks for your suggestion. But it is not working.
But when I updated and ran Time Evaluation, employee had 600 hours and it reduces to 283.33 hours.
Whereas what I wanted is, till the employee applies leave and his quota reduces to below 280 hours, then it should get updated. I have kept 3.333 hours as Constant.
E.g 1. Employee has 278 hours of sick leave. When Time evaluation runs, it should update of 2 hours (278 +2 = 280 hours).
2. Employee has 600 hours of sick leave. When time evaluation runs, it should not update quota, because it already has more than 280 hours.
Srikanth
Hi Venkat,
I tried that option and that will work if you are going live first time. But we already went live and employees have sick quota of 300,450,1200,2000 hours etc. And from 01.01.2014, for them if I run Time Evaluation sick quota of 3.333 hours should not get updated as their maximum limit of 280 hours is already exceeded. Only, if their quota goes below 280 hours, then it should get updated.
Quota should update only for employees who have sick quota below 280 hours and for them every payroll period, it should update of 3.333 hours.
Srikanth
Hey it's very clear logic right? after COMPARING, you have to check return value right?????
after HRS?280, you will have 3 return values as below:
=
>
<
If you use
HRS?280
=
* => * mean otherwise: > or <
It's quite easy
You should check these link below to understnaad how to create 1 simplest PCR
http://www.sd-solutions.com/SAP-Payroll-Time-Schemas.html
http://www.sd-solutions.com/SAP-Payroll-Schemas.html
http://help.sap.com/saphelp_470/helpdata/en/8a/98566c46c411d189470000e829fbbd/content.htm
=> understanding The Interanal Table TIP.
PCR:
Understanding HR Schema and PCR with an Example
Personnel Calculation Rule and Schema - An Understanding
Function:
Understanding HR Schema and PCR with an Example
Changing Absence Valuation Rule Dynamically
Or check the document: http://scn.sap.com/docs/DOC-32043 comparing with some constants.
Hi Srikanath,
I had a look at your original requirement and as a long discussion I could not understand which part is not working still.
About your ZSQR pcr. What you would do in this pcr? You are checking the remain part of quota 04 but it seems a bit strange why you are check HRS against 280.01?
Regards,
Omid
Hi Omid,
The one which is not working is if employee has more than 280 hours in the quota for sick. When Time evaluation runs, it should the quota of the employee and check whether he has more than 280 hours or less than.
If employee has more than 280 hours of sick leave quota in IT2006, it should not update with 3.333 hours. If employee has less than 280 hours then it should update the quota with 3.333.
Please let me know, how to proceed further.
Srikanth
Hi Srikanth,
Is 280 hours limit for whole EE life cycle in company or just for a year?
I would have a screen shot of IT2006 for an EE who is not eligible for more quota. You mean generated quota should not more than 280 or used quota?
Anyway, In both case, limit for a year for whole life cycle you can control with the same pcr. I mean HRS=FXXXX. We should consider a case in detail.
Regards,
Omid
User | Count |
---|---|
18 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
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.