Skip to content

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, HAVING

Rules for conditions cond_exp in a HAVING condition of a CDS view in ABAP CDS:

  • The relational operators BETWEEN and IS [NOT] NULL are not allowed.
  • The boolean operator NOT is not allowed.
  • A field of a data source cannot be specified using an alternative element name of the current CDS defined using AS.
  • A data source field can be specified using apath expression, if this expression is not a quantity value:
  • The cardinality of the contained associations is "to 1" or
  • Other expressions and function calls are not allowed.

Other versions: 7.31 | 7.40 | 7.54