Application Development and Automation 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: 
Read only

SmartForms Page-Numbers

Former Member
0 Likes
522

Good day everyone!

I am having a hard time trying to figure out how to customize the settings of the page number for each page in sapscript. Here is what I want to happen:

ex: there are 10 pages and the first 9 pages should contain a page numbering like this: page 1 of 9, 2 of 9, 3 of 9... and so on. and then, the last page should just contain page 10.

I have tried using form pages and job pages but all that happens is it each page doesnt show a total of nine, instead it shows: page 1 of 1, 2 of 2, 3 of 3, and so on...

I would greatly appreciate if you could help me on this one. Thanks in advance!

>christian<

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
493

In this case u have to handle page numbering.

In form u have to place condition like this.

if &SFSY-PAGE& eq &SFSY-FORMPAGES&

&SFSY-FORMPAGES&

else

&SFSY-PAGE& of &SFSY-FORMPAGES&

endif

Check and let me know.

Regards

Good day everyone!

I am having a hard time trying to figure out how to customize the settings of the page number for each page in sapscript. Here is what I want to happen:

ex: there are 10 pages and the first 9 pages should contain a page numbering like this: page 1 of 9, 2 of 9, 3 of 9... and so on. and then, the last page should just contain page 10.

I have tried using form pages and job pages but all that happens is it each page doesnt show a total of nine, instead it shows: page 1 of 1, 2 of 2, 3 of 3, and so on...

I would greatly appreciate if you could help me on this one. Thanks in advance!

>christian<

3 REPLIES 3
Read only

Former Member
0 Likes
493

Good day!

Im sorry because I mention sapscript in my previous message. It was suppose to be SmartForms. Sorry for that!

>christian<

Read only

Former Member
0 Likes
493

hi,

Check out OSS Note <b>779492</b>

Check out this thread ..

Regards,

santosh

Message was edited by: Santosh Kumar P

Read only

Former Member
0 Likes
494

In this case u have to handle page numbering.

In form u have to place condition like this.

if &SFSY-PAGE& eq &SFSY-FORMPAGES&

&SFSY-FORMPAGES&

else

&SFSY-PAGE& of &SFSY-FORMPAGES&

endif

Check and let me know.

Regards