cancel
Showing results for 
Search instead for 
Did you mean: 

maintain substitute

Former Member
0 Kudos

Hi,

i am working in support,i should maintain the substitute for person A to person B.

person A & B are the users.

as per the substitution : we supposed to go to SBWP.

as a workflow administrator , i should go to whose SBWP to maintain the substitute.

if i logon to my id my name will appear.so i can't maintain the substitute on my name.i supposed to maintain on user A name to B

as my knowledge, i supposed to logon to User's user id and maintain the substitute.

please help me out bu sending the process.

Regards,

Mudhi.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

you can perform all funtion available in SBWP for substition using the below FMs

SAP_WAPI_SUBSTITUTES_GET : to get the substitue for a perticular person

SAP_WAPI_SUBSTITUTE_ACTIVATE: activate the substitution for that person

SAP_WAPI_SUBSTITUTE_DEACTIVATE : deactivate the substitution for that person

SAP_WAPI_SUBSTITUTE_DELETE: Delete the substitution for any person

SAP_WAPI_SUBSTITUTE_MAINTAIN : maintain the substitution for any person

SAP_WAPI_SUBSTITUTE_PROF_GET Delete the substitution for that person

SAP_WAPI_SUBSTITUTIONS_GET

SAP_WAPI_SUBSTITUTION_ADOPT : if the subtitute is pasivie then to abopt it

SAP_WAPI_SUBSTITUTION_END : End the substitution for that person

Regards

Kakoli

former_member554978
Active Contributor
0 Kudos

Hi,

Please execute the below FM to create substitution on behalf of another user

RH_SUBSTITUTION_MAINTAIN

Import parameters Value

ACT_PLVAR 01

ACT_OTYPE US

ACT_OBJID SAP user ID of original

ACT_ISTAT 1

ACT_BEGDA 07.09.2009 (Begin date of Substitute)

ACT_ENDDA 31.12.9999(End date of Substitute)

ACT_SCLAS US

ACT_SOBID SAP user ID of substitute

ACT_RSIGN

ACT_RELAT

ACT_REPPR

ACT_ACTIVE

AUTHORITY_CHECK X

MAINTAINANCE_FLAG X

INSERT_MODE

NO_POPUP

AFter executing the above FM, you will get a popup, just click the save button.

Then check the same in table HRUS_D2

Thanks and Regards,

Swaminathan

Answers (4)

Answers (4)

Former Member
0 Kudos

thank yoy for solving problem

Former Member
0 Kudos

Hi Experts,

I believe the question has been answered using the FMs. Now I would like your indulgence gurus in this matter. I could have posed it as a query but I find it appropriate to post it here because of the subject. I need your help in ensuring that once a user has substituted another user the roles/authorisation of the substituting user are automatically inherited by the substituted user. Currently once substitution has been done you have to advise BASIS to assist and assign those roles in SU01 which is a it of dealy. Is it possible to automate this process?

Former Member
0 Kudos

Hi,

WAPI function module SAP_WAPI_SUBSTITUTE_MAINTAIN can be used to maintain substitute of the user.

Import parameters               Value

SUBSTITUTED_OBJECT                 US- MAIN USER
SUBSTITUTE                         US- SUBSTITUTE
SUBST_BEGIN                        18.09.2009
SUBST_END                          31.12.9999
SUBST_PROFILE
SUBST_ACTIVE                       X
LANGUAGE                           EN

executing this FM will actIvate substitute for user.

You can confirm entries in table HRUS_D2 or SOSU.

Regards,

Rushikesh

former_member185167
Active Contributor
0 Kudos

Hello,

Try fms RMPS_SET_SUBSTITUTE and RH_SUBSTITUTES_LIST.

regards

Rick Bakker

Hanabi Technology