07-23-2007 12:20 PM
My requirement is to simply print a long vertical line in the output.
If you do this fav you will be rewarded with more points.
regards
Posh
07-23-2007 12:23 PM
write sy-vline in the output
add it on every line and it will merge into a long vertical line
07-23-2007 12:24 PM
Hi
In the LOOP (DO or some other table loop)
write the field SY-VLINE at the same position
it will print the vertical line
<b>Reward points for useful Answers</b>
Regards
Anji
07-23-2007 12:25 PM
07-23-2007 12:34 PM
Hello,
try this code
DATA: itab LIKE mara OCCURS 0 WITH HEADER LINE.
SELECT * FROM mara UP TO 50 ROWS INTO CORRESPONDING FIELDS OF TABLE itab.
SKIP 2.
ULINE AT /1(54).
WRITE:/
sy-vline,
AT (19) 'MATNR' COLOR COL_HEADING INTENSIFIED NO-GAP,
sy-vline,
AT 23(13) 'ERNAM' COLOR COL_HEADING INTENSIFIED NO-GAP,
sy-vline,
AT 38(17) 'PSTAT' COLOR COL_HEADING INTENSIFIED NO-GAP,
54 sy-vline.
ULINE AT /1(54).
LOOP AT itab.
WRITE:/
sy-vline,itab-matnr,
sy-vline,
23 itab-ernam,
sy-vline,
38 itab-pstat,
sy-vline.
ENDLOOP.
ULINE AT /1(54).
07-24-2007 8:17 AM
I want to print a long vertical without using do loop.
u will be rewarded with points.
07-24-2007 8:24 AM
data n type i value 1.
while n lt 100.
write sy-vline.
add 1 to n.
endwhile.
Without using any loop, we can't print a long vertical line,
because SY-VLINE is this character - ' | '.
Regards,
Pavan
07-24-2007 8:30 AM
Do one thing...Hard code the code as many times as you want, so that you'll get a very long line....
write 30 sy-vline.
write /30 sy-vline.
write /30 sy-vline.
write /30 sy-vline.
write /30 sy-vline.
write /30 sy-vline.
write /30 sy-vline.
write /30 sy-vline.
write /30 sy-vline.
write /30 sy-vline.
write /30 sy-vline.
write /30 sy-vline.
write /30 sy-vline.
write /30 sy-vline.
write /30 sy-vline.
Regards,
Pavan
07-24-2007 8:24 AM
Hi red,
try this:
uline.
uline (50).
uline at /10(30).
and see the difference.
Regards, Dieter
Sorry, it's not vertical!!
Regards, Dieter
Message was edited by:
Dieter Gröhn