How to create an Authorization object ?
I need to create one Authorization object with the fields BUKRS, WERKS.
Later I have to use this Auth.obj. in some reports for the authority check.
See the sample code.
AUTHORITY-CHECK OBJECT 'Z_CHECK'
ID 'BUKRS' FIELD lv_bukrs
ID 'WERKS' FIELD lv_werks.
IF sy-subrc NE 0.
MESSAGE e110 WITH lv_bukrs lv_werks.
" No authorization
To create Authorization obj, we require a Object class also.
Could you please tell me the <b>Transaction codes to create OBJECT Class & Auth.object</b>.
Thanks in advance.
Ashok Kumar Prithiviraj replied
Just double click on the Object ZOBJECT..
AND ALSO CHECK THESE TRANSACTIONS..
SU21 - for authorizations objects..
SU53-- checking the authorizations values..
u have enter the respective fields while creating the authorization for the fields in su21..
<b>reward if it is useful..</b>