abapOpenChecks - Installation - Checks - Utilities - Links

CHECK_62 - LOOP simplification/performance

CODE

Use DELETE WHERE instead

LOOP AT lt_tab ASSIGNING <fs> WHERE ...
   DELETE lt_tab FROM <fs>.
ENDLOOP.

It should be replaced with: DELETE lt_tab WHERE ...

Ref: https://wiki.scn.sap.com/wiki/display/ABAP/How+to+avoid+modify+and+delete+statements+inside+loop+end+loop+using+field+symbols

Configuration

Configuration