cancel
Showing results for 
Search instead for 
Did you mean: 

form draw line error

former_member635540
Participant
0 Kudos

Hi exprts:

I'm using se71 to draw 2 line, and 2 column automaticcally generated on the edge. It's like a box, I don't know how to cancel the 2 column, thanks in advance.

Allen

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

If i am not wrong, you want to write two horizontal lines one at top and other at the bottom, if that is the case just use horizontal line commands to write those. use the following syntax.

/: BOX XPOS 0 YPOS 0 WIDTH 15 CM HEIGHT 0 FRAME 9 TW ( This will draw top line)

/: BOX XPOS 0 YPOS _ WIDTH 15 CM HEIGHT 0 FRAME 9 TW ( give ypos value then This will draw line in that position)

( as an example i took width as 15 cm take width any thing, but should not exceed window width)

Hope this will help you,

Regards,

Aswini.

Former Member
0 Kudos

Hi Eric,

If you want to just the draw the inside lines follow the logic

Change the ypos and width to get the horizontal line

xpos remains same and height is zero in this case....

change the xpos and height to get the vertical line.... width is zero in this case and ypos remains same....

regards

padma

bpawanchand
Active Contributor
0 Kudos

HI

well instead of using BOX you can go for

POSITION XORIGIN 5 cm YORIGIN 5 CM

SIZE WIDTH 5 CM HEIGHT 0 CM

BOX FRAME 10 TW. (this statement draws a vertical line)

well the above snippet draws a vertical line. And you can two lines by changing the X and Y co-ordinates so that you may not come across those 2 Columns at the edge.

Regards

Pavan

Former Member
0 Kudos

Hi.

look for the Box command....

Check the Box command syntax below:

BOX Command

Syntax

/: BOX XPOS YPOS WIDTH HEIGHT FRAME INTENSITY

Effect: draws a box of the specified size at the specified position.

Parameters: For each of XPOS, YPOS, WIDTH, HEIGHT, and FRAME, you must specify both a measurement and a unit of measurement. Specify the INTENSITY parameter as a percentage between 0 and 100.

XPOS, YPOS

Upper left corner of the box, relative to the values of the POSITION command.

Default: Values specified in the POSITION command.

The following calculation is performed internally to determine the absolute output position of a box on the page:

X(abs) = XORIGIN + XPOS

Y(abs) = YORIGIN + YPOS

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 %.

Default: 100 (full black)

Measurements: You must specify decimal numbers as literal values (like ABAP numeric constants) by enclosing them in inverted commas. Use the period as the decimal point character. See also the examples listed below.

Units of measurement: The following units of measurement may be used:

TW (twip)

PT (point)

IN (inch)

MM (millimeter)

CM (centimeter)

LN (line)

CH (character).

The following conversion factors apply:

1 TW = 1/20 PT

1 PT = 1/72 IN

1 IN = 2.54 CM

1 CM = 10 MM

1 CH = height of a character relative to the CPI specification in the form header

1 LN = height of a line relative to the LPI specification in the form header

/: BOX FRAME 10 TW

Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).

/: BOX INTENSITY 10

Fills the window background with shading having a gray scale of 10 %.

/: BOX HEIGHT 0 TW FRAME 10 TW

Draws a horizontal line across the complete top edge of the window.

/: BOX WIDTH 0 TW FRAME 10 TW

Draws a vertical line along the complete height of the left hand edge of the window.

/: 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

Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.