on 07-04-2008 3:09 AM
Hi gurus,
How can I know if the MAIN Window is full. I have a requirement wherein if the MAIN is full, I have to print "Continued on the next page" but I dont know how to determine if the MAIN window is full or not and I will print on the next page.
Thanks
Hi
Write the condition in your variable window or where you want to write the continued statement....
if &nextpage& ne 0
continued...
endif.
this will work
regards
padma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What is the behavior of the variable &NEXTPAGE& in SAPscript?
Regards,
Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The &NEXTPAGE& increments if the data in main window overflows or if you have new-page in your script
If no more data to be displayed then the current page is the last page and the nextpage is set to 0.
You can check for this condition while printing your footer information like contd.....
regards
padma
Hi,
In the editor of ur main window go for
/: BOTTOM
"Continued on the next page"
/: ENDBOTTOM
regards
pritam.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Write "Continued on the next page" in the control command
bottom .....endbottom.
Example:
/: BOTTOM
/: "Continued on the next page"
/: ENDBOTTOM.
This will give the line "Continued on the next page" at the bottom of the main window. Try it out.
Regards,
Swapna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andre.
You dont have to worry about when the Main is full or not.
If you have lots of data, they will be printed in the next Page continuesly.
What you need to do is add new window after the Main and add text with "Continued on the next page".
In the Condition tab of the window, tick "Only before end of Main window".
Hope this will solve your problem.
Regard
az
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.