cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with page numbers in smartforms

Former Member
0 Kudos

HI

I am facing some problem with page numbers in smartforms,

we have a requirement to print the pagenumbers like 1 of 4 pages

2 of 4 pages

3 of 4 pages

Accepted Solutions (1)

Accepted Solutions (1)

P561888
Active Contributor
0 Kudos

Hi ,

&SFSY-PAGE& of &SFSY-FORMPAGES& instead of this use below one..

&SFSY-FORMPAGES4(4CZ)& as &SFSY-FORMPAGES0(4CZ)&

Regards,

Bharani

Former Member
0 Kudos

HI Thanks for the reply.

Already i am using like &sfsy-page& of *sfsy-formpages&

it is working fine

but problem is if i have two documents then page numbers should come according to documents.

let us say i have two documents each one contain 3 pages.

then print shold come like for the first document

1 of 3 pages

2 of 3 pages

3 of 3 pages

and for the second document

1 of 3 pages

2 of 3 pages

3 of 3 pages

but it is coming like

1 of 6 pages

2 of 6 pages

3 of 6 pages

4 of 6 pages

5 of 6 pages

6 of 6 pages

please suggest me how to do this.

Edited by: Lavanya123 on Jan 29, 2010 8:07 AM

Former Member
0 Kudos

Already i am using like &sfsy-page& of *sfsy-formpages&

it is working fine

but problem is if i have two documents then page numbers should come according to documents.

let us say i have two documents each one contain 3 pages.

then print shold come like for the first document

1 of 3 pages

2 of 3 pages

3 of 3 pages

and for the second document

1 of 3 pages

2 of 3 pages

3 of 3 pages

but it is coming like

1 of 6 pages

2 of 6 pages

3 of 6 pages

4 of 6 pages

5 of 6 pages

6 of 6 pages

please suggest me how to do this.

Former Member
0 Kudos

Hi

Any Updates please,

is it possible or not in smart forms.

Sandra_Rossi
Active Contributor
0 Kudos

Yes possible and this has been answered many times in the forum. I won't give you the answer as I found it very easily (for example search "reset page number", etc.)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Lavanya,

i have seen your thread in Forum.

i am also facing same problem in smartforms for page numbers.

my Requiremenr is:

i have done the page breaking through driver program.

for example:

there is 10 pages by country INDIA.

1.first duty station is MUMBAI contains 3 pages. so first page will start with 01 of 03 and 2nd page is 02 of 03 and last page

is 03of 03

2. 2nd duty station is DELHI and it contains 2 pages so first page of DELHI duty station will start with 01 of 02 and 02 of 02.

3. 3rd duty station GOA and it contains 5 pages so firt page is 01 of 05 nad so on 05/05.

i think you also faced the sam problem in 2010. please help me if you have solution.

thanks in advance.

Regards,

Sudheer

sudheer.chilukuri capgemini.com

Former Member
0 Kudos

Hi,

Use the following form variables

SFSY-FORMPAGES - Total Number of Form Pages

SFSY-PAGE - Page Number

Hope this gives some idea.

Regards,

Aswini

sridhar_meesala
Active Contributor
0 Kudos

Hi,

Use &SFSY-FORMPAGES(3CZ)& for the total number of pages.

Thanks,

Sri.