cancel
Showing results for 
Search instead for 
Did you mean: 

Disable deletion for leave requests with status "APPROVED"

Former Member
0 Kudos

Hi Folks,

I need to implement a functionality where system restricts users from deleting any leave request with status as APPROVED.

Please don't get confused with those leaves which have status as POSTED as that functionality works fine and doesn't require any changes.

I believe, it requires some enhancements in one of the BADI's but unfortunately facing hard time to identify it. Can you please help me with the solution on how can I restrict users from deleting an APPROVED leave request?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182426
Active Contributor
0 Kudos

You can restrict the leave requests deletion option in configuration itself.

In configuration view table V_T554S_WEB, select the leave type and open the configuration attributes.

In System Response section select the option No Deletion of Leave Permitted

With this configuration settings employee can't delete the leave request.

If you want restrict deletion of leave requests based on status then implement the BADI PT_ABS_REQ