SAP Tutorials Blog

WHILE ENDWHILE – Conditional Loop

WHILE can be used to execute a certain lines of codes as long as the condition is true.

WHILE sy-index < 3.
  WRITE sy-index.
ENDWHILE.
Serkan AKKAVAK
Computer Engineer BSc
SAP Department Deputy Manager
Contact : serkurumsal@yandex.com