‎2006 Dec 19 5:05 PM
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
‎2006 Dec 19 5:30 PM
Use the function module PRGN_SHOW_EDIT_AGR & display the role.. & click on the Authorization tab.
~Suresh
‎2006 Dec 19 5:30 PM
Use the function module PRGN_SHOW_EDIT_AGR & display the role.. & click on the Authorization tab.
~Suresh
‎2006 Dec 19 5:42 PM
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
‎2006 Dec 19 8:46 PM
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
‎2006 Dec 19 8:56 PM
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).
‎2006 Dec 19 9:24 PM
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