on 01-03-2014 12:44 PM
HI
My client has the following Rules:Cl & Sl to be generated from 1st day of joining of the employees.Hence SAP standard system will work.But in case of Privilege Leave(PL) employee is entitled for leave only after completing 11 months of service .but clients wants to run PT60 from date of joining for all leaves but PL is entitlement is only after he completes 11 months .For eg:an employee joins on 15.009.2013 PT60 has to run on 15.09.2013 for all 3 leaves(CL/SL/PL)he cannot take leave for PL (since he is yet to complete 11 months).So let us say after running PT60 for all the 3 leaves Infotype 2006 is udpated with say 2 Casual Leve/3 Sick Leave and 9 days of PL.The validity period is 15.09,.2013 to 31.12.2013 .Again PT60 is run for the new calendar year say 01.01.2014 to 31.12.2014 for all the 3 leaves ,here the CLIENT says Privilage Leave should not get generated for this employee since PT60 is run already from Date of Joining and he is entitled only for leave from say 15th of Aug 2013 where he is already credited with 9 days of Leave.
How to achieve this .Need your help in writing PCR.
Kindly help
Thanks
Hi Ramesh,
If the problem is how to understand the 11 months is completed the is an standard solution which I recommend.
You should define a date of monitor in IT0019 and use it as "Earliest accrual" in tab "Applicability" of section "Selection rules" of V_T559L.
Put the name of date earliest accrual and set the date 11 months after hiring date in IT0019. To calculate 11 months you can set a customizing to provide date automatically by system.
Regards,
Omid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramesh,
Initially you are generating the quota for 2013 for all 3 leave types with the validity /deduction interval from 15/09/2013 - 31/12/2013 . But in case of P.L you are not allowing the employee to avail before completion of 11 months which can be achieved through user exit PBAS0001.
I don't get one point here why you are allotting the quota from 15/09/2013 - 31/12/2013 what is the point anyways he cannot avail P.L in 2014 as the validity ends in 2013.
Best way is to credit the leave from the date of confirmation or date when he/she completes 11 months by maintaining the necessary settings in V_T559E as suggested by Mr. Upendra too.
Also maintain the the deduction interval in table V_T559D from the date when he/she completes 11 months. Hope this helps you to solve the issue.
If this is not your requirement please get back to us on clarifications.
Regards,
Mithun K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramesh,
give the PL quota entitlement with a day balance time type and store the employee joining date in IT0041. to pass the quota value to the time type you should write some logic here. you have to find that employee had finished his 11 months service in the organization or not for that, use HRS=Y operation in your rule. you can run the Time evaluation to that employee from the joining date onwards but the quota generation condition will be failed in your rules since he hasn't completed 11 months so number will not get passed to quota and quota will not create. quota will be create when employee completed his 11 months service.
so you should write the logic in the rule.
let me know if you need any further.
thanks,
Srikanth.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Thanks to all for your reply.Need your help in writing the LOGIC for this.Will somebody help me how to write this Logic which will be really helpful.As suggested how to make use of the User exit PBAS0001.What needs to be done from my side to activate this user exit since i am doing this for the first time.
Request your advice and help
Thanks
Hi Upendra,
Yes we can do it in either ways. first we need to create 2 rules for base entitlements in table t559E with making entries in seniority 0-11 months entitlement is 0 and 11-999 entitlement is X, and we have to select in the table T559L as seniority calculate from date type.
Thanks,
Srikanth.
Hi Ramesh,
as I have suggested in my above reply please maintain 2 rules for base entitlements and in generation rules select for calculation of seniority select from date type.
since you are generating the quota through Time Evaluation, its just a logic than making configuration in tables. so you can do it any one of either ways.
Thanks,
Srikanth.
User | Count |
---|---|
91 | |
11 | |
10 | |
6 | |
5 | |
5 | |
5 | |
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.