Application Development and Automation 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: 
Read only

Reading Authorization objects and check which user has these

Former Member
0 Likes
5,485

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

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
Read only

Former Member
0 Likes
1,736

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

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

Read only

Former Member
0 Likes
1,736

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.

Read only

Former Member
0 Likes
1,736

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.

Read only

0 Likes
1,736

Try SU24.....

Read only

uwe_schieferstein
Active Contributor
0 Likes
1,736

Hello Hork

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

Regards

Uwe

Read only

Former Member
0 Likes
1,736

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

Read only

Former Member
0 Likes
1,736

hi

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

is it possible

Regards

Sandeep K

Read only

Former Member
0 Likes
1,736

Table USRBF2 contains the objects, my question is solved