on 08-25-2011 9:04 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try &SFSY-FORMPAGES(3ZC)& as described in the SAP note 588352
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gaurav,
Use below code:
Page &SFSY-PAGE& of &SFSY-FORMPAGES+0(4CZ)&
It will surely work.
BR
Dep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try increasing the size of the window. Sometimes if it wont fit in, the * will get printed.
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.