cancel
Showing results for 
Search instead for 
Did you mean: 

RE: Substitution for a user

uppu_narayan
Active Participant
0 Kudos

Hi Expert,

I have one scenario where a user can do substitution for another user on his behalf i.e. if he is on leave and has forgot to do the substitution. Can this be achieved in sap workflow.

Any suggestion or help will be appreciated.

Regards,

Narayan

Accepted Solutions (1)

Accepted Solutions (1)

anjan_paul
Active Contributor
0 Kudos

Hi,

Use RMPS_SET_SUBSTITUTE trasaction to set substitute

uppu_narayan
Active Participant
0 Kudos

Hi Anjan,

Thanks for your reply, is there any FM through which we can achieve the same funcitonality?

I042439
Employee
Employee
0 Kudos

Hi Uppu

As answered by Anjan, RMPS_SET_SUBSTITUTE is the correct and recommended way.

If you still want to use the FMs, use:

SAP_WAPI_SUBSTITUTE_MAINTAIN

Other helpful ones are:

SAP_WAPI_SUBSTITUTES_GET

SAP_WAPI_SUBSTITUTE_ACTIVATE

SAP_WAPI_SUBSTITUTE_DEACTIVATE

SAP_WAPI_SUBSTITUTE_DELETE

SAP_WAPI_SUBSTITUTE_PROF_GET

SAP_WAPI_SUBSTITUTIONS_GET

SAP_WAPI_SUBSTITUTION_ADOPT

SAP_WAPI_SUBSTITUTION_END

Answers (3)

Answers (3)

Former Member
0 Kudos

Class CL_SWL_SUBSTITUTION  can be used to execute Substitution related functions  like Adopt substitution , End substitution Activate Personal Substitutes, Delete Personal Substitute etc .

This will be good choice to build a custom utility with all the options  .

As answered by Anjan, RMPS_SET_SUBSTITUTE  is a built in transaction and best to use .

Regards, Sarath

former_member186746
Active Contributor
0 Kudos

Hi,

In your scenario there is always SWIA to forward workitems.

And you should use the aforementioned report to maintain substitutes for someone else.

If the problem is persistent then your agent assignment does not reflect the business need. Instead of assigning single users assign a task to a position/organizational element/roles/other.

Kind regards, Rob Dielemans

Former Member
0 Kudos

Hi,

Please use FM SAP_WAPI_SUBSTITUTE_MAINTAIN

Regards,

Ibrahim