Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Processing Internal Data →  Internal Tables 

System Class for Internal Tables

The class CL_ABAP_ITAB_UTILITIES contains the following methods:

  • FLUSH_ITAB_KEY and FLUSH_ITAB_KEYS can be used to update individual secondary table keys or all secondary table keys of an internal table explicitly. Otherwise the update takes place as a delayed or lazy update.
  • READ_BINARY_SEARCH_CHECK can be used with the addition BINARY SEARCH to activate checks on the required sort for test purposes. If the required sort does not exist, the runtime error ITAB_ILLEGAL_ORDER is raised when the check is activated.
  • HAS_COLLECT_HASH_ADMIN can be used to check whether the temporary hash management of the statement COLLECT exists for a standard table.
  • VIRTUAL_SORT can be used to apply virtual sorts to a set of internal tables with the same number of rows. The internal tables are treated internally like a single combined table containing all the columns of the involved internal tables. The result is an array of row numbers of the virtually sorted combined table. See the related executable examples.

Other versions: 7.31 | 7.40 | 7.54

Continue

Examples of Virtual Sorting of Internal Tables