‎2007 Dec 16 8:15 AM
Can anyone please send me a sample code using WRITE statment,through which using
SY-ULINE and SY-VLINE, we can get rows and colums.I dont want it via ALV.
Some data in those rows and columns will be of great help.
‎2007 Dec 16 12:06 PM
Hi Rahul Bhat,
Do something like below...
modify the code according to ur need and change then numerical values according to the size of the fields in internal table...
loop at it.
at first.
write : /2 sy-uline(90).
write : /2 sy-vline, 'Material Mo' color 1,17 sy-vline ,'field2' color
1, 30 sy-vline
,'field3' color 1, sy-vline ,49 field4' color 1,60 sy-vline.
write : /2 sy-uline(90).
endat.
write : /2 sy-vline , it-matnr ,17 sy-vline, it-ernam ,30 sy-vline ,
it-matnr ,41 sy-vline , it-aenam ,60 sy-vline.
AT LAST.
write : /2 sy-uline(90).
write : /55 'Thank you ' color 3 inverse on.
write : /2 sy-uline(90).
endat.
endloop.
Hope it will solve ur problem..
<b>Reward points if useful...</b>
Thanks & regards
ilesh 24x7
‎2007 Dec 16 12:06 PM
Hi Rahul Bhat,
Do something like below...
modify the code according to ur need and change then numerical values according to the size of the fields in internal table...
loop at it.
at first.
write : /2 sy-uline(90).
write : /2 sy-vline, 'Material Mo' color 1,17 sy-vline ,'field2' color
1, 30 sy-vline
,'field3' color 1, sy-vline ,49 field4' color 1,60 sy-vline.
write : /2 sy-uline(90).
endat.
write : /2 sy-vline , it-matnr ,17 sy-vline, it-ernam ,30 sy-vline ,
it-matnr ,41 sy-vline , it-aenam ,60 sy-vline.
AT LAST.
write : /2 sy-uline(90).
write : /55 'Thank you ' color 3 inverse on.
write : /2 sy-uline(90).
endat.
endloop.
Hope it will solve ur problem..
<b>Reward points if useful...</b>
Thanks & regards
ilesh 24x7