Which RAP operations are static and which are instance-bound? What does that mean for global and instance authorization, and why can create not use instance authorization?
Say your answer out loud first.
Practise another way
Create and static actions are static: there is no existing instance, so only global authorization can apply. Update, delete, instance actions and create-by-association are bound to an existing instance, so both global and instance authorization can apply.
Global authorization can absolutely cover delete; it answers whether this user may delete at all. Create cannot use instance authorization because there is no record yet to check, so if the incoming values matter, they are checked in a precheck.
Static vs instance-bound
- Static operations have no existing instance as input:
create,static action, static functions and static factory actions. Their handlers get no keys of existing instances. - Instance-bound operations work on existing instances:
update,delete, instance actions and functions, and create-by-association, which is bound to the parent instance.
Global authorization (authorization master ( global ))
- One check per request, independent of data: typically
AUTHORITY-CHECKon your authorization object with the activity. - Applies to every operation, static or not, including delete.
METHOD get_global_authorizations.
IF requested_authorizations-%delete = if_abap_behv=>mk-on.
AUTHORITY-CHECK OBJECT 'ZTRAVEL' ID 'ACTVT' FIELD '06'.
result-%delete = COND #( WHEN sy-subrc = 0
THEN if_abap_behv=>auth-allowed
ELSE if_abap_behv=>auth-unauthorized ).
ENDIF.
ENDMETHOD.
Instance authorization (authorization master ( instance ))
- Gets
keysand decides per instance, for example by the agency's country. Only possible for instance-bound operations. - It sees the instance as it is before the change, not the values being sent.
Why create cannot be instance-checked: there is no instance yet, so there is nothing to read.
If the incoming values decide (user may only create travels for their own agency), use a precheck on create; SAP's ABAP Platform 2025 Flight reference scenario does exactly that in precheck_create.
Create-by-association is instance-bound to the parent. For an authorization-dependent child it is checked by default with the master's update authorization; ABAP release 8.16 (ABAP Platform 2025) and cloud release 2508 let you define separate authorization for it.
Finer control per operation
delete ( authorization : update )reuses the update check for delete.- Actions can override the entity default with
authorization : global,authorization : instanceorauthorization : none.
Reads are different. The BDEF does not restrict reads; row-level read access belongs in CDS access control (DCL) on the entities.
Classifies operations correctly, explains that global covers every operation including delete while instance needs an existing record, and offers precheck for create and DCL for reads.
Says global authorization 'is only for create' or that instance authorization can check a new record's values.
Claiming global authorization cannot control delete. Global answers 'may this user delete at all'; instance answers 'may this user delete this record'.
- Which authorization is checked for a create-by-association by default?
- How do you restrict which rows a user can read?
- Can an action have a different authorization type from its entity?
1 candidate write-up, 3 official pages and 3 prep guides. Confidence: high. Checked 1 Dec 2026.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.
- Candidate write-up Gives the question.