ABAP Keyword Documentation → ABAP - Release-Specific Changes → Changes in Releases 7.5x → Changes in Release 7.54
Updates in Release 7.54
1. Authorization checks in updates
Other versions:
7.31 | 7.40 | 7.54
Modification 1
Authorization Checks in Updates
No authorization checks must be made in updates.
-
This rule was not always applied before Release 7.54:
- The statement
AUTHORITY-CHECK
only omitted authorization checks in update sessions and always setsy-subrc
to 0 here.
- In local updates, on the other hand,
AUTHORITY-CHECK
made an authorization check.
- When using ABAP SQL to access a CDS entity for which a CDS role is defined, implicit CDS access control was applied in local updates and in update sessions by default.
-
The following applies to local updates and to
update sessions from Release 7.54:
- In updates, the statement
AUTHORITY-CHECK
always sets the valuesy-subrc
to 0 and does not make any authorization checks.
- CDS access control
cannot take place. If the ABAP SQL statement
SELECT
is used in an update to access a CDS entity for which access control is not disabled using the value #NOT_ALLOWED for the annotation @AccessControl.authorizationCheck or using the additionWITH PRIVILEGED ACCESS
in theFROM
clause, the runtime error SYSTEM_UPDATE_TASK_ILL_STMT occurs.