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 object

Former Member
0 Likes
1,128

Hello all,

Can anyone tell me how to find the authorization attached to a role.

I know when you are creating a role it asks for the auth object.

I HAVE A ROLE WHICH HAS BEEN CREATED BY SOMEONE LESE , I JUST WANT TO KNOW THE OBJECT SO THAT I CAN USE IN MY PROGRAM

Thanks

1 ACCEPTED SOLUTION
Read only

suresh_datti
Active Contributor
0 Likes
954

Use the function module PRGN_SHOW_EDIT_AGR & display the role.. & click on the Authorization tab.

~Suresh

5 REPLIES 5
Read only

suresh_datti
Active Contributor
0 Likes
955

Use the function module PRGN_SHOW_EDIT_AGR & display the role.. & click on the Authorization tab.

~Suresh

Read only

raja_thangamani
Active Contributor
0 Likes
954

Use the Tcode RZ10 & mention the Role & On Next screen goto the Tab - Authorization-->Display auth objects.

Alternatively you can use SU01, put the uesr name & Display-->GOto Roles Tab

Raja T

Read only

0 Likes
954

Hi ,

i succesfully created an object and for testing purpose i have hardcoded the user names.

when i run under my login then sy-subrc is 0

and under different user login , iam getting a sy-subrc of 12

authority-check object 'ZTEST'

id 'ACTVT' field '02'

id 'USER' field 'XXX'

id 'WERKS' field 'ABC'.

if sy-subrc ne 0.

write:/ 'NO AUTHRIZATION'.

else.

write:/ 'SUCESS '.

endif.

PLS LET ME KNOW

Read only

0 Likes
954

Hi,

For reporting you can use transaction SUIM which is a collection of secrity reports. Regarding your object, I would recommend to get rid of field 'USER', it is enough to have a ACTVT and WERKS and assign that object to profiles (transaction PFCG and SU01).

Read only

0 Likes
954

Hi Tomasz,

Then it would check against the sy-uname or wat

can you be more clear on this part.

For reporting you can use transaction SUIM which is a collection of secrity reports.

If anyone of you have good documents on authorization objects ,do send it to me

venkiabap@yahoo.com

Thanks