Application Development 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: 

sy-vline

Former Member
0 Kudos

In write statement we r using (1) sy-vline to put vertical line. what is the use of (1) in that?Y we r using that? What happen when i change the no like 4,10,20 etc...

2 REPLIES 2

Former Member
0 Kudos

write 1 sy-vline .

1 - is the start column/horizontal pos

write 20 sy-vline .

it will print at pos 20

put write /20 sy-vline . in a loop for a long line

Without using any loop, we can't print a long vertical line,

because SY-VLINE is this character - ' | '.

rgds,

Arun

Former Member

Hi,

just check this out

write:/1 sy-vline,
       5 'hello',
       10 sy-vline,
       15 'hello',
       20 sy-vline

.

1 , 5, 10, 15, 20 are the positions at which we r writing the value.

the output will be

|  hello |   hello |

reward if helpful

raam