ABAP Keyword Documentation →  ABAP − Reference →  Program Flow Logic →  Expressions and Functions for Conditions →  log_exp - Logical Expressions →  rel_exp - Relational Expressions →  rel_exp - Comparison Rules →  rel_exp - Comparing Elementary Data Types → 

rel_exp - Comparisons of Elementary Data Objects

The following sections describe which comparison types result from combining different data objects. They also include the rules that determine the length in which the comparison is made when comparison types have generic lengths.

Note

When converting between elementary data objects with different data types, any of the exceptions listed here can be raised. In comparisons, these exceptions can never be handled and always produce a runtime error.




Continue
rel_exp - Comparing Numeric Data Types
rel_exp - Comparing Character-Like Data Types
rel_exp - Comparing Byte-Like Data Types