cancel
Showing results for 
Search instead for 
Did you mean: 

ESS Leave Application - Calling User Exit (or Badi)

Former Member
0 Kudos

Hi Friends,

Our client is using user exit PBAS0001 available for infotypes (2001 - Absence).

Now, we have implmented ESS Portal. So, is it possible to call the user exit code from Portal for the custom checks implemented in user exit. Or do we need to re write the code in Badi ? Is it through that ESS will not trigger teh code in PBAS001.

I found the following bad CL_PT_ARQ_REQ, can we use this and copy the checks from user exit.

Thanks in advance,

Anuroop

Accepted Solutions (0)

Answers (3)

Answers (3)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

search and you ll find lot of threads and you can get a actual implemention http://scn.sap.com/thread/3360997

former_member182426
Active Contributor
0 Kudos

you can create one custom  FM with PERNR, BEGDA, ENDDA, SUBTY as Exporting parameters and MESSAGES as Importing.

You can copy all your user exit validations and do modify the logic for using in different places.

This FM you can use in ESS leave Request BADI PT_ABS_REQ

i.e method IF_EX_PT_ABS_REQ~SIMULATE_VIA_BLOP in class CL_PT_ARQ_REQ

In future if you want add any validation then you can directly include in this FM which will effect in all places.

Former Member
0 Kudos

HI Anuroop,

Yeah you must make use of this CL_PT_ARQ_REQ BADI for the customer specific validations as User exit for the ECC and this BADI is for the ESS Leave Request customer specific validations.

And include your validations in the method - IF_EX_PT_ABS_REQ~SIMULATE_VIA_BLOP and also there are other methods which could be used based upon the requirement.

Regards,

Mithun K