Skip to content

ABAP Keyword Documentation →  ABAP Dictionary →  ABAP CDS in ABAP Dictionary →  ABAP CDS - Authorizations →  ABAP CDS - DCL Statements →  ABAP CDS - DEFINE ROLE →  ABAP CDS - DEFINE ROLE, condition 

This functionality is not yet released and must not be used

ABAP CDS - DEFINE ROLE, condition operator

Other versions: 7.31 | 7.40 | 7.54

Syntax


... operator ...

Effect

Operator of a comparison expression in conditions for assignment roles and literal conditions in the WHERE clause in the definition of a role using DEFINE ROLE in the DCL in ABAP CDS. The operator compares a left side and a right side. The left side is always a path expression and the right side is represented by an aspect or a fixed value. The result of the expression is true or false.

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.
[NOT] LIKE The string on the left side matches (does not match) the pattern on the right side. The percent character(%) can be used as a placeholder for any string and the underscore character (_) for any single character.
IS [NOT] NULL The value on the left side is (not) the null value.