1.

Would it be possible to mass delete roles without deleting the new roles in SAP?

Answer»

SAP PROVIDES a report i.e., (AGR_DELETE_ALL_ACTIVITY_GROUPS), which you can COPY, then remove the system type check, and then execute/run. For mass deletion of roles without deleting the new roles in SAP, simply enter the roles that you wish to delete in a TRANSPORT (a package used for transferring data between SAP installations), run/execute the delete program or either delete manually, then RELEASE the transport and finally import the roles into all client systems. ​As soon as your transport, the role is deleted from all client systems.

It is necessary to tweak/debug & replace the code in AGR_DELETE_ALL_ACTIVITY_GROUPS to ENSURE it is deleting only SAP delivered roles. Getting past that little bit makes it work well.



Discussion

No Comment Found