STEP LOOP
The STEP LOOP are the predecessor of TABLE CONTROL they are used to
display tabular data on the screen.They are repeated sequence of blocks of screen element.In a step loop number of screen
elements
are combined together to form a loop block.There are 2 types of step loops
1)fFxed Size 2)Variable Size..
In a fixed size loop the number of loop blocks shown in the screen is fixed,while in case of variable size step
loop the number of blocks will change dynamically
according to the size of the screen.There could be only one variable step loop per screen and unlimited fixed size step
loops per screen.
A step loop can extend more than one line on the screen(see Table Control).A vertical scroll bar is automatically
created to show step loops on he screen.
Step loops have no name. We use LOOP ...ENDLOOP to program step loops in a screen in
both PBO and PAI.
Since the number of loop blocks in variable step loops can change the number of loop blocks at any moment is placed
by the system in system field SY-LOOPC
and the current step loop pass number is placed in system field SY-STEPL .
Loop Type attribute is used to specify the type of step loop and Loop
Count attribute is used to specify the number of step loop blocks that will be displayed on the screen at a time.