sap-script page display
i am printing a sap script, in which i need to give the column headings in "header" window.
the problem is even if the data ends on 1 page, the next page gets printed .
Please tell the code which needs to be included to stop
printing next page when data ends in the current page.