cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict user to create leave record before probation period based on IT0019/0016

Former Member
0 Kudos

Hi,

Where can I setup to restrict HR user to create leave record (IT2001) before probation period end for certain leave types based on IT0019 or IT0016 entry.

I am trying to do some setup under V_T559D (No deduction before = 01 - Expiry of Probation) but it is not working. User still can create Leave record (in IT2001)  during probation period.

I know I can do it in BADI/User exit. Did anybody know without BADI implementation is it can be done?

Thanks,

Kumar.

Accepted Solutions (1)

Accepted Solutions (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

in ESS, leave request of course this can be easily implemented using BADI calling the user exit

Typically it will read pernrs IT0019 or 16 and check the date before allowing him to apply

check

897623 User Exits in PT

badi PT_GEN_REQ, you can call user exit for the validation

Former Member
0 Kudos

Thanks.

I know with BADI we can do it. I am just checking without BADI/User Exit can be done usign SPRO settings.

Thanks.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

The SAP Standard works very fine this scenario, I need few details from you.

Which method that you are using for Quota Generation  RPTQTA / Time Evaluation ?

After generation of Quota, In infotype-2006 are you able to see the deduction from as below:

(That is related to the infotype-19 date) ?

If every this (Config) goes fine you will see below output, when an employee but an absence in Probation period.

Hope this might help you, all the best.

With warm regards,

Srikanth Naidu. Akula

Former Member
0 Kudos

Hi Srikanth,

I hope that error message from your screen is customised, anyhow I am planing to go with BADI.

Thanks.

Former Member
0 Kudos

Yes look at my previous reply.

You can create a user exit to check that the validity dates in 2006 are not before the end of the probation period but if you use a good procedure the people from HR have to input the data correct

Former Member
0 Kudos

Hi Andy,

You  mean to say, there is no other option (no settings in SPRO) only user exit/BADI.

Thanks. Kumar.

Former Member
0 Kudos

If you want a check yes. If your HR department enters the data correctly you don't need a check 🙂