ABAP Keyword Documentation → ABAP - Reference → Program Flow → Expressions and Functions for Logical Expressions → log_exp - Logical Expressions → log_exp - Comparisons → log_exp Comparison Rules
log_exp - Comparing Internal Tables
It is possible to compare internal tables to other internal tables if their line types are comparable. Internal tables are compared based on the following hierarchy:
Other versions: 7.31 | 7.40 | 7.54
Note
If you specify an internal table with a header as the operand of a logical expression, the system addresses the header and not the
table body as is the case for almost all
operand positions. To address the table body of a table with a header, you must append []
to the name.