03-12-2007 5:06 PM
Hi all.
I'm looking for a FM/BAPI to create/modify a role. I need to add some authority objects in a new profile by ABAP because I want to copy some of them from an object to another. More or less there are 350 profiles and 50-100 objects in each profile.
Does anyone know how to do it?
Thank you!!!
03-13-2007 6:32 AM
I dont think there are any BAPIs but you can try FM searching starting with PRGN*
You will have to use combinations of FM (enqueue, maintain,dequeue etc) to get result.
03-13-2007 8:29 AM
How about BAPI_USER_ACTGROUPS_ASSIGN ...?
(Found searching SE37 with pattern "BAPIUSER" ...)
<u>Take care</u>: when using an CUA you might need to use BAPI_USER_LOCACTGROUPS_ASSIGN (to assign roles in the CUA master system).