on 05-29-2008 5:17 PM
Hello,
when i am running my script i am getting the main window text twice i mean same thing is repeatedly printing.
Where i am going wrong please resolve my problem.
Thks
Hi
you write the text before u write code for displaying boxes.then only u donot get that text repeatedly..
<C1>DOC NO,,,,ITEM NO,,,,DEL.ITEM ,,CHANGE ,,,,MAT NO.,,,,NETVAL.</>
BOX WIDTH '18.91' CM HEIGHT '5.7' CM FRAME '10' TW INTENSITY '15'
BOX YPOS '0.5' CM WIDTH '18.91' CM HEIGHT 0 CM FRAME '10' TW
.
..
<C1>&wa_ekpo-ebeln&</><C1>,,,,&wa_ekpo-ebelp&,, &wa_ekpo-loekz&,,,,,,,,,, &wa_ekpo-aedat&,,,,&wa_ekpo-matnr& ,,,,&wa_ekpo-netwr&</>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
use elements in the text editor of the script
agin call that element in the main window or write form .
/E text " maintain it in script
********do it in the print program
call fuction write_form
element = 'text'
regards
sachhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello.
How do you mean repeating MAIN window text? All the window text elements? Or some of them?
In your print program, check the WRITE_FORM FM statements. Debug it to see what can be happening.
If you want post here relevant part of code.
Best regards.
Valter Oliveira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello again.
It's a good point. Internal table could be the reason if not well used.
However, to clear it out, tell us 2 things:
. the structure of MAIN window, i.e, composed by only text element, or texts without text elemten (/E), or both
. in print program, check all the WRITE_FORM FM's used, related to MAIN window and it's text elements.
This way you can trace if the print program is calling MAIN elements twice.
Best regards.
Valter Oliveira.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
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.