SAP LOGEXP RULES EXPR CHAR
Get Example source ABAP code based on a different SAP table
ARTICLE
String expressions can be used as operands in comparison expressions with
It is possible to compare a
If one of the operands in a comparison is a string expression, the
Note
A string expression cannot be specified as the operand of a
Example
This example demonstrates the effect of different comparison types. The first comparison is true, since the character-like operand is converted to the type of the numeric operand (in accordance with the rule for
WRITE / 'yes'.
ELSE.
WRITE / 'no'.
ENDIF.
IF |02| > 1.
WRITE / 'yes'.
ELSE.
WRITE / 'no'.
ENDIF.