04-04-2006 7:34 PM
Hello,
I'm going to get crazy with that page numbers in Smartforms...
I only want to display "Page x / y" using:
<i>Page &SFSY-PAGE& / &SFSY-FORMPAGES&</i>
but on the 10 first pages I get "Page 1 / *", "Page 2 / *" ... "Page 9 / *" and then only I have the real result for the 10th page........
(using Format "1,2,3" and Mode "Increase")
and tried to define some data :
<i>data: w_page type numc2.
move SFSY-FORMPAGES to w_page.</i>
and displaying w_page, but during the execution SFSY-FORMPAGES has the same value as SFSY-PAGE... so I get 1/1, 2/2, 3/3 etc.....
Some help please!!!
Thanks,
Seb
04-04-2006 9:34 PM
04-04-2006 7:54 PM
Hi,
Your page definition (Page &SFSY-PAGE& / &SFSY-FORMPAGES& )will work. I think your window width is not enough to print complete text. Please increase window width in which you are printing the page info.
Regards,
Lanka
04-04-2006 9:22 PM
i had a similar problem earlier some time back. I had to apply an sap note for this. I am not sure which one. Please check SAP NOTES for this error if the error still exists.
04-04-2006 9:34 PM
04-04-2006 9:46 PM
hisebastien
try Page &SFSY-PAGE& / &SFSY-JOBPAGES&
&SFSY-JOBPAGES& is Total Number of Pages of Print Job
may be this will give correct one.
if it is useful don't forget to reward the points
Regards,
naveen
04-04-2006 9:47 PM
04-12-2006 1:45 PM
Hi,
simply use &SFSY-PAGE(Z)& / &SFSY-FORMPAGES(Z)&.It solves.
Thanks & Regards,
Maheswar.A.U.
Intelligroup Asia Pvt Ltd,
Hyderabad
04-12-2006 2:28 PM
wonderful,it worked perfectly,Tx.alot as I have been struggling for it for long time.
Thnaks,
Bhaskar
Message was edited by: BHASKAR ADDEPALLI
04-23-2007 6:40 AM
Hi,
I had the same issue. I tried the solution given by Maheshwar but it didnt work ... Bhaskar, you have replied that it worked for you. Can you tell me whose solution worked and if possible just put the piece of code here.
Thanks,
Aruna