Skip to Content

Absence quota generation based on seniority in PT_QTA00 TCode

Hello All,

I have a requirement concerning absence quota generation based on seniority using tcode PT_QTA00.

Basically what we have to generate is:

- employee with 10 to 19 years of service - 1 day of leave entitlement per year

- employee with 20 to 999 years of service - 2 days of leave entitlement per year.

The problem is when you want to generate time quota for a employee whose 20th service anniversary is in the middle of the year. In this case the system calculates the leave entitlement only in the proportional of the given year.

Say that employee has a work anniversary in 20-08-2015 and considering it has entered on 20-08-1995. Instead of calculating 2 years the system is giving me 1,36... days. I have debugged the code and I can see that the system makes a lot of splits in each year and it only considers the part of the year where the conditions are met.

I have tried to change every customizing in cluster view VC_T559L (rounding rule, changing the target date to calculate seniority) but the system always gives me the same result and performs the steps in the very same way...

Can you give me some help concerning this issue?

Thanks in advance for your help and best Regards.

Joao Santos

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • avatar image
    Former Member
    Oct 30, 2015 at 05:44 AM

    Could you send a screenshot of the base entitlement & generation rules?

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 30, 2015 at 07:48 AM

    Hi Joao,

    please try maintain table  V_T559L as per pic below


    seniority.PNG (4.7 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • Oct 30, 2015 at 08:00 AM

    Hi,

    Please share your Base entitlement of quota type screenshot and generation rule details.

    Regards,

    Sankarsan

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 30, 2015 at 09:32 AM

    Hello,

    Here are the screenshots of the base entitlement:

    If you need more info please tell.

    Thanks for your help.

    Regards

    Joao


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Check accrual entitlement details if it is checked with radio button Prorata uncheck and check No prorata and then check.

      If it is not working with the above option as well then implement Exit to handle the above case.

      Regards

      Venkatesh

  • Oct 30, 2015 at 10:58 AM

    Hello,

    I followed your suggestions but the system keeps on behaving the same  way...

    Seems that the customizing I make has no effect on the results...

    Do you have any other suggestions?

    Thanks in advance for your help.

    Best regards

    João

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 30, 2015 at 02:19 PM

    Hello,

    Here it is the quota selection rule after altering it.

    n.b. I have 4 seq. numbers of base entitlement rules, but I just considered 2 in my example to simplify it.

    I am starting to think we need to implement an Exit for this process to work.

    Best regards

    Joao


    pastedImage_0.png (32.7 kB)
    pastedImage_1.png (25.1 kB)
    pastedImage_2.png (25.2 kB)
    Add comment
    10|10000 characters needed characters exceeded