Skip to content

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


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.


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