‎2006 May 10 11:01 AM
Hi everyone,
I am using the system variable SFSY-FORMPAGES and when the total pages is above 9, I get a star "*" instead of the real number of pages.
Can someone help.
Thanks in advance.
‎2006 May 10 11:08 AM
Hi David,
maybe there isn't enough space for the text in the field
Try to use SFSY-FORMPAGES(C) (condense spaces) or try to give more space to the text.
Let me know.
Best regards,
Manuel
PS: please remember to close the thread and to reward points when your problem is solved. Thank you
‎2006 May 10 11:06 AM
‎2006 May 10 11:08 AM
Hi David,
maybe there isn't enough space for the text in the field
Try to use SFSY-FORMPAGES(C) (condense spaces) or try to give more space to the text.
Let me know.
Best regards,
Manuel
PS: please remember to close the thread and to reward points when your problem is solved. Thank you
‎2006 May 10 11:11 AM
Hi David,
Try &SFSY-FORMPAGES(3ZC)&. This may solve your problem
Thanks and Regards,
Bharat Kumar Reddy.V
‎2014 Jul 17 6:38 PM
‎2006 May 10 11:12 AM
I think this is because of the space constraint on the form.
regards,
Ravi
‎2006 May 10 11:19 AM
Hi David,
Try like this SFSY-FORMPAGES(4ZCR).I think this will solve the problem.
Thanks,
Vamsi.
‎2006 May 10 11:38 AM
Hi,
When I drag the SFSY-FORMPAGES to the text element
I am not unable to write the (C) or the (4ZCR)
like you suggested.
I can only write this after the '&'.
Thanks.
‎2006 May 10 11:42 AM
You can do that only SAP Scripts, If I remember it right.
In SMART Forms, if you have enough width on the window, that should be good enough.
Regards,
Ravi
Note : Please mark the helpful answers
‎2006 May 10 11:43 AM
Hi David,
In the text element, Select the element and then Click on Change Field button(Pencil icon) which will display a popup window where you will be able to edit the contents...
Regards,
Wenceslaus.
‎2006 May 10 11:45 AM
Hi,
Instead of printing SFSY-FORMPAGES in my window, I simply display a long string and it was OK : all the string was printed out. Usualy, if the string is too long, the smartform truncate the string but do not print a '*'.
Any help ?
Thanks.
‎2006 May 10 11:48 AM
Thanks everyone.
It works.
I'll give the 10 points to the first who answered me.
Thanks a lot.
‎2006 May 10 11:50 AM
Hi,
Write the field in the text element by clicking the pencil icon on the left of the text editor screen and write the &SFSY-FORMPAGES(4ZCR)& there.
Thanks,
Vamsi.
‎2014 Jul 17 6:37 PM
‎2006 Jul 11 8:13 PM
Hi everyone, i need help.
Where can i find the meaning of the casting constans(the text in brackets)?
thanks in advance.
Mariano