Get Example source ABAP code based on a different SAP table
ABAP_RELEXP > - Comparison Type of Calculation Expressions Any calculation expression> can be specified as an operand of a comparison expression>. The table below summarizes the combinations in which calculation expressions can be listed in comparison expressions: One side>Comparison operator>Other side> Single operand with numeric data type > or arithmetic expression> =>, EQ>, <>>, NE >, < >, LT>, >>, GT>, < =>, LE>, >=>, GE>> Arithmetical expression> Single operand with any elementary data type> or string expression> =>, EQ>, <>>, NE >, < >, LT>, >>, GT>, < =>, LE>, >=>, GE>>, CO>, CN>, CA>, NA>, CS>, NS>, CP>, NP >>String expression> Single operand with byte-like data type> or bit expression> =>, EQ>, <>>, NE >, < >, LT>, >>, GT>, < =>, LE>, >=>, GE>>, BYTE-CO> , BYTE-CN>, BYTE-CA>, BYTE-NA>, BYTE-CS>, BYTE-NS>>, O>, Z>, M>> Bit expression> The comparison type> is determined differently depending on the type of calculation expression.
Comparison type of arithmetic expressions>
Comparison type of string expressions>
Comparison type of bit expressions> In comparison expressions with the comparison operators BETWEEN>> and IN>>, which are converted internally to combinations of comparisons with the binary operators above, the rules of the respective comparisons apply.