To customize authorizations for a specific table
- Create a new authorization object.
For this example, create an authorization object called ZTABCHK that consists of one authorization field called TABLE. The ZTABCHK authorization is being used to secure the VBAK table from all but a particular subset of users.
- From SAP, execute transaction /CRYSTAL/RLS.
The Security Definition Editor screen appears.
You will now associate your new authorization object with an SAP table.
- In the Table name field, type the name of the table whose security definition you will customize.
For this example, type VBAK.
- Click Create.
The Authorization entries screen appears
- Click Create.
The Authorization Object entry dialog box appears.
- Click Reference to an authorization object.
The Authorization Object entry screen appears.
- In the Authorization object name field, type the name of the authorization object that you created in step 1.
For this example, type ZTABCHK.
- Click Create.
The Authorization field values screen appears.
- In the Field value list, type the name of the table whose security definition you want to customize.
For this example, type VBAK.
- Click Save.
You have now associated your customized authorization object with a specific SAP table.
- Exit the Security Definition Editor.
- Following your usual procedure, incorporate the new authorization object into your configuration of user profiles or roles.
For instance, following this example, you would apply the ZTABCHK authorization object to the subset of users who need to access the VBAK table.
Depending on the version of R/3 or mySAP ERP that you are using, and the SAP authorization model that you have already deployed, you can accomplish this in various ways:
-
Attach the new authorization object to a new role that you in turn add to each user's security profile.
-
Attach the new authorization object to a new profile that you in turn add to each user's security profile.
The end result is that the authorization is added to the master user data, so the database drivers can adhere to your customized data access restrictions.
-