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
956

Hi experts,

Iam working on smartforms.

In one of the windows, i have given


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

In the above code it is always showing 1 of 1.

Why iam not getting proper page nos if i have 10 pages.

thanks

kaki

11 REPLIES 11
Read only

FredericGirod
Active Contributor
0 Likes
934

Hi Kaki,

try this one : &SFSY-JOBPAGES&

Rgd

Frédéric

PS: to know the available fields in smartforms, go to the menu -> Utilities -> Field list on/off

That will open a little window in the lower left corner with all the fields that you could use.

Message was edited by: Frédéric Girod

Read only

Former Member
0 Likes
934

hi,

try Page &SFSY-PAGE& of &SFSY-JOBPAGES&

&SFSY-JOBPAGES& is Total Number of Pages of Print Job

may be this will give correct one.

regards

vijay

Read only

0 Likes
934

Hi experts,

&JOBPAGES& is showing total number of pages.It is fine.

But if i go to second page it is showing 1 of 8, instead of 2 of 8.

What might be reason??

thanks

kaki

Read only

0 Likes
934

Do you have do something special with the page in your smartforms ?

What did the others page give you ? always 1 or the page number 3 give you 2 ?

Fred

Read only

0 Likes
934

Hi Frédéric Girod

It is always showing 1.

kaki

Read only

0 Likes
934

Hi,

where are you writing this ?

and do you have next page to the first page.

check it..

regards

vijay

Read only

0 Likes
934

Hi again

the problem is SFSY-PAGE is that SAP used in standard Smartforms ...

maybe you try to write this field in a too small place ?

maybe you call your next page in a wrong .. but how ?

Fred

Read only

0 Likes
934

Hi Vijay & Frédéric,

I have two pages and both are having windows equally(i have copied page 1 to page 2).

In the first page, i have given next page as NEXT page.

In the NEXT page i have given next page is NEXT.

Each page is having 5 windows.At the first window i have defined the pages.

thanks

kaki

Read only

0 Likes
934

Hi,

it is because of page sequence only, to test give FIRST page NEXT page is FIRST page and try...

Regards

vijay

Read only

Former Member
0 Likes
934

Hi Kaki,

Try in this way.

&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)

Or try this link which have got the similar reqmts.

http://www.sapbrain.com/SMARTFORMS/smartforms.html

Cheers

Sunny

Read only

Former Member
0 Likes
934

Hi Kaki,

&SFSY-PAGE& of &SFSY-JOBPAGES&

Did you define these text within the <b>main window</b> ?