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 no

Former Member
0 Likes
817

hi gurus,

i have a problem in displaying my page no.

Page No. &sfsy-page& of &sfsy-formpages&

when &sfsy-page& is a single digit the &sfsy-formpages& displays *(asterisk)

ex. 1 of * -> where * is 31,

however when &sfsy-page& is two digits the &sfsy-formpages& displays properly.

ex. 10 of 31.

can you help me on this one?

<<Do not offer points>>

thanks,

eo

Edited by: Matt on Feb 28, 2009 7:22 PM

1 ACCEPTED SOLUTION
Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
752

Hi,

Use:-

&SFSY-PAGE& for page number

and &SFSY-FORMPAGES(3ZC)& for total pages.

So take Page: &SFSY-PAGE& of &SFSY-FORMPAGES(3ZC)&

Hope this helps you.

Thanks & Regards,

Tarun

6 REPLIES 6
Read only

Former Member
0 Likes
752

&sfsy-page(3)& of &sfsy-formpages(3)&

Read only

0 Likes
752

thanks but it seems to have a problem in total pages

it displays

1 of 013.

how can i remove 0?

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
752

Hello,

This problem happens every time to every ABAP developer )

Define the window as "Finals Window" & then try like this:

Page No. &sfsy-page(CZ)& of &sfsy-formpages(CZ)&

BR,

Suhas

Read only

Former Member
0 Likes
752

Hi,

Suhas is right.

See this recent thread

Check this SAP note as well

Note 588352 - '*' when you output the total number of pages

Regards

Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
753

Hi,

Use:-

&SFSY-PAGE& for page number

and &SFSY-FORMPAGES(3ZC)& for total pages.

So take Page: &SFSY-PAGE& of &SFSY-FORMPAGES(3ZC)&

Hope this helps you.

Thanks & Regards,

Tarun

Read only

Former Member
0 Likes
752

Hi

it is the problem that can be solved by condensing the total formpages.

You can write it in this way that condenses the total number of pages.

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

This defnitly will solve your problem

regards

Hareesh