cancel
Showing results for 
Search instead for 
Did you mean: 

Validations to Leave Request

Former Member
0 Kudos

Hi Gurus,

We are using ESS in ERP2005.

I have a clarifications, that where to add the validations for the leave request

eg: to check the employee has enough leaves, and incase of any cusomer specific conditons has to be checked against leave where it has to be done.

is that using rules?

Kindly clarify?

Sera

Accepted Solutions (1)

Accepted Solutions (1)

MarkusKlein
Active Contributor
0 Kudos

Hello Sera,

Out of the box, you basically just have the option to use the two BAdIs PT_ABS_REQ and PT_GEN_REQ to add any kind of custom code. You should check them out.

Another way could bo to enhance, not modify, the standard code. Once you press the check button in your leave request ess application the Function module PT_ARQ_REQUEST_CHECK gets triggered. At the end of this function module you could add your custom coding and once an error should occur, you can add a mesage to the output parameter "messages". To read more about the enhancement framework just search on the SDN.

I hope this gives you an idea, what is possible.

regards,

Markus

Former Member
0 Kudos

Hi Markus,

That was a very helpful answer.

Thanks

Sera

Answers (0)