Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Program Flow →  Expressions and Functions for Logical Expressions →  log_exp - Logical Expressions →  log_exp - Boolean Operators and Brackets 

log_exp - NOT

Other versions: 7.31 | 7.40 | 7.54


... NOT log_exp ...


The negation of a logical expression log_exp with NOT, forms a new logical expression, which is false, if the logical expression log_exp is true and vice versa.


  • The operator NOT provides a stronger link than AND, OR and EQUIV.

  • The Boolean operator NOT must not be confused with the addition NOT on BETWEEN, IS and IN. The following syntax is possible:
... NOT operand NOT IN seltab ...
The first NOT is a Boolean operator which negates a logical expression with the addition NOT. The second NOT is an addition in a logical expression. This is made clear with the brackets around the logical expression:
... NOT ( operand NOT IN seltab ) ...