Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Reading Authorization objects and check which user has these

Former Member
0 Kudos

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

8 REPLIES 8

Former Member
0 Kudos

1. The auth. objects can be read from TOBJ ---> Authorisation Objects

Now I need to find out who (user) has which objects

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.

0 Kudos

Try SU24.....

uwe_schieferstein
Active Contributor
0 Kudos

Hello Hork

Have a look at the transactions collected together into area menu SUIM.

Regards

Uwe

Former Member
0 Kudos

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

Former Member
0 Kudos

hi

if we give a field name, can we find what are the objects for that

is it possible

Regards

Sandeep K

Former Member
0 Kudos

Table USRBF2 contains the objects, my question is solved