Skip to Content
author's profile photo Former Member
Former Member

How to generate Absence quota for Privilege leave -customised

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 04, 2014 at 04:52 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 04, 2014 at 07:07 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 03, 2014 at 01:18 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.