cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Forms : Total pages greater than 9 printing as *

GauravKoundal
Explorer
0 Kudos

Hi All,

I have one Smart form having 10 pages.

If the Total pages more than 9 pages its showing as page 9 of * .

but If total pages are less than 10 then its is coming properly as Page 1 of 9.

[;

I have also check this thread and use &SFSY-FORMPAGES(3ZC)& But in this case it is coming page 1 of 01

Please help.

Thanks

Gaurav

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi gaurav

try using this pattern : &SFSY-FORMPAGES+0(4CZR)& / &SFSY-FORMPAGES(4CZR)&

Please let me know if issue is still exist .

Note : page window must be the last window in smartform

Thanks

Hariharan

Edited by: Harihrconst on Aug 26, 2011 6:28 AM

GauravKoundal
Explorer
0 Kudos

Hi All

Thanks For your Help. Issue is resolved.

Page &SFSY-PAGE& of &SFSY-FORMPAGES& . please make sure that the page window must be the Last window in your smartform. thanks hariharan for your valuable answer.

Thanks

Gaurav

Answers (5)

Answers (5)

aidan_black
Active Contributor
0 Kudos

Hi,

&SFSY-FORMPAGES(3ZC)& is the correct formatting. But you also have to apply the code correction of the following SAP note:

1286213 - Incorrect formatting FORMPAGES, JOBPAGES

regards,

Aidan

former_member215781
Active Participant
0 Kudos

Try &SFSY-FORMPAGES(3ZC)& as described in the SAP note 588352

raymond_giuseppi
Active Contributor
0 Kudos

Define the window containing this text as a "late processing window" (General attributes, Window type set to "L Final Window")

(For 46c/46d this option did not exist, there was a solution described in [Note 359009 - Postprocessing and query of the total number of pages|https://service.sap.com/sap/support/notes/359009] for older versions [Note 588352 - '*' when you output the total number of pages|https://service.sap.com/sap/support/notes/588352] suggested to "reserve sufficient space for the number of pages by specifying an explicit length in the formatting options")

Regards,

Raymond

Former Member
0 Kudos

Hi Gaurav,

Use below code:

Page &SFSY-PAGE& of &SFSY-FORMPAGES+0(4CZ)&

It will surely work.

BR

Dep

Former Member
0 Kudos

Hi,

Try increasing the size of the window. Sometimes if it wont fit in, the * will get printed.

Shiva