‎2005 Dec 06 6:16 AM
Hello All,
I have a report & want to create to authorization object for this to avoid unauthorised access. How to add authorization object? Kindly explain.
Regards,
Dilip
‎2005 Dec 06 6:19 AM
Hi,
what is the type of the object.
go and check in the TCODE su21 all the authorization objects check which will suit you.
The syntax is Authority-check object <object name>
Regards
Kumar
‎2005 Dec 06 6:23 AM
Hello,
This is a report & I want to create authorization object for this only. SU21 is to create authorization for fields.
Regards,
Dilip
‎2005 Dec 06 6:27 AM
Hi Dillip,
Use T/Code SE80 and edit object cjoose Authorization object and create one.
Hope this will work.
‎2005 Dec 06 6:36 AM
I think it is basis problem to create authorizations for report.
but using se80 you can do that...
regards
vijay
‎2005 Dec 06 6:24 AM
Hi Diliip,
In SU20 you will have to create a CLass.
After saving this double click this and you will taken to another screen where you can create Auth Object.
You can create authorization fields in SU21 or use existing ones.
You can also do above thru tcode SE80 Edit -> Other Object. In one the tabs you will see Auth. Objects .
For further ref check on to this link:
http://help.sap.com/saphelp_bw33/helpdata/en/52/67167f439b11d1896f0000e8322d00/frameset.htm
Hope this helps u,
Regards,
Nagarajan.
‎2005 Dec 06 6:26 AM
Hi
Check the below link..
http://help.sap.com/saphelp_bw21c/helpdata/en/52/6712ac439b11d1896f0000e8322d00/frameset.htm
REgards,
Abdul
‎2005 Dec 06 6:26 AM
Hi You have READ/WRITE/DELETE 3 options .
You can create the object using SU21.
But Basis will take care of those..
once they assigned if you want to check what are the authorizations then run the report/trxn and use su53 trxn
to find what are the auhorizations for that user
regards
vijay
‎2005 Dec 06 6:33 AM
Hi,
If you know the authorization object use the below code to check for the authorzation.
Sample Code...
AUTHORITY-CHECK OBJECT 'ZPRCHK1'
ID 'BUKRS'
FIELD p_bukrs.
IF sy-subrc NE 0.
MESSAGE e000 WITH
'You are not authorised for Company code' p_bukrs.
ENDIF.
In the above code "ZPRCHK1" is the authorization object which we have created .
Go thru the below sap link for more details...
http://help.sap.com/saphelp_bw21c/helpdata/en/5c/deaa74d3d411d3970a0000e82de14a/content.htm
Hope it helps u...
regards,
Vijay
Message was edited by: Vijayasekar
‎2005 Dec 06 8:07 AM
May be you can use the field 'Authorization group' together with the authorization object S_PROGRAM.
Regards.