on 06-29-2015 9:47 AM
Hi Sap Guru's,
Can please suggest me the best practice to achieve this requirement.
1. There is Birthday leave for all employees but for new employee it has to be generated on hiring date.
2. For old employees it has generated on Jan 1st every year.
3. Validity & Deductions would be calendar year to c.year .
4. Employee eligibility to take a leave from Date of birth to 3 months only.After 3 months it will laps.
5. But problem is employee hiring on December & birthday also in Dec it is showing 2 days in next year
Regards
Venkat
Hi Venkat,
Is it necesurry to create a quota as business requirement? Because you can achieve without without quota.
Without quota : you simply create a leave type (maximum 1 day) and write validations in BADI and infotype user exit ZXPADU02 .
Validation :
1. employee can not take leave after 3 months of birth date (birthdate is GBDAT in PA0002).
2. Check if there is a leave exist in last 3 months, if exist --> throw an error.
This is simplest way.
Regards
Aj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Mr.Ajay.
My Client is asking Birthday Quota in 2006 info type.
I will write a pcr , For new employees will generate the quota on Hiring date.
For old employee will generate on Next year Jan 1st.
Validity would be March 31st.
I wil take a help from Abap to do 3 months validation from Date of birth day.
Regards
Venkat
Hi Venkat,
Yes that will do for quota also.
Do one thing. Validity and deduction should be end of year. So if employee will hire in december,
he will get one quota as
Validity From Validity to deduction frm deduction to --- Value
01.12.2015 31.12.2015 01.12.2015 31.12.2015 ----- 01
In january he will get one more quota like
Validity From Validity to deduction frm deduction to --- Value
01.01.2016 31.12.2016 01.01.2016 31.12.2016 ----- 01
in this every year only one leave can be used.
Now put validation for 3 month case. Employee can not take leave after 3 months of birth date (birthdate is GBDAT in PA0002).
Regards
Aj
User | Count |
---|---|
110 | |
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.