SAP LOOP - Guide
Get Example source ABAP code based on a different SAP table
Loop Processing
ABAP_BACKGROUND
Alongside the statements for processing individual lines in internal tables, other statements can be used to address and modify the entire body of the table. Examples:
These types of accesses to the table body cause problems by producing a loop across the internal table
ABAP_RULE
You cannot use a loop across an internal table to perform accesses to the table that modify the entire table body at once.
ABAP_DETAILS
A modifying access to the entire table body usually produces a runtime error and at the very least unpredictable program behavior. If this is known statically, a syntax error occurs within classes. This error also occurs in
Latest notes:
ABAP_HINT_END