AS ABAP Release 758, ©Copyright 2024 SAP SE. All rights reserved.
ABAP - Keyword Documentation → ABAP - ABAP Release News → News for ABAP Release 7.5x → News for ABAP Release 7.55 →
ABAP CDS Access Control in ABAP Release 7.55
Check with element IS [NOT] INITIAL in a Literal Condition
In a literal condition, IS [NOT] INITIAL
can now be used to check whether the value of the left side matches (does not match) the initial value of the ABAP data type that matches the element.
Addition bypass when
The addition BYPASS WHEN
can now be used to specify a bypass condition for an element. If the condition is met, the element in question is not used for authorization filtering.
Check on the User Name in User Conditions
When the user name is checked in user conditions, the following can now be checked instead of the user name:
Data Types
The operand that can be specified on the left side of a condition of an access rule of a CDS role can now have the built-in ABAP Dictionary
data type RAW.
Aspect Bypass Conditions
IS [NOT] INITIAL and IS INITIAL OR NULL are now possible as
aspect bypass conditions.
Quantifier Operators
With the new addition ALL, access conditions can express that access shall only be granted when from a set-valued association all values satisfy the condition.
To accompany this use case, the BYPASS WHEN operator has been extended to literal conditions also.
A dedicated operator EXISTS can be used when different access conditions using the same set-valued association shall not be coupled in their fields by means of a common join expression.