04-11-2014 5:08 PM
I want to remove multiple Roles from multiple users but there is also condition that in all user there is no all roles exist.
in some user there is one or two roles or more roles are not exist .
so give me easy way to remove roles.
and i don't want to remove user using PFCG or SU01 it's to much long process.
..thanks in advance
04-12-2014 2:06 AM
how about export the users from agr_users or suim to excel, create listing of user/role-to-remove. create ecatt script on su10 to automate one user-role at a time to remove the role from excel list.
04-14-2014 1:59 PM
04-15-2014 10:45 AM
I thought it might be useful to add why I think SU10 & scripting is good for this. SU10 can be used to append or remove single roles from a user.
In the case of removing roles you only need to create your file with the following data elements:
USER ID, ROLE, FROM DATE, TO DATE
Script SU10 so it performs a single removal operation and it can then work it's way through the file only removing what is required. There is no need to do any clever stuff in SU01 to pick out specific roles. I was doing all sorts of fancy stuff until someone showed me the SU10 trick.
04-14-2014 9:23 AM
It does not matter whether User A has all the roles and User B only has one or two roles or another variant you want to remove.
SU10 basically contains the functionality you require http://www.sapsecuritypages.com/mass-user-changes/
05-08-2014 9:41 PM
He's right. Just remove all required roles from all required users.
Users who do NOT have a particular role - no change will happen.
05-08-2014 10:29 PM
But that means that if the user does have the role and is meant to keep it, then it is removed.
use the "Authorization data" tab and in the select options of the users dialog there is a taskbar for import from file / clipboard.
Or do it in one go via BAPIs...
Cheers,
Julius
05-09-2014 3:12 PM
Yes, this seems to fit the requirement - if I understood it correctly :-).
For selective removals, a SAPGui Script or ECATT with SU10 would be my preference.
04-15-2014 9:38 AM
05-03-2014 7:08 PM