Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

page numbers (smart forms)

Former Member
0 Kudos
79

How to declare page number for each page and also the total page number ?

For Example : A Book contains 100 pages, in that each page have one number and total pages in that book like 1/100.

5 REPLIES 5

Former Member
0 Kudos
42

hi

use &SFSY-PAGES& of &SFSY-FORMPAGES&

shiva

Former Member
0 Kudos
42

>

> How to declare page number for each page and also the total page number ?

>

> For Example : A Book contains 100 pages, in that each page have one number and total pages in that book like 1/100.

Hi Krishna,

You can specify your title and page numbering

&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES&(Total Page)

Thanks

Nitesh

Former Member
0 Kudos
42

Hi,

U can have the following code:

&SFSY-PAGE& of &SFSY-FORMPAGES&

This will print the current page no and the total no of pages.

Regards,

Navin Fernandes.

Former Member
0 Kudos
42

Hi Krishna,

Just to add some more thing. Hope it will be helpful to you.

&SFSY-PAGE&

Inserts the number of the current print page into the text. You can determine the format of the page number (for example, Arabic, numeric) in the page node.

&SFSY-FORMPAGES&

Displays the total number of pages for the currently processed form. This allows you to include texts such as'Page x of y' into your output.

&SFSY-JOBPAGES&

Contains the total page number of all forms in the currently processed print request.

For more info on building a form, go through this link.

http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.h...

Thanks

Nitesh

Former Member
0 Kudos
42

&SFSY-PAGE& / &SFSY-FORMPAGES(3ZC)&