IN a sap script i want to print 10 records in main window, there are header, main, and footer window, in main window there is a condition that only 8 records is limited and then the second page will print 2 records and the remaining space should not be shown and footer should come after the 10th record of the 2nd page how 2 handle this?