Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Program Flow →  Expressions and Functions for Logical Expressions →  log_exp - Logical Expressions →  log_exp - Predicates 

log_exp - BETWEEN

Other versions: 7.31 | 7.40 | 7.54

Syntax


... operand [NOT] BETWEEN operand1 AND operand2 ...

Effect

A logical expression with the language element BETWEEN checks where an interval belongs.

The logical expression checks whether the content of an operand operand lies within a closed interval that is enclosed between the operands operand1 and operand2. The logical expression is equivalent to the following link of logical expressions with Boolean operators:

... [NOT] ( operand >= operand1 AND operand <= operand2 ) ...

The rules for both comparisons are described in comparison rules.

For operand, operand1 and operand2 you can specify: