11-30-2005 9:53 PM
I am trying to display a smartform as an html output using XSF output option. However, I am unable to display the total no. of pages. I am using SFSY-FORMPAGES to display Page x of y.
Does anybody have a suggestion to solve this issue? We are in WebAS 620.
Thanks
11-30-2005 9:58 PM
Hi
Use the command &SFSY-PAGE(4Z)&/SFSY-FORMPAGES(4Z)&. This will solve your problem.
Thanks
11-30-2005 10:44 PM
Sorry! It still doesn't work. It works fine on normal printout and PDF output but not in XSF output.
11-30-2005 10:52 PM
12-01-2005 12:25 AM
I did take a look at that example program but interestingly the output created by the program does not have the total number of pages either.
THis is what I am getting
Page 2 / Please visit us in the Web: www.sap.com
12-01-2005 12:35 AM
This is the generated XML code
- <window name="PAGE" page="NEXT" page-id="001">
- <text name="PAGE" style="SF_XSF_DEMO1" lang="EN">
- <p name="AS">
Page
<sym name="SFSY-PAGE">2</sym>
/
<sym name="SFSY-FORMPAGES" />
</p>
</text>
</window
Seems like SFSY-FORMPAGES is blank.