Skip to Content
avatar image
Former Member

Absence Quota Deduction

Hi,

I have a situation where I need one absence type to deduct from two absence quotas. I have assigned my deduction rule to my counting rule and assigned that counting rule to my absence. I have then in table V_556R_B assigned both quotas to my deduction rule however I can only get them to deduct in sequence ie. the absence deducts from quota 1 until there is no entitlement left, it then starts to deduct from quota 2.

Is there any way that I configure in such a way that the absence will deduct from both quotas at the same time?

Thanks


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Oct 15, 2015 at 02:46 PM

    Hi Richard,

    have to deduction rule one is for one absence quota and another is for another absence quota.

    Why don't you create two counting rule with similar number and assign each deduction rule to it and assingn that to Absence type and let me know?

    Thanks

    Sriram

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Richard,

      System would allow two counting rule with same number, but in the number field you have to add 001 and 002 as i stated in the above screenshot..  as you can see same grouping i have used 010 is the counting rule 001 and 002 i have used it.. to 001 assign absence quota to 002 assign another quota.

      still counting rule will be 010 only.. just try.. but still system is not allowing.. you have to go for user exit only brother

      Thanks

      Sriram

  • Oct 15, 2015 at 02:55 PM

    Hi,

    Yes you can. You have to quota type priority in the table V_556R_B.

    Regards,

    Sankarsan

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 15, 2015 at 04:37 PM

    I've searched for such a solution in the past and couldn't find one to have 2 quotas deducted simultaneously upon the creation of the Absence.

    The initial solution was to create a "Counter" Time Type and create a PCR that would check if the employee had reached the value of a Constant, but that was not satisfactory since some of our employees change their Affectation % during the year and an error would be generated during Time Evaluation when the employee had used all the "allowance" but was now reaffected with a lower FTE %.

    The most recent solution was to create a PCR in the Time Evaluation Schema that reduces the Entitlement of the "Secondary Quota" for each day (or partial day) of the specific Absence, and an other PCR that gives an error if the Secondary Quota becomes less than zero. The advantage of this solution is that the entitlement can be adjusted (through IT2013) when the employee is reaffected with a different FTE %.

    P.S. : Note that the drawback to both these solutions is that the error never happens during the entry of the Absence but during Time Evaluation.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 16, 2015 at 12:16 AM

    Check if the IT 2001 processing module has exits, badi's,or  bapi's for using in such requirements

    (e.g. BAPI_PTMGREXTATTABS_CHECKQUOTA Simulates Quota Deduction)

    However as Rémi said, the standard config allowable is to process an absence is to go through for the first abs quota type (as per the sequence configured): the earliest IT 2006 record that has a deduction period allowed for the abs period, then deduct as much as possible; then it goes to the next IT 2006.  This continues for each abs quota type in sequence till the absence hrs are satisfied. 

    For future dated absences, it also projects quota entitlement till before the start of leave.  In this case it creates a IT 2013 record for each IT 2006 gen date, with a negative adjustment for the employee;  this will adjust the entitlement when the accrual/entitlement is generated.  This can be seen in PT50 accrual screen.  This type of IT 2013 should not be deleted.

    .

    See link below for list of useful bapi's

    SAP BAPI COMPLETE LIST | SAP BAPI Master

    Add comment
    10|10000 characters needed characters exceeded