Skip to Content
avatar image
Former Member

Disable deletion for leave requests with status "APPROVED"

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    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

    Add comment
    10|10000 characters needed characters exceeded