Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Program Flow Logic →  Expressions and Functions for Conditions →  log_exp - Logical Expressions →  log_exp - Boolean Operators and Parentheses 

log_exp - AND

Other versions: 7.31 | 7.40 | 7.54

Syntax


... log_exp1 AND log_exp2 AND log_exp3 ...

Effect

The joining of multiple logical expressions log_exp using AND creates a new logical expression that is true when all logical expressions log_exp are true. If one of the logical expressions is false, the join is also false.


Notes

  • The operator AND is a weaker join than NOT and stronger than OR and EQUIV.

  • The operator AND implements an AND join. Using NOT to negate a join like this is the same as using a NAND join (Not AND). It is true if at least one expression is false.

Example

Checks assignment to an interval, ignoring interval boundaries.

IF operand > limit1 AND operand < limit2 .
  ...
ENDIF.