Skip to Content
author's profile photo Former Member
Former Member

SAP Users Role change

SAP Users Role change


Basically SAP users have one or more roles.

In SAP User Management we can’t just add, delete or edit the roles which are assigned to the particular user.

We are assigning the roles to the user while creating the new user using BAPI ‘BAPI_USER_LOCACTGROUPS_ASSIGN’ .

SAP doesn’t have any BAPI or RFC for changing the user’s roles separately.

Solution:

  • If you want to add the additional roles to the user, then first read the users previous assigned roles from the system & add this additional new roles to the previous roles list and call the BAPI ‘BAPI_USER_LOCACTGROUPS_ASSIGN’ and pass the previous roles list which is having new roles also.
  • Same way if you want to delete some roles of the user, then remove the particular roles from the user’s previous roles list and call the BAPI ‘BAPI_USER_LOCACTGROUPS_ASSIGN’ and pass new roles list.
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 12, 2014 at 09:44 AM

    Answered.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.