ARTICLE
rel_exp - Relational Expressions
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 } ... .
Effect
Comparison expressions join two
or more operands with a relational
operator to make a relational
expression and produce a logical value
as the result of the comparison.
The operands are compared using one of the relational
operators shown here.
The comparisons follow comparison rules .
operand1 , operand2 , and operand are
general expression positions ,
which means that the following can be specified:
Data objects
Predefined functions
Functional methods
Calculation expressions
Constructor expressions
Table expressions
When a predefined function, a functional method, or a constructor
expression is specified, its return value or result is used as an
operand. When a calculation expression is specified, its result is used.
A single operand can be compared with all single operands listed in the
comparison rules for single operands .
A calculation expression can be compared with all single operands or
comparisons listed in the comparison
rules for calculation expressions .
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved