ABAP Keyword Documentation → ABAP - Short Reference
AUTHORITY CHECK - Short Reference
Other versions: 7.31 | 7.40 | 7.54
Syntax
AUTHORITY-CHECK OBJECT auth_obj [FOR USER user]
ID id1 {FIELD val1}|DUMMY
[ID id2 {FIELD val2}|DUMMY]
...
[ID id10 {FIELD val10}|DUMMY].
Effect
Performs an authorization check for the current user or a specified user compared with the
authorization object
auth_obj. Either the entry in the user master record is evaluated using FIELD for the authorization field
id1, ..., id10 or the check is skipped using DUMMY .
Additions
-
FOR USER user
Checks the user entered inuser. -
FIELD val1, ...,FIELD val10
Compares the content ofval1, ...,val10with the values for the authorization fieldid1, ...,id10in the user master record. -
DUMMY
Skips the check for the authorization fieldid1, ...,id10.