CRITICAL
Rule Definition
Indexes speed up data selection from the database. They consist of selected columns of a table, of which a copy is then made in sorted order. If you specify the index columns correctly in a condition in the WHERE or HAVING clause, the system only searches part of the index (index range scan).
A query that is not based on indexed columns will lead to a full table scan that is extremely time consuming.
Remediation
Try to use indexed columns in WHERE and HAVING clauses. If it is not possible, then create a secondary index for these columns.
Reference
Enhancing the Quality of ABAP Development
Meijs - Krouwels - Heuvelmans - Sommen
SAP Press
ISBN 1-59229-030-2
Related Technologies
Technical Criterion
Efficiency - SQL and Data Handling Performance
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.