‎2010 May 17 6:59 AM
Hello,
I've created a programm that will edit and display the specific tables ( z*) , Now I want to have 2 authorizations for editing and for displaying only ...This will be assigned to the 2 users . How can I do this in my programm and How can i create it using the transaction SU01, SU02 and Su03.
Thanks for your help
‎2010 May 17 7:12 AM
why you need a custom auth object. You can use standard auth object S_TABU_DIS Please check the following link
http://help.sap.com/saphelp_nw04/helpdata/en/1e/e867408cd59b0ae10000000a155106/content.htm
a®
‎2010 May 17 7:12 AM
why you need a custom auth object. You can use standard auth object S_TABU_DIS Please check the following link
http://help.sap.com/saphelp_nw04/helpdata/en/1e/e867408cd59b0ae10000000a155106/content.htm
a®
‎2010 May 17 7:34 AM
Hello,
Thank you for your quick answer.
Here I want to use the command AUTHORITY-CHECK to check the authorization for users:
I want that we have 2 roles:
1 role for editing the table
1 role for displaying only
So How can I do this ?
‎2010 May 17 7:45 AM
Hello,
you can create an auth object with two paramters
name_of_object , action
then you create two roles.
the values of the parameters for these two roles will be
change Role
name: Zobj name
action : 02
Display Role
name: Zobj name
action : 03
then you use the authority check in the code with the required values.
thanks,
Anju
‎2010 May 17 8:04 AM
AUTHORITY-CHECK OBJECT 'S_TABU_DIS'
ID 'ACTVT' FIELD '03' " Pass here value 02 or 03
ID 'DICBERCLS' FIELD TDDAT-CCLASS.
a®