cancel
Showing results for 
Search instead for 
Did you mean: 

draw a line in the script

Former Member
0 Kudos

can anybody tell me how to draw aline in script..

i have dispalying table fileds. can i draw line in between that like execl sheet?

Regards,

pandu.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

hai

try this

u can use &sy-uline(80)& in change editor.

see example code:

&sy-uline(80)&

&sy-vline&,,&itab-ebeln&,,&sy-vline&

&sy-uline(80)&

&sy-vline&,,&itab-aedat&,,&sy-vline&

&sy-uline(80)&

Former Member
0 Kudos

hi,

u can give like this

<b>|&t_itab1-ebelp(7)&|</b> in change editor

Regards,

Divya

Message was edited by:

Divya

gopi_narendra
Active Contributor
0 Kudos

You can draw line using the BOX command

/: BOX [X POS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSIFY]


 " For Example
/: BOX XPOS '0' CH YPOS '0' LN WIDTH '72' CH HEIGHT '56' LN FRAME 10 TW.

XPOS is always measured in terms of CH - Characters

YPOS is always measured in terms of LN - Lines.

Regards

Gopi

former_member196280
Active Contributor
0 Kudos

Yes, it is possible to draw lines like excel sheet...

Try to create a new window and place it on main window, do all your drawings in this new window. It will be easier...

SYNTAX

/: BOX [X POS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSIFY]

TO draw horizontal line

/: BOX HEIGHT 0 TW Frame 10 TW

it draws horizontal line across the complete top edge of window

/:BOX WIDTH 0 TW Frame 10 TW

it draws vertical line across the complete height of the left hand edge of window

Regards,

SaiRam

Former Member
0 Kudos

thank u for ur help..

how to draw dynamical line...........

what meant to ask is it should draw the lines based on no of fields..

any clues?

Regards,

pandu

former_member196280
Active Contributor
0 Kudos

Dynamically drwaing horizontal and vertical lines using sapscripts is not possible I guess.

Regards,

SaiRam