01-06-2010 4:38 PM
Hi,
Is there a way to copy roles from one user to another user automatic?
Br
Steven
05-08-2012 3:14 AM
Steven,
just came across the same problem. I found it hard to believe that there would be no standard transacton to do this.... but there is!
Use SU10 to copy roles from a "promoted" reference user.
Here is how it works:
1) start TC SU10
2) enter the user(s) you would like to change in the list
3) click on the change button (shift-F6)
4) select the roles tab (note the ADD radio button is highlighted by default, so additional roles are added)
5) enter the user name to copy role assignments from in the field next to: "Reference user for additional rights"
6) check the change box
7) press enter
😎 you may get a warning message, press enter again (this is the "promotion" - )
9) click the SAVE button
10) you should get a warning that user accounts will change, confirm
11) after this you should see a summary of changes
12) Done!
You can use TC: S_BCE_68001430 to compare assigned authorizations between the two users just to double-check, if you find discrepancies, double-click on the object, the expance Val.Combination1 and Authoriz. to see where differences come from
Note that Report TC: RSSCD100_PFCG_USER - Change Documents For Role Assignment apparently does not pick up mass changes from SU10
Hope it helps.
regards,
Matt
01-06-2010 4:45 PM
1 - If you want to create a new user having same roles as the existing one then you can simply copy the user.
Go to SU01 and select the option of "Copy user".
2 - You can use "reference user" option if the user is existing and you want to copy roles of different user to this one. But this will include full access of the user i.e roles, profiles etc.
01-07-2010 8:06 AM
01-07-2010 9:14 AM
Hi,
I want to copy roles between existing users, I there a report to that?
br
Steven
01-07-2010 9:22 AM
Hi Steven,
I am really not aware of any such report which copies the role of existing users.
However its not a big task I guess, with a simple help of excel functions and filters you can sync the data. Check out the common roles (if there are) or common users (if there are) and use SU10 functionality.
Just for your information you can pull the data of roles assigned to the users either from SUIM or from table agr_users(SE16).
01-07-2010 3:43 PM
Hi Steven,
There is no such automatic tool to copy selection of role from one to other existing user. This need to be done manually, but you can use the sap tool SUIM to minimize the manual work. Better option is to open the two sap sessions with one for target user where role need to be added and another for source use the SAP copy paste option, by using this you can copy the several number of roles in single shot. if you are in CUA then use the report User by role under cross system information with SUIM itseld. By this way you can short out the role assignment by respective client in view of report , and from there u can do the copy paste along with client number of roles in single shot.
Hope this practice helps you
01-09-2010 12:39 PM
Hi,
ABAP coding or LSMW will help in semi-automatic this process.
Regards.
Shrinivasan KV
05-08-2012 3:14 AM
Steven,
just came across the same problem. I found it hard to believe that there would be no standard transacton to do this.... but there is!
Use SU10 to copy roles from a "promoted" reference user.
Here is how it works:
1) start TC SU10
2) enter the user(s) you would like to change in the list
3) click on the change button (shift-F6)
4) select the roles tab (note the ADD radio button is highlighted by default, so additional roles are added)
5) enter the user name to copy role assignments from in the field next to: "Reference user for additional rights"
6) check the change box
7) press enter
😎 you may get a warning message, press enter again (this is the "promotion" - )
9) click the SAVE button
10) you should get a warning that user accounts will change, confirm
11) after this you should see a summary of changes
12) Done!
You can use TC: S_BCE_68001430 to compare assigned authorizations between the two users just to double-check, if you find discrepancies, double-click on the object, the expance Val.Combination1 and Authoriz. to see where differences come from
Note that Report TC: RSSCD100_PFCG_USER - Change Documents For Role Assignment apparently does not pick up mass changes from SU10
Hope it helps.
regards,
Matt
12-12-2013 10:26 AM
12-12-2013 10:51 AM
12-12-2013 11:47 AM
12-17-2013 12:02 PM
Hi Matt,
If you are to use the field "Reference user for additional rights" on SU10, it should be populated with a user of "Reference Type" and will not do if you want to copy roles from a Dialog user.
Also, this will not copy roles from Reference user, instead it just inherits access from the Reference user.
To the best of what I know, there is no way you can directly copy roles from one user to another existing user.
Regards,
Pranaam
01-19-2015 10:25 AM