While .. Endwhile


Ex :

Steps :

  1. Go to transaction code SE38.
  2. Enter the program name Z or Y<program name>
  3. Select attribute type as Executable program.
  4. Click on Save.

Source Code

 DATACOUNT  TYPE I.

PARAMETERS NUM TYPE I.

COUNT  1.

WHILE COUNT  <= NUM .
WRITE COUNT .
COUNT COUNT 1.
ENDWHILE.


Input



Output


Comments

Popular posts from this blog

FOR ALL ENTRIES (FAE) -4 TABLES USING ALV_GRID_DISPLAY

RADIO-BUTTONS IN BASIC REPORT