on 04-06-2009 8:33 AM
Hi,
Im trying to display the header text of PO order in the last page of my form. But the text may be unlimited, so in that case i have kept the text-element printing that text in the main window of the last page instead of keeping it in a separate window.
Now, since its in main window the data is getting printed in other pages also (data is getting overlapped). I tried protect,endprotect but still the problem persists. I also tried to keep the other window as the main window. Its not printing the text.
Any suggestions?
HI,
You can't use the condition to find the last page using NEXTPAGE EQ 0 in Main window, so its better you use a separate window to print header text and use the condition
/: IF &NEXTPAGE& EQ 0
P1 Header Text
/: ENDIF
Regards
Bala Krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, creating a subroutine in the script and calling that in the program will help. There set some flag and check it only for the pages that requires the text. This also works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Thank you for your valuable inputs. Let me try all these solutions and will let you know the result.
Thanks again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Sudharsana,
Call this text element in the driver program...
at last
call function 'WRITE_FORM'
exporting
element = 'PO_TEXT'
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
A new page can be called by a manual page break with page specifications within the main window, so that the system processes the header as per your requirement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
use the NEW_PAGE control command before the INCLUDE TEXT control command. By this the header text should start to print in new page as last page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sudarsana,
protect and endprotect doesnt work if the data is more. And it is better to take a variable window for your req. Try using endprotect before protect.It might help.
endprotect
protect
text element
Much Regards,
Amuktha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.