As in the scenario for granting access based on activities, you define an authorization object. However, for this scenario, you first define authorization fields to fine-tune access on field level.
In the following, we assume that the bonus calculation service has a bonus variant field of type domain. You create an authorization field based on this data element.
-
Create an authorization field
ZBNS_VARN
for the bonus variant by following the procedure in the ABAP development guide: Defining Authorization Fields. -
In the Data Element field, enter the data element for the bonus variant.
-
In the Check Table field, enter the SQL view name that you have created as a check table for all possible bonus variants (see Creating a Check Table for Authorization Fields).
You can use the Search Help button to simulate the field help as it's shown to the administrator during the business role maintenance.