Skip to content

ABAP Keyword Documentation →  ABAP - Dictionary →  ABAP CDS in ABAP Dictionary →  ABAP CDS - Data Definitions →  ABAP CDS - DDL for Data Definitions →  ABAP CDS - DEFINE VIEW →  ABAP CDS - SELECT →  ABAP CDS - SELECT, Operands and Expressions →  ABAP CDS - cond_expr 

ABAP CDS - cond_expr, BETWEEN

Other versions: 7.31 | 7.40 | 7.54


... lhs BETWEEN rhs1 AND rhs2 ...


Compares an interval in a condition in a CDS view. The relational expression is true if the value of lhs is between the values of rhs1 and rhs2 The expression has the same meaning as the following join of two comparisons:

... lhs >= rhs1 AND lhs <= rhs2 ...

The corresponding context-dependent rules apply to the operands lhs, rhs1, and rhs2. The same conditions for the data types also apply.