cancel
Showing results for 
Search instead for 
Did you mean: 

How to write a line at the bottom of the page

Former Member
0 Kudos

Hello all,

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 ?

Points guaranteed.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Surendra,

you r using 2 pages.. right?

when the delivery doc no changes again the first page triggers. so make you first page's number type initiate. it'll start counting from 1.

Reward if useful

Regards

ANUPAM

Former Member
0 Kudos

Hi,

the issue now is I am getting the page number correctly.

Only problem is it is not printed at the bottom of page.

              • ***** ******** ********* **********

              • ****** ********* ********* *******

Page 1

As shown above the page number appears immediately after the contents of body.

What I want is,

              • ***** ******** ********* **********

              • ****** ********* ********* *******

Page 1

hope it is clear.

Thanks.

Former Member
0 Kudos

Create a text at the bottom of the page. and write the page number there.

Thanks

ANUPAM