Skip to Content

Usually substitution must be done by user from his/her SAP Inbox.

This document can be used to modify the user’s substitution on behalf of user directly using FMs.

NOTE: 

Please do this activity with prior approval from user and test this in your sandbox system before do it in production

If substitution needs to be deleted, execute FM SAP_WAPI_SUBSTITUTE_DELETE

 

1. Fill below details

 

     Import parameter Structure

 

          SUBSTITUTED_OBJECT – Obj type US and OBJID – SAPUSERID

    Table parameter

           SUBSTITUTES Obj type US and OBJID – SAPSUBUSERID(Substitue user ID to be deleted)

2. Execute

3. Check HRUS_D2 table, substitute will be deleted

If substitution needs to be assigned, execute FM SAP_WAPI_SUBSTITUTE_MAINTAIN

 

1.  Fill below details

       

        Import parameter Structure

            SUBSTITUTED_OBJECT – Obj type US and OBJID – SAPUSERID

        Import parameter Structure

            SUBSTITUTE – Obj type US and OBJID – SAPSUBUSERID(Substitue user ID to be deleted)

       Give Begin and END date

       SUBST_ACTIVE = ‘X’

2. Execute

3. Check HRUS_D2 table, substitute will be maintained

Like above FMs we can use below related to substitute

SAP_WAPI_SUBSTITUTES_GET

SAP_WAPI_SUBSTITUTE_DEACTIVATE

SAP_WAPI_SUBSTITUTE_DELETE

SAP_WAPI_SUBSTITUTION_ADOPT

SAP_WAPI_SUBSTITUTION_END

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply