on 04-04-2007 2:50 PM
Hi All,
I have put text "Welcome to SAP" in text element of MAIN window. In print program I have used OPEN_FORM, WRITE_FORM (inputting window = MAIN), & CLOSE_FORM. After executing print program when I am looking at Print Preview, "Welcome to SAP" is printed twice. As I have given only once so why its getting printed two times.
How this is possoble??
Thanks in Advance...
Regards,
Vijay
Hi Sudhir,
I have called WRITE_FORM only once.
Its called as:
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = ' '
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
But I am getting it twice.
Also If I prints same text i.e. "Welcome to SAP" in some variable window then that is printed only once in that variable window.
I am facing this problem only in case of MAIN window.
Regards,
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Thanks to all of u..
I was using default text element. Because of that internally 2 conditions were being satisfied in case of MAIN window. That's why it was being printed twice. But now after using text element with some name its coming only once.
Thanks agin..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you check whether the text element/ main window called twice.
Br,
Laxmi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the code before the Write_form, if the Window/Element called twice then this will be printed twice.
Regards
Sudheer
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 | |
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.