I had modify a sorting form of the program, then when I run the background job it had been cancelled by the SAP system and come out with this TABLE_ILLEGAL_STATEMENT run time error.
The Error Analysis:
You attempted to change, delete or create a line in the internal table "ITAB_PRT", but no valid cursor exists for the table.
1. The relevant ABAP/4 statement doest not include the addition "... INDEX...", although the statement is not inside a "LOOP...ENDLOOP" loop processing this table.
2. The relevant ABAP/4 statement was called from within a "LOOP...ENDLOOP" loop after a DELETE "ITAB_PRT".
I had no idea how to correct this runtime error, anyone can help?