hi folks,
Some time back I had disucssed this issue in the forum,
req:
I have to count the number of lines to determine the number of pages the data is taking for each customer.
In this code below, it takes a fixed number of lines to determine the number of pages it is taking.
There is a small change here..
First page it takes 25 lines and from the next page onwards it has to count for 35 lines
How to go about it?
LOOP AT ACCITAB.
counter = counter + 1.
at end of zadvertiser.
if counter < '18'.
clear accitab-zsortgroup.
move '5' to accitab-zsortgroup.
modify accitab transporting zsortgroup where zsortgroup is initial.
insert lines of accitab into table final_accitab.
endif.
Thanks for your help here.
Vinu