04-19-2008 11:30 AM
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...
04-19-2008 11:41 AM
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
04-19-2008 12:52 PM
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