cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Leave Request Enhancement Point or BAdis

Former Member
0 Kudos

      Dear Experts,

We have a requirement to set a validation before an employee tries to delete his Leave requests.

When I set external breakpoint on  cl_exithandler=>GET_INSTANCE, and delete the leave request, the system does'nt stop and the request gets deleted.

It does'nt show me any enhanement options.

Where exactly we can set validations for deletion process ?

I know this is a Java based application, Are there any standard function modules that we can use to enhance the functionality before the leave request is deleted.

-Regards,

Anwar.

Accepted Solutions (1)

Accepted Solutions (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

PT_GEN_REQ and PT_ABS_REQ are two badis

deletion happns in this fm, probably you can add a valisaiton for this

Object          REPS LPT_ARQ_REQUEST_UIAF07
Object Header   FUGR PT_ARQ_REQUEST_UIA

FORM PREPARE_DELETE

and Se37 PT_ARQ_REQUEST_EXECUTE

Former Member
0 Kudos

Thanks Mr.Siddharth,

I was able to locate the implicit enhancement point in the subroutine  FORM PREPARE_DELETE.

Regards,

Anwar.

Answers (1)

Answers (1)

former_member463524
Contributor
0 Kudos

Hi Anwar,

Kindly check the below badi for leave request,

PT_BLP_RET_MESS

PT_GEN_REQ

Hope this is helpful for you.

Regards,

Meera