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

Authorization objects which contain company code field

Former Member
0 Likes
3,966

Hi,

We are looking for list of Authorization objects which contain company code field for Audit. The listing should have Role, Authorization obj and the <b>company code and values</b>.

Is there any we can query this info.

Thanks,

Sam

Message was edited by: Sam

6 REPLIES 6
Read only

Former Member
0 Likes
1,839

Hi Sam,

Assuming you are looking for company code in the roles you have implemented as opposed to all company code in

SAP. Go to SE16 and enter in table AGR_1251. Restrict

to the namespace of your roles and in "field" type in BUKRS. This will give you the listing of roles and auth. objects. For the ORG level values go to table AGR_1252

and select by $BUKRS in field VARBL.

Regards,

JC

Read only

0 Likes
1,839

Thanks JC.. It worked.. How to identify the table name for this issue?

-Sam

Read only

0 Likes
1,839

The table description for AGR_1251 is "Authorization data for the activity group".

Read only

0 Likes
1,839

Thanks JC.. Could you please confirm if this table is good and exhaustive for Version 4.6B ?

Thanks,

Sam

Read only

0 Likes
1,839

It should be as long as all of the roles you are using are created in profile generator. Otherwise, if there

are profiles go to table UST12 and select BUKRS in "field". This will give you the authorization objects

for these values - then you'll have to map back to

the profiles via table UST10S

Read only

0 Likes
1,839

Hi,

You can use the follwing

in USR12 table

in USOBT table (but you get the details for the Auth Obj in the Tcodes and their field values.

But as far as my knowledge goes you will get all the Auth Obj with Company code field

Caution: If there are some objects in not check or are which are not in any tcodes then they will not be captured.

But they are very less I guess and so i think you can capture most of the Auth Obj I guess

Message was edited by: Manohar Kappala