ABAP_RELEXP > - Binary Comparison Operators The following table shows the binary comparison operators for comparisons between two operands (data objects or return values or calculation expressions>) of any data types in comparison expressions>. operator>>Meaning> ABAP_KEY =>, ABAP_KEY EQ>Equal: True, if the value of operand1> is equal to the value of operand2>. ABAP_KEY <>>, ABAP_KEY NE>Not Equal: True, if the value of operand1> is not equal to the value of operand2>. ABAP_KEY < >, ABAP_KEY LT>Less Than: True, if the value of operand1> is less than the value of operand2>. ABAP_KEY >>, ABAP_KEY GT>Greater Than: True, if the value of operand1> is greater than the value of operand2>. ABAP_KEY < =>, ABAP_KEY LE>Less Equal: True, if the value of operand1> is less than or equal to the value of operand2>. ABAP_KEY >=>, ABAP_KEY GE>Greater Equal: True, if the value of operand1> is greater than or equal to the value of operand2>. The values are compared in accordance with the comparison rules>.
ABAP_PGL Use consistent spelling> ABAP_PGL_END
Latest notes:
The operators =>, <>>, < >, >>, < =>, and >=> are equivalent to EQ>, NE>, LT>, GT>, LE>, and GE> respectively. It is recommended that only one or the other set of operators is used within the context of a program. If in doubt, the variant with the characters =>, < >, and >> is considered to be more up-to-date, however this also contributes to the overload of these characters. Comparison operators that consist of two letters, on the other hand, are better suited to other comparison operators such as CO>>, CN> >, and so on, for which there are no alternative forms.
Due to the comparison rules>, the size comparisons shown here are not suitable for determining the textual order of character-like data objects. NON_V5_HINTS
The obsolete forms > < >, =<(> <<)>>, and =>>> of comparison operators may still appear outside of classes. ABAP_HINT_END
ABAP_EXAMPLE_VX5 Logical expression as a termination condition of an unlimited DO>> loop. ABEXA 01076 ABAP_EXAMPLE_END