10-30-2008 5:53 PM
I need to write some report on which user has certain authorization objects assigned.
1. First I'd like to read all authorization objects in our namespace
2. I'd like to find out who (user) has a particular auth. object assigned.
Any idea whether there is a class of FM for this or what would be the best way to attack this....
Rgs Hork
10-30-2008 6:07 PM
1. The auth. objects can be read from TOBJ ---> Authorisation Objects
Now I need to find out who (user) has which objects
10-30-2008 6:34 PM
Hi,
you can use statement authority-check
it will be like
AUTHORITY-CHECK OBJECT object ID name1 FIELD f1
ID name2 FIELD f2
...
ID name10 FIELD f10.
Effect
Explanation of IDs:
object
Field which contains the name of the object for whichthe authorization is to be checked.
name1 ...
Fields which contain the names of the
name10
authorization fields defined in the object.
f1 ...
Fields which contain the values for which the
f10
authorization is to be checked.
Regards,
Sateesh.
10-30-2008 7:29 PM
Thanks for the feedback, but my question is that i want to find out which authorization objects a particular user has.
So I'd like to provide a user and get all auth objects of that user. I have figured out where the auth objects are stored but cannot link them to the user.
10-30-2008 7:54 PM
10-30-2008 7:57 PM
Hello Hork
Have a look at the transactions collected together into area menu SUIM.
Regards
Uwe
10-31-2008 9:37 AM
Thanks a lot for the feedback. I should have made clear, that I'd like to do this in an ABAP program to display it in a WebDynpro.
So I am looking more for the technical background (FMs, tables) rather than the existing transaction.
Anyway, thansk for the help
11-05-2008 10:13 AM
hi
if we give a field name, can we find what are the objects for that
is it possible
Regards
Sandeep K
11-06-2008 11:47 AM