You use the access mode to specify how to access the data in the internal table defined by the table type when performing key operations (READ TABLE, INSERT TABLE, MODIFY TABLE, COLLECT). The access mode defines whether key accesses to the internal table are allowed. For more information, see Keys of Table Types .
Possible access modes are:
The key access to a standard table uses a sequential search. The time required for an access is linearly dependent on the number of entries in the internal table.
We recommend you access a standard table with index operations.
The table is stored internally sorted by its key. Key access to a sorted table can use a binary search. If the key is not unique, the entry with the lowest index is accessed. The time required for an access is logarithmically dependent on the number of entries in the internal table.
Index accesses to sorted tables are also allowed. We recommend you access a sorted table using its key.
The table is internally managed with a hash procedure. All the entries must have a unique key. The time required for a key access is constant, that I,s it does not depend on the number of entries in the internal table.
You cannot access a hash table with an index. Accesses must use generic key operations (SORT, LOOP, and so on).
The table can be a standard table or a sorted table.
Index access is allowed to such an index table. You can use index tables to define the type of generic parameters of a FORM (subroutine) or a function module.
The table can be a standard table, a sorted table or a hash table. The set of valid operations on such a table is the intersection of the valid operations for these three access modes.
You cannot access tables of this type with index operations.
If you select Index table or Not Specified for the access mode, the system creates a generic table type that cannot be used to define data objects or types in programs.