on 05-10-2013 7:35 AM
hi all,
I have a requirement of a leave which get deducted from another absence quota. EE can take upto 2 consequent days and maximum of 3 times in a year.
as said, this leave has to be deducted from another absence quota.
Looking for solution.
Thanks.
For Deduction of Absence from another Quota you can check the functionality of Deduction priorities in Deduction rule of absence Quota V_556R_B. The other requirement if you have positive time you can achieve via PCR else for an year employee can take 6 days ie 2 days at a time for 3 times in case of negative u have to go with Enhance ment lets Wait for other time experts suggestions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can anyone reply to this requirement pls..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The restriction of 3 times a year can be met through user exit PBAS0001 (include ZXPADU02) if in R3 and BADi PT_ABS_REQ in ESS as suggested by Rajasekhar.
The logic for the ABAP consultant would be Read the Leave subtype in the current year and if the count is 3 give an error.
Hope this helps.
Raghu
Hi,
Thank you all.
Everything works fine, except the maximum 3 times per year, can we have any PCRs to control this...
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I will try and let you all know.. thank you for the responses.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
First 2 leave per occasion this can be restricted through config V_T554S through Min and Maximum 001 to 002 days.
Leave has to deduct from another quotas as said by sikindar you can do it.
Below BADI will restrict employee not take leave more than 3 times a year.
If you are using ESS/MSS use badi :- PT_ABS_REQ
For R/3 you can use BADI HRPAD00INFTY
Regards,
Raja Sekhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The deduction prirorites can be setup as Sikindar suggested. For the 2x3 requirement, it would be better if you built a custom table with PSG, ESG, Leave Type, Min, Max etc. An user exit on 2001 can read this table and make appropriate decison. If you are using ESS/MSS then same code needs to be used in the BADI PT_ABS_REQ.
Pramod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
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.