My smartform has header, body,footer.
I have placed everything in MAIN window as the details should come in all the pages.
Now my requirement is I have to print the page number at the bottom of the page.
I print multiple documents at a single shot (means multiple deliveries for example.)
The page number must be reset when I start printing another document (new delivery).
For this, as I can not use SFSY-PAGE,SFSY-FORMPAGES etc., I have used a variable and incremented it. It looks fine.
But my problem is I am not able to print the page number at the bottom of the page. It appears immediately when the header and body is finished.
Can you help suggesting some Idea so that Page number can be pushed to the bottom ?