SAP NEWS-754-UPDATE



Get Example source ABAP code based on a different SAP table
  



Updates in ABAP Release 7.54
ITOC

ABAP_MODIFICATION_NN Authorization Checks in Updates

No authorization checks must be made in updates.
This rule was not always applied before ABAP_RELEASE 7.54:
The statement AUTHORITY-CHECK made no authorization checks in update sessions but always set sy-subrc to 0 here.
The statement AUTHORITY-CHECK made an authorization check In local updates,
When using AB_SQL to access a CDS entity for which a CDS role is defined, implicit CDS access control was applied by default in update sessions and in local updates.
From ABAP_RELEASE 7.54, the following applies to update sessions and to local updates:
In updates, the statement AUTHORITY-CHECK does not make any authorization checks but sets the value sy-subrc always to 0.
In updates, CDS access control is not allowed. If the AB-SQL statement SELECT is used during an update to access a CDS entity for which access control is not disabled, the runtime error SYSTEM_UPDATE_TASK_ILL_STMT occurs. Access control can be disabled as follows:
In the CDS entity: Using the value #NOT_ALLOWED for the annotation @AccessControl.authorizationCheck.
In ABAP SQL: Using the addition WITH PRIVILEGED ACCESS in the FROM clause.