Hi Arpit,
I guess the last page will be containing only the hard-code values.
To avoid this kindly do the following steps.
1. Before the loop, store the count of Table-size(internal table on which you are iterating) into one global variable(say GV_COUNT) using program-logic
2. In the 2nd tab[Conditions] of the Command-Line, write the condition as
SFSY-PAGE LT GV_COUNT
Doing so, the command-Line will not trigger at the last iteration and page-break will not happen.
Let me know if this wont work out.
Thanks,
Gupta