LOOP_WITHIN_LOOP is an ABAP runtime error which you may come across when using or developing within an SAP system. See below for the standard details explaining what it means and how you can avoid or fix this runtime error.
Short Dump Classification: A - ABAP Programming Error
You can view further information about a runtme error by using transaction code ST22 which will show you this and all runtime erros that have happen in your SAP system.
Also check out the Comments section below to view or add related contributions and example screen shots.
LOOP ... ENDLOOP cannot contain any other LOOP ... ENDLOOP
structure.
Please see program correction for more details about the possible cause of this runtime error and how it could be avoided.
Please see search hints for more details about the possible cause of this runtime error and how it could be avoided.
Please see send to sap for more details about the possible cause of this runtime error and how it could be avoided.
With field groups, LOOP within LOOP is not supported.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
The current ABAP/4 program <runtime parameter> uses field groups and extract
techniques.
In the current program, a LOOP on an extract dataset contains
another LOOP (i.e. a nested LOOP ... ENDLOOP), but this is not
allowed.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.