SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation →
ABAP − Short Reference →
log_exp - Short Reference
Reference
Syntax
... { {operand1 {=|EQ|<>|NE|>|GT|<|LT|>=|GE|<=|LE
|CO|CN|CA|NA|CS|NS|CP|NP
|BYTE-CO|BYTE-CN|BYTE-CA|BYTE-NA|BYTE-CS|BYTE-NS
|O|Z|M} operand2 }
| {operand [NOT] BETWEEN operand1 AND operand2}
| {operand [NOT] IN seltab}
| {operand IS [NOT] INITIAL}
| {ref IS [NOT] BOUND}
| {<fs> IS [NOT] ASSIGNED}
| {para IS [NOT] SUPPLIED}
| {para IS [NOT] REQUESTED}
| {contains( ... )|contains_any_of( ... )|contains_any_not_of( ... )}
| {matches( ... )}
| {line_exists( ... )} }
| { [NOT] log_exp [AND|OR|EQUIV log_exp] } ... .
Effect
Logical expression for formulating a condition for operands. A logical expression is a
relational expression or multiple joined relational expressions, where (
) can be used as parentheses. The result is a logical value.
Additions
-
=|EQ|<>|NE|>|GT|<|LT|>=|GE|<=|LE
Comparison expression with relational operators for all data types.
-
CO|CN|CA|NA|CS|NS|CP|NP
Comparison expression with relational operators for character-like data types.
-
BYTE-CO|BYTE-CN|BYTE-CA|BYTE-NA|BYTE-CS|BYTE-NS
Comparison expression with relational operators for byte-like data types.
-
O|Z|M
Comparison expression with relational operators for bit patterns
-
[NOT] BETWEEN
Comparison expression used to check what belongs to an interval.
-
operand [NOT] IN seltab
Comparison expression used to check whether an operand meets the conditions of a selection table seltab.
-
IS [NOT] INITIAL
Predicate expression used to check whether the operand operand is initial.
-
IS [NOT] BOUND
Predicate expression used to check whether a reference variable ref is valid
-
IS [NOT] ASSIGNED
Predicate
expression used to check whether a memory area is assigned to a field symbol <fs>.
-
IS [NOT] SUPPLIED
Predicate
expression used to check whether a formal parameter para of a procedure is filled or requested.
-
IS [NOT] REQUESTED
Obsolete: Predicate expression used to check whether an output parameter para of a
procedure is requested
-
contains( ... ), contains_...( ... )
Predicate function used to scan a string.
-
matches
Predicate function used to match a string with a regular expression.
-
line_exists
Predicate function used to check the existence of a row in an internal table.
-
NOT
Boolean operator used to negate a logical expression.
-
AND
Boolean operator used as an AND join between two logical expressions.
-
OR
Boolean operator used as an OR join between two logical expressions.
-
EQUIV
Boolean operator used as an equivalence join between two logical expressions.