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
Syntax
... NOT log_exp ...
Effect
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.
Notes
- The operator 
NOTprovides a stronger link thanAND,ORandEQUIV. 
- The Boolean operator 
NOTmust not be confused with the addition NOT onBETWEEN,ISandIN. The following syntax is possible: 
... NOT operand NOT IN seltab ...
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 ) ...