CRITICAL
Rule Definition
The INTO CORRESPONDING FIELDS option must be avoided as this option of the SELECT statement places the result set in the work area line by line. As mentioned in the book "Enhancing the Quality of ABAP Development", to accomplish this: "All field values from each table row are selected and transported to the application server first. Then the fields that are required are copied to the work area fields with the same name...Try to limit this type of programming to test programs or use it only for those tables that contain a limited number of fields. Generally, the preferred option, regarding both performance and maintenance, is to explicitly name the fields to be selected."
Remediation
Generally, the preferred option, regarding both performance and maintenance, is to explicitly name the fields to be selected.
Reference
Enhancing the Quality of ABAP Development,
Meijs-Krouwels-Heulmans-Sommen, SAP Press
ISBN 1-59229-030-2
Page 302
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.