ABAP Keyword Documentation → ABAP Dictionary → ABAP CDS in ABAP Dictionary → ABAP CDS - Views → ABAP CDS - DDL Statements → ABAP CDS - DEFINE VIEW → ABAP CDS - SELECT → ABAP CDS - SELECT, Operands and Expressions → ABAP CDS - cond_expr
ABAP CDS - cond_expr, WHERE
Rules for conditions cond_exp in a WHERE condition of a CDS view in ABAP CDS:
- All relational operators are allowed.
- lhs expects a field of a data source data_source.
- A field of a data source data_source, a literal, or a parameter can be specified for rhs (with the exception of the operator LIKE). In the case of LIKE, only a character-like literal can be specified.
- A data source field can be specified using a path expression, if this expression is not a quantity value:
- The cardinality of the contained associations is "to 1" or
- The path expression only contains filter conditions with addition 1:.
- Other expressions and function calls are not allowed.
Other versions:
7.31 | 7.40 | 7.54