CONTINUE (ABAP Keyword) introduction & details
CONTINUE
Basic
form
CONTINUE.
Effect
Within loop structures like
DO …
ENDDO
WHILE … ENDWHILE
LOOP … ENDLOOP
SELECT …
ENDSELECT
CONTINUE terminates the current loop pass, returns the
processing to the beginning of the loop and starts the next loop pass, if there
is one.
Example
DO loop: Omit an area (10 … 20)
DO 100
TIMES.
IF SY-INDEX >= 10 AND SY-INDEX <= 20.
CONTINUE.
ENDIF.
…
ENDDO.