cancel
Showing results for 
Search instead for 
Did you mean: 

smartform output error &SFSY-FORMPAGES& &SFSY-JOBPAGES&

Former Member
0 Kudos

Hi, everyone.

I have a issue about smartform printing.

My smartform contains system variables

&SFSY-PAGE&, &SFSY-FORMPAGES&, &SFSY-JOBPAGES&

example as below.

I have a 64 pages form printing.

but I got preview like this

PAGE: 6/ 46/46

6: &SFSY-PAGE&

46:&SFSY-FORMPAGES&

46:&SFSY-JOBPAGES&

AS I print it out, as preview.

Does anybody have the issue like this?

Please help solve. Thank in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi, everyone.

You may miss my understanding.

My question is while I print out the total page variable, &SFSY-FORMPAGES&, it is rotated.

example: Page 1 of 46. Actually, I have 64 pages to print out.

Does anybody have this question before?

Thanks in advance.

Former Member
0 Kudos

Hello,

check this link may help u..

Thank u,

santhosh

Former Member
0 Kudos

Thanks for your help.

I solved the question by putting &SFSY-FORMPAGES& in final window.

Why it works?

Does some body know the truth?

Thanks a lot.

Former Member
0 Kudos

Hello,

I hope all the footer details we can put in the final window only ...like signature and this pages details.

so its working right...fine.

please close the thread.

Thank u,

santhosh

Answers (4)

Answers (4)

former_member203305
Active Contributor
0 Kudos

Hi,

check ur code for this one

&SFSY-PAGE&/&SFSY-FORMPAGES&

the output will be 1/64...

Regards

Former Member
0 Kudos

Hi Grison,

page : &SFSY-PAGE& of &SFSY-FORMPAGES&

Regards,

Sravanthi

Former Member
0 Kudos

Hi,

If you use &SFSY-PAGE& of &SFSY-FORMPAGES&

the output will be like 1 of 64

2 of 64........

&SFSY-PAGE&:- Inserts the number of the current print page into the text. You determine the format of the page number (for example, Arabic, numeric) in the page node

&SFSY-FORMPAGES&:- Displays the total number of pages for the currently processed form. This allows you to include texts such as u2018Page x of yu2019 into your output.

&SFSY-JOBPAGES&:-Contains the total page number of all forms in the currently processed print request.

Since in your case job contains only one form so you are getting 46 for both form pages and job pages(job can have any number of forms).

Thank U,

Jay....

Former Member
0 Kudos

you can check on first page of form , the first page will start 1

Page &SFSY-PAGE&/&SFSY-FORMPAGES&