ABAP also offers the conventional WHILE-Loop which runs until the given expression evaluates to false. The system field sy-index will be increased for every loop step.
WHILE
sy-index
WHILE condition. * do something ENDWHILE