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: 

Displaying Page Number in Smartforms

Former Member
0 Kudos

Hi,

I'm doing a page break in smartforms by date. In my output, the page number displays Page 1 of * (instead of Page 1 of 11) but when it displays 2 digits for the field SFSY-PAGE, it displays the total number of pages. (e.g. Page 10 of 11). I used the system fields (Page sfsy-page of sfsy-formpages). I just want to ask if any of you has an idea or have experienced this kind of error. Your help is highly much appreciated. Thanks!

9 REPLIES 9

bpawanchand
Active Contributor

hi

Try to create a FINAL WINDOW and write the &SFSY-PAGE& and &SFSY-FORMPAGES& in that window.

regards

Pavan

Former Member
0 Kudos

Hi,

Assign that particular window type as final window then the pages numbers will be printed.

Regards,

Sravanthi

former_member188685
Active Contributor

Reset the Window type to "FINAL".

Click on the Window -> Output Options -> Window Type

Choose the window type as Final from the Drop down and save it.

Now check it. THe problem is because of Window Type.

Former Member
0 Kudos

Hi James,

First create a FINAL WINDOW and then write

Page &SFSY-PAGE& of &SFSY-FORMPAGES&

in that window.

Hope this helps you.

Regards,

Chandra Sekhar

Former Member
0 Kudos

Hi James,

Change your syntax to this format,

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

This would surely solve your problem.

Regards,

Keerthi vasan.M

Edited by: keerthi vasan on Jul 29, 2008 9:46 AM

Former Member
0 Kudos

yes keerthi is correct. i encounter the same issue long time back 3ZC helps to solve the issue

Former Member
0 Kudos

Hi

current page / total number of pages

&SFSY-PAGE& / &SFSY-JOBPAGES&

Go through the link given below :

http://help.sap.com/saphelp_nw04/helpdata/en/fa/0c145cd30111d3b568006094192fe3/frameset.htm

With Regards

Nikunj Shah

Former Member
0 Kudos

Hi james,

To avoid * in the page number window use FINAL WINDOW...

That would definitely resolve your issue.

Regards,

Bhumika

Former Member
0 Kudos

Hi,

I have done your solutions/ suggestions to my query and it solved my issues in smartforms. Thank you for your help.. 😃