I have to work with Step Loops. with all the research I found
LOOP AT ITAB CURSOR CL INTO WA.
ENDLOOP.
in flow logic in the PBO event will transfer the content from internal table to the screen field automatically and it enable scrolling. when scrolled the PAI event is triggered, and in PAI,
LOOP AT ITAB.
ENDLOOP.
will automatically take care of scrolling. This kind of method display as many table rows that my screen can contain. I found these with Transaction TZ61.
Now the Problem is In my output screen I need to control how many table rows is displayed. so I made these addition.
PROCESS BEFORE OUTPUT.
LOOP AT ITAB CURSOR CL INTO WA FROM N1 TO N2..
ENDLOOP.
PROCESS AFTER INPUT.
LOOP AT ITAB.
ENDLOOP.
N1 of type I has value 1 , N2 of type I has value 5, CL of type I has value 1.
Now In output I managed to get 5 table rows as required but the scrolling event is not triggering. please guide me what are all the changes that I need to do If I made the additions FROM N1 TO N2.
when I scroll the contents are not scrolling. only the first 5 rows from the internal table is displayed. but my internal table has 100 rows.
please guide me at the earliest. I had referred sap technical and help.sap.com but I couldn't find any solution. please help.