‎2008 Mar 26 4:57 AM
Hi
Can anyone tell me
how to get table format output in sap script.How to get columnwise output. If material description is too long ,how to control in one column of specified size.
‎2008 Mar 26 6:01 AM
hi ramesh,
Use the BOX, POSITION, and SIZE commands for drawing boxes, lines, and shading to print particular windows within a form or passages of text within a window in a frame or with shading.
Syntax:
/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
/: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
/: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
BOX:
WIDTH
Width of the box. Default: WIDTH value of the SIZE command.
HEIGHT
Height of the box. Default: HEIGHT value of the SIZE command.
FRAME
Thickness of frame. Default: 0 (no frame).
INTENSITY
Grayscale of box contents as %.
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
POSITION:
example:
/: POSITION XORIGIN 2 CM YORIGIN '2.5 CM'
SIZE:
example:
/: SIZE WIDTH '3.5' CM HEIGHT '7.6' CM
The Combination of both Position And size is a BOX.
thanks,
raji
reward if helpful