ABAP Keyword Documentation → ABAP − Reference → Program Flow Logic → Expressions and Functions for Conditions → log_exp - Logical Expressions → rel_exp - Comparison Expressions → rel_exp - Comparison Rules → rel_exp - Comparing Elementary Data Types
rel_exp - Comparison Type of Elementary Data Objects
The following sections describe which comparison types are produced by combining different elementary data objects. They also include the rules that determine the length in which the comparison is made when comparison types have generic lengths.
Other versions: 7.31 | 7.40 | 7.54
Note
When converting between directly specified elementary data objects with different data types, any of the exceptions listed
here can be raised. In comparisons, these exceptions
are either handled implicitly or produce a runtime error. They cannot, however, be handled using
CATCH
. In comparisons of expressions, it is possible to handle some exceptions.
Continue
rel_exp - Comparison Type of Numeric Data Objects
rel_exp - Comparison Type of Character-Like Data Objects
rel_exp - Comparison Type of Byte-Like Data Objects
rel_exp - Comparison Type of Date Fields, Time Fields, and Time Stamp Fields