Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAPscript

Former Member
0 Likes
673

Hi,

I need to draw a vertical line in table after a table item called 'Serial no. '. In the editor, should i use &vline& as new command( /: )or can i insert it in between a paragraph text line. Please send solution with few lines of code to support your answer.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
642

HI,

/: POSITION PAGE

/: POSITION XORIGIN '230' MM YORIGIN '16

/: SIZE WIDTH '0' MM HEIGHT 'X'MM

/: BOX FRAME 10 TW

X - Height of the vertical line

Hope this help .

Regards

Syed

4 REPLIES 4
Read only

Former Member
0 Likes
642

hi,

u shud use box and position command and give box width as 0 and place the line with position command.

/: BOX XPOS '30' CH WIDTH 0 CH HEIGHT '35' CH FRAME 10 TW

reward if it helps

Regards

/:BOX[XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]:

For a frame of size WIDTH and HEIGHT at position [XPOS, YPOS] (left upper corner of the frame in relation to the values contained in the POSITION command). The FRAME addition determines what line thickness the frame has.

The INTENSITY addition shades the background area contained within the frame. Position, size, and frame thickness use appropriate units of measurement;

shading should be entered in percent.

/: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]: To fix the source coordinates XORIGIN and YORIGIN for the XPOS and YPOS parameters in the BOX command. The WINDOW addition sets the values for the top and left margins to those of the current window. The PAGE addition sets the values for the top and left margins to those of the page currently being displayed.

/:SIZE[WIDTH] [HEIGHT] [WINDOW] [PAGE]: To define the WIDTH and HEIGHT values for the BOX command for the current WINDOW or PAGE.

Message was edited by: srinu k

Read only

Former Member
0 Likes
642

Hi ,

You can draw a line in this way using /:

/: BOX XPOS '15' CH WIDTH 0 CH HEIGHT '28.35' LN FRAME 10 TW

The above command draws a line 15 chars left from the start of the window of with '0' and height of 28.35 .

Regards,

Varun .

Read only

Former Member
0 Likes
642

Hi,

You can write &VLINE& for Vertical line

Regards

Sudheer

Read only

Former Member
0 Likes
643

HI,

/: POSITION PAGE

/: POSITION XORIGIN '230' MM YORIGIN '16

/: SIZE WIDTH '0' MM HEIGHT 'X'MM

/: BOX FRAME 10 TW

X - Height of the vertical line

Hope this help .

Regards

Syed