Creating Authorization Fields 

 

In authorization objects, authorization fields represent the values to be tested during authorization checks.

To create authorization fields, choose Tools ® ABAP Workbench ® Development ® Other Tools ® Authorization Objects ® Fields.

To create an authorization field, proceed as follows:

  1. Choose Create authorization field.
  2. On the next screen, enter the name of the field. Field names must be unique and must begin with the letter Y or Z.
  3. Assign a data element from the ABAP Dictionary to the field.
  4. If desired, enter a check table for the possible entries. For more information about check tables, see Connection to the Check Table. The connection provides possible field values. Values ranges can also be defined using the domain with which a field is associated.

 

For more information about AUTHORITY-CHECK, see the keyword documentation of the ABAP Editor.

You can often use the fields defined by SAP in your own authorization objects. If you create a new authorization object, you do not need to define your own fields. For example, you can use the SAP field ACTVT in your own authorization objects to represent a wide variety of actions in the system.