on 08-04-2008 8:24 PM
Hi,
I know there is a sap note related to this..but not able to understand it properly..can anyone give me the easier solution to solve the problem ....Thanks in advance..
Hi Sweta,
As others have also told that to make the window in which you are printing &sfsy-formpages& from variable window to final window, in final window it will print the proper page number.
With luck,
Pritam.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There may not be enough space in the window to display the variable, either increase the window dimensions or condense the spaces using &SFSY-FORMPAGES(C)&
eg&SFSY-FORMPAGES(3ZC)&--->3-outputlen,c-condense,z-delete leading zeroes
the various text formatting options in Smartforms:
&symbol(Z)& Omit Leading Zeros
&symbol(S)& Omit Leading Sign
&symbol(<)& Display Leading Sign to the Left
&symbol(>)& Display Leading Sign to the Right
&symbol(C)& Compress Spaces
&symbol(.N)& Display upto N decimal places
&symbol(T)& Omit thousands separator
&symbol(R)& Right justified
&symbol(I)& Suppress output of the initial value
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Click the Window where you have defined Page number.
Now go to text Editor->Cut(Ctrl+X) the &sfsy-formpages& .
Now goto menu path INSERT->Symbols->New.
Now in the New screen Put the &sfsy-formpages& in Input of Symbol name. Click tick button.
Again goto Text Editor Replace &sfsy-formpages4(4CZ)& as &sfsy-formpages0(4CZ)&.
Now go to back , check and Activate. Problem is solved.
Regards,
Sujit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sweta,
In case if you have assign window to your sy-formpages then change that particular window type as FINAL WINDOW then your problem will be resolved.
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi swetha
Declare the window as FINAL WINDOW where you are printing sfsy-formpages.
Reward if it is usefull,
Regards,
KP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Simple Solution:-
what ever the window you are print the page numbers , change that window Type To "FINAL".
If you Don't know how to change follow this..
Double click on the Window (on which you are showing the page numbers) .
Right side Area, you can see General Attributes , in that you can find the Window Type
It is Dropdown List box, Choose the "FInal Type" From it.
Save and Activate. Now test the smartform.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use &SFSY-FORMPAGES(4ZC)& instead of the &SFSY-FORMPAGES& to print the total number of pages.
This will not print * or # till 9999 pages.
Regards,
Naimesh Patel
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 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.