on 09-21-2007 6:00 AM
I want to print a window in smartform only on the last page. I do not want it on the first or second. It should be printed only on the last page of the total number of pages.
For that i tried putting conditon i.e. SFSYPAGE = SFSY-FORMPAGES,
SFSY-PAGE = SFSY-JOBPAGES.
But still it gets printed on all the pages.
Hi Priti,
The problem with sfsy formages is that it increments for every page
and so it is always equal to pages.
Try this.
At the last point in ur main window
insert a code snippet. Set falg = "X".
Check this flag in the Footer window as a printing condition.
It will work.
This flag should be global and declared locally in the code snippet import?export parameters.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
by the way how many pages have you declared. On each page put the condition on the window which you want to display on the last page 'At the end of main window'. It will serve your purpose. The problem you had is you declared the condition on first page, put the condition on all the pages.
Regards,
Mallick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi priti,
For the particular window go to conditions tab there u can specify the condition u want like ONLY AFTER THE END OF MAIN WINDOW or PAGE (here specify the last page)....
regards,
sujatha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Priti,
use the condition
/: IF &PAGE(3ZC)& = &SAPSCRIPT-FORMPAGES(3ZC)&
[your END OF PAGE text here]
/: ENDIF
Reward if helpful
Thanks,
Mandeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
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.