Internal tables can quickly become a source of performance problems if not accessed correctly, SORTED
and HASHED
tables
should always be accessed with the appropriate key or partial key.
Noncompliant code example
READ TABLE it INTO work_area INDEX 1.
Compliant solution
READ TABLE it INTO work_area WITH KEY color = 'RED'.