Ansicht
Dokumentation

ABENLOGEXP_RULES_OPERANDS_ITAB - LOGEXP RULES OPERANDS ITAB

ABENLOGEXP_RULES_OPERANDS_ITAB - LOGEXP RULES OPERANDS ITAB

ABAP Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

- Comparing Internal Tables

Internal tables can be compared with other internal tables if their line types are comparable. Internal tables are compared based on the following hierarchy:

  1. The internal table that has more lines than the other internal table is the larger table.

  2. Internal tables with the same number of lines are compared line by line. If an internal table contains nested internal tables, these are compared recursively. Two internal tables are identical if the content of each corresponding line matches. If two internal tables are not identical, the first non-matching pair of lines determines the result of the comparison.

Note

If an internal table with a header line is specified as the operand of an assignment, the header line is addressed in nearly all operand positions and not the table body. To address the table body of a table with a header, [] must be appended to the name.

itab2 is greater than itab1, despite having the same number of lines, because the content of its second line is greater than that of itab1.

Comparing Internal Tables.






ROGBILLS - Synchronize billing plans   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1593 Date: 20240420 Time: 000326     sap01-206 ( 35 ms )