‎2007 Jul 26 7:31 AM
what is the use of authorization group? plz provide me reference material.
‎2007 Jul 26 8:15 AM
HI,
We will use authorization group in table maintenance generator. To provide authorization to the specific table we will use this authorization group. Basis consultant will create the authorization group and then give it to us. What ever they have created the authorization group that only we will use in table maintenance generator.
1. Go to se 11.
2. Pass the table name then click on display
3. Go to utilities menu then select table maintenance generator.
4. In that pass the table name authorization group and Single or double etc info.
Reward points if useful.
Thanks & Regards,
Vasudeva Rao
‎2007 Jul 26 7:32 AM
Hi
In general different users will be given different authorizations based on their role in the orgn.
We create ROLES and assign the Authorization and TCODES for that role, so only that user can have access to those T Codes.
USe SUIM and SU21 T codes for this.
Much of the data in an R/3 system has to be protected so that unauthorized users cannot access it. Therefore the appropriate authorization is required before a user can carry out certain actions in the system. When you log on to the R/3 system, the system checks in the user master record to see which transactions you are authorized to use. An authorization check is implemented for every sensitive transaction.
If you wish to protect a transaction that you have programmed yourself, then you must implement an authorization check.
This means you have to allocate an authorization object in the definition of the transaction.
For example:
program an AUTHORITY-CHECK.
AUTHORITY-CHECK OBJECT <authorization object>
ID <authority field 1> FIELD <field value 1>.
ID <authority field 2> FIELD <field value 2>.
...
ID <authority-field n> FIELD <field value n>.
The OBJECT parameter specifies the authorization object.
The ID parameter specifies an authorization field (in the authorization object).
The FIELD parameter specifies a value for the authorization field.
The authorization object and its fields have to be suitable for the transaction. In most cases you will be able to use the existing authorization objects to protect your data. But new developments may require that you define new authorization objects and fields.
http://help.sap.com/saphelp_nw04s/helpdata/en/52/67167f439b11d1896f0000e8322d00/content.htm
To ensure that a user has the appropriate authorizations when he or she performs an action, users are subject to authorization checks.
Authorization : An authorization enables you to perform a particular activity in the SAP System, based on a set of authorization object field values.
You program the authorization check using the ABAP statement AUTHORITY-CHECK.
AUTHORITY-CHECK OBJECT 'S_TRVL_BKS'
ID 'ACTVT' FIELD '02'
ID 'CUSTTYPE' FIELD 'B'.
IF SY-SUBRC <> 0.
MESSAGE E...
ENDIF.
'S_TRVL_BKS' is a auth. object
ID 'ACTVT' FIELD '02' in place 2 you can put 1,2, 3 for change create or display.
The AUTHORITY-CHECK checks whether a user has the appropriate authorization to execute a particular activity.
This Authorization concept is somewhat linked with BASIS people.
As a developer you may not have access to access to SU21 Transaction where you have to define, authorizations, Objects and for nthat object you assign fields and values. Another Tcode is PFCG where you can assign these authrization objects and TCodes for a profile and that profile in turn attached to a particular user.
Take the help of the basis Guy and create and use.
Sy-SUBRC values
4 User has no authorization in the SAP System for
such an action. If necessary, change the user
master record.
8 Too many parameters (fields, values). Maximum
allowed is 10.
12 Specified object not maintained in the user
master record.
16 No profile entered in the user master record.
24 The field names of the check call do not match
those of an authorization. Either the
authorization or the call is incorrect.
28 Incorrect structure for user master record.
32 Incorrect structure for user master record.
36 Incorrect structure for user master record.
<b>Reward points for useful Answers</b>
Regards
Anji
‎2007 Jul 26 7:33 AM
Hi,
Go to SE54, Give the table name and choose authorization group and then click
on create/change. You can create an authorization group.
<b>Example:</b>
You can assign a table to authorization group Z001. (Use transaction SM30 for
table TDDAT) A user that wants to access this table must have
authorization object S_TABU_DIS in his or her profile with the value Z001
in the field DICBERCLS (authorization group for ABAP Dictionary objects).
Look at the below links
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbaccb35c111d1829f0000e829fbfe/content.htm
Regards
Sudheer
‎2007 Jul 26 8:15 AM
HI,
We will use authorization group in table maintenance generator. To provide authorization to the specific table we will use this authorization group. Basis consultant will create the authorization group and then give it to us. What ever they have created the authorization group that only we will use in table maintenance generator.
1. Go to se 11.
2. Pass the table name then click on display
3. Go to utilities menu then select table maintenance generator.
4. In that pass the table name authorization group and Single or double etc info.
Reward points if useful.
Thanks & Regards,
Vasudeva Rao