Rule Definition
LOOP ... ASSIGNING is faster than LOOP ... INTO if field-symbols are modified. In this specific case, the system automatically update data in internal table.
Remediation
Replace LOOP INTO constructs by LOOP ASSIGNING constructs and use field-symbols.
Violation Code Sample
LOOP AT itab INTO wa_tab.
...
wa_tab-fld1 = 'X'.
MODIFY itab FROM wa_tab.
ENDLOOP.
Fixed Code Sample
LOOP AT itab ASSIGNING <fs>.
...
<fs>-fld1 = 'X'.
ENDLOOP.
Related Technologies
Technical Criterion
Efficiency - Expensive Calls in Loops
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.