SAP Tutorials Blog

 

Logical Expressions:

... <itab1> {EQ|=|NE|<>|><|GE|>=|LE|<=|GT|>|LT|<} <itab2> ...


The first criterion for comparing internal tables is the number of lines they contain. The more lines an internal table contains, the larger it is. If two internal tables contain the same number of lines, they are compared line by line, component by component. If components of the table lines are themselves internal tables, they are compared recursively. If you use operators other than the equality operator, the system stops the comparison as soon as it finds a pair of components which are not equal and returns the result. In the case of internal tables with a header line, you can use square brackets ([]) after the table name to distinguish the table body from the table work area.


Serkan AKKAVAK

Computer Engineer BSc

SAP Department Manager

Contact : serkurumsal@yandex.com