SAP SORTED KEY - Glossary



Get Example source ABAP code based on a different SAP table
  


VERSION 5 IN

sorted key
Unique or non-unique table key of an internal table, in which the assignment to the table lines is managed using a table index, the key entries of which are sorted in ascending order. A sorted key is the primary table key of a sorted table and can be assigned to all internal tables as a secondary table key. Sorting occurs according to the comparison rules for the data types of the key fields. When an internal table is accessed using a sorted key, the response time logarithmically depends on the number of table entries because the table is accessed using a binary search.