Skip to content

ABAP Keyword Documentation →  ABAP - Dictionary →  ABAP CDS in ABAP Dictionary →  ABAP CDS - Access Control →  ABAP CDS - DCL Statements →  ABAP CDS - DEFINE ROLE →  ABAP CDS - DEFINE ROLE, condition →  ABAP CDS - DEFINE ROLE, literal_condition 

ABAP CDS - DEFINE ROLE, operator

Other versions: 7.31 | 7.40 | 7.54

Syntax


... operator ...

Effect

Operator of a comparison expression in a literal condition in an access rule in the definition of a role using DEFINE ROLE in the CDS DCL. The operator compares a left side and a right side. The left side is always an element of the CDS entity to which the rule applies. The right side is represented using a literal value.

operator True if
= The value of the left side is equal to the value of the right side.
<> The value of the left side is not equal to the value of the right side.
< The value of the left side is less than the value of the right side.
> The value of the left side is greater than the value of the right side.
<= The value of the left side is less than or equal to the value of the right side.
>= The value of the left side is greater than or equal to the value of the right side.
?= Like the operator =. The condition is also met, however, if the value of the left side is thenull value or a type-dependent initial value.