‎2005 Nov 07 1:35 PM
Hello All
I have done changes to include few(3) lines in a SAP Script window. Because of those 3 lines, contents that were printed earlier are not getting printed.
The window is getting printed inside a box and it is defined as
BOX FRAME 10 TW.
Window height is 22.50 Ln,width 9.50 CM.
To rectify this should I increase the height of this window or should I define the attributes of the box
Please reply at the possible earliest.
Thanks in advance.
‎2005 Nov 07 1:39 PM
Hi Tharani,
i thing it is better to increase window height (25.50 LN)
( consider that BOX FRAME 10 TW command fills the entire window)
You could also redefine BOX command:
BOX HEIGTH '25.50' LN WIDTH '9.50' CM FRAME 10 TW
Regards Manuel
‎2005 Nov 07 1:39 PM
Hi Tharani,
i thing it is better to increase window height (25.50 LN)
( consider that BOX FRAME 10 TW command fills the entire window)
You could also redefine BOX command:
BOX HEIGTH '25.50' LN WIDTH '9.50' CM FRAME 10 TW
Regards Manuel
‎2005 Nov 10 5:33 AM
‎2005 Nov 10 5:43 AM
Check this
Setting default parameters for a box:
You can use the POSITION and SIZE commands to set default parmeters for a box.
Instead of:
/: BOX XPOS '11.21' MM YPOS '5.31' MM HEIGHT '10' MM WIDTH '20' MM INTENSITY 10 FRAME 0 TW
You can write:
/: POSITION XORIGIN '11.21' YORIGIN '5.31' MM
/: SIZE HEIGHT '2' MM WIDTH '76' MM
/: BOX FRAME 10 TW INTENSITY 10
This can be usefull if you gave several boxes that share the same parameters.
If you want to set the position realtively to the window use POSITION WINDOW
to set the position to the top/left start of the window. Then use POSITION
to set the current position relatively to the start of the Window.
Note that you uses "+" or "-" in the ORIGIN position to the set the position relatively.
/: POSITION WINDOW
/: POSITION XORIGIN '+5' MM YORIGIN '+10' MM
the position is now 5 MM from the left and 10 MM from the top of the window
NOTE: After using the position command you can move the current position
realtively to the last used position
/: POSITION XORIGIN '+10' MM YORIGIN '+20' MM
Now the position will be X = 15 and Y = 30
Drawing a line. You can draw a line by setting the Height or Weidth to 0
and add a frane. E.g. a horizontal line:
/: SIZE HEIGHT '0' MM WIDTH '200' MM
/: BOX FRAME 10 TW XPOS '11.21' MM YPOS '14.81' MM INTENSITY 100
‎2005 Nov 10 5:56 AM
Hi,
When you included 3 lines newly, the older lines/data may be misplaced due to the size of the box.
In order to fit the data in your box increase your box size.
/: BOX XPOS '11' ch YPOS '5' ch HEIGHT '25' LN WIDTH '9.50' CM INTENSITY 10 FRAME 0 TW
Thanks.
Message was edited by: Deepak333 k
Message was edited by: Deepak333 k
‎2005 Nov 10 6:32 AM
Tharani,
You can increase the window height by 3 lines & you should be good. Box parameters should also be set accordingly.
Hope this helps.
Bipin