on 10-15-2015 3:39 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes you can. You have to quota type priority in the table V_556R_B.
Regards,
Sankarsan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.