SAP Tutorials Blog


DO – ENDDO – Unconditional Loop

DO can be used to execute a certain lines of codes specific number of times.

DO 5 TIMES.
  WRITE sy-index.  " SY-INDEX (system variable) - Current loop pass
ENDDO.

Serkan AKKAVAK
Computer Engineer BSc
SAP Department Deputy Manager
Contact : serkurumsal@yandex.com