‎2006 Feb 01 3:11 PM
Hi all,
I am designing a form.I have three main windows in this form. I have the following code in the text editor for thre windows. /: box frame 10 tw
when I check the layout of the form I can see the box only in the main window 00 but not in main window 01 and main window 02. Can anyone please help me with this.
Reagrds,
Varun
‎2006 Feb 01 3:30 PM
Hi Varun,
You have to define you box command in all the windows.
Lanka
‎2006 Feb 01 3:30 PM
Hi Varun,
You have to define you box command in all the windows.
Lanka
‎2006 Feb 01 3:34 PM
Hi Murthy,
I defined box command in the editor of all the main windows. Let me explain you my requirement more clearly.
I have an internal table itab with three fields connid,carrid and fldate. To print these three columns to the main window I am defining three main window for each column.
I hope you understood my quoestion.
I think what I said above is not possible displaying three fields of table in three main window ssimultaneously. But please explain me how I can out frame for all three windows.
Regards,
Varun.
Message was edited by: varun sonu
‎2006 Feb 01 3:37 PM
Hi Varun,
Please note that no need to create a window for each column.you can define Your X-coredinate to define Verical line or means to create a box:
Sample Code :
BOX YPOS '1.25' LN WIDTH '120' CH HEIGHT 4 LN FRAME 10 TW
BOX XPOS '18.00' CH YPOS '1.25' LN WIDTH 0 CH HEIGHT '4.00' LN FRAME 10 TW
BOX XPOS '31.00' CH YPOS '1.25' LN WIDTH 0 CH HEIGHT '4.00' LN FRAME 10 TW
BOX XPOS '47.00' CH YPOS '1.25' LN WIDTH 0 CH HEIGHT '4.00' LN FRAME 10 TW
BOX XPOS '68.00' CH YPOS '1.25' LN WIDTH 0 CH HEIGHT '4.00' LN FRAME 10 TW
Lanka
Message was edited by: Lanka Murthy
‎2006 Feb 01 3:43 PM
‎2006 Feb 01 3:46 PM
Hi murthy,
Your solution has solved my problem. Thank you very much.
Regards,
Varun.
‎2006 Feb 01 3:47 PM
Hi Varun,
No need to define them as 3 main windows,if you want the 3 fields to come only once.If you want the 3 fields to be printed 3 times in the same form like labels then what you did is right ie creating 3 main windows.
But seeing your problem,i guess you want to print the values of these fields in a window with lines horizontal & vertical like a table right??
‎2006 Feb 01 3:52 PM
Hi phani,
What you said is right. Though my problem is solved, still my quoestion is not answered.
How do I put a box frame for all the three main windows
say If i am trying to print three times the values.
Regards,
Varun.
‎2006 Feb 01 3:57 PM
Use the same command for creating the table like structure in all the 3 window.for example
/: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
/: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
But check your window length & height & change them accordingly to your requiremnts.
‎2006 Feb 01 4:04 PM
Hi varun,
Instead creating a new window. Please use "copy" option to create the window from your "MAIN WINDOW" then all the Box, text elements will be copied .
Lanka
‎2009 Jan 09 3:00 AM
Hi all,
I have almost same issue as discribed in above messages.
In my case, I created two windows which has
/: PROTECT
SG ®UP-BELNR& ®UP-XBLNR& ®UP-BLDAT&
= ®UD- WRBTR&&W_WSKTO(16T)&®UD-WSKTO&
/: ENDPROTET
in MAIN windows.
One MAIN(MAIN) is at the very top of the form and the other(MAIN01) is at the very buttom of the form.
In both of the MAIN's I wrote same logic. However, only the first MAIN window displays the value
and the other MAIN window displays blank.
Do you have any idea to display same value in both MAIN and MAIN01?
Best regard,
Masanobu Kubota