cancel
Showing results for 
Search instead for 
Did you mean: 

Leave Rules - Scenarios - Checks to be done during leave application

Former Member
0 Kudos
433

I have a requriement for my current project. Request you all Gurus to pls help me with the answers. These are the checks to be taken at the time of leave application by user. User will apply for these leaves in ESS Portal

1. PL cannot be combined with CL, If employee is combining and applying for CL which has PL before then at the time of leave application, system to throw error message and should not allow him to apply for it

2. If employee is applying for sick leave in between PL then while applying for SL, should throw error message and should not him to apply for it

3. Holidays / Weekly offs falling betn PL treated as PL

4. To chk for Saturday / sundays / holiday, if these holidays are falling between PL then PL to include / treat these holidays also

Leave taken during notice period, should throw error message and should not allow the user to apply

5. If falling on Friday / Monday or public holiday chk prefix or suffix leave application, either allowed if taking both error

IF leave taken on Friday then shld chk if Monday also employee applying for leave, if yes, then throw error and not allow him to apply, same case with Monday as well

Project wants to go for time evaluation. Wondering how can these checks be done when the user is applying for leave.

Please help

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

All these scenario can be done through User Exit.

Ask your Technical person they will help you.

rgds,

Lata

rajasekhar_reddy3
Active Contributor
0 Kudos

1. PL cannot be combined with CL, If employee is combining and applying for CL which has PL before then at the time of leave application, system to throw error message and should not allow him to apply for it

Ans:- For this you need to write a BADI/USER EXIT and Need to develop atable in se11 for Combination leaves this can be done by ABAPers

2. If employee is applying for sick leave in between PL then while applying for SL, should throw error message and should not him to apply for it

Ans:- For this you need to write a BADI/USER EXIT and Need to develop atable in se11 for Combination leaves this can be done by ABAPers

3. Holidays / Weekly offs falling betn PL treated as PL

Ans:-In this Table you can do this T556C or in Time Management -> Define Counting Rules

4. To chk for Saturday / sundays / holiday, if these holidays are falling between PL then PL to include / treat these holidays also

Leave taken during notice period, should throw error message and should not allow the user to apply

Can you Explain me in brief 4th Question

Warm Regards

Raja Sekhar

Former Member
0 Kudos

for few scenarios given above, some one told to use the user exit ZXPADU01 / ZXPADU02.

Is it true, do you think it will help

can you pls throw some light on these user exit pls

rajasekhar_reddy3
Active Contributor
0 Kudos

Hi

SAPFP50M This is the standard User Exit in this You can write as you said Zxpadu01 /zxpadu02.

If you want the Standard BADI HRPAD00INFTY in this also you can write the logic .

Both will serve your purpose.

Regards

Raja Sekhar.