Skip to Content

Disable deletion for leave requests with status "APPROVED"

Sep 27, 2017 at 05:59 AM


avatar image

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Shankar Reddy Chamala Oct 03, 2017 at 05:57 AM

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

10 |10000 characters needed characters left characters exceeded