07-15-2008 12:24 PM
Hi,
is there any way for wrapping text in ABAP which is similar to MS-word or MS-excel.
Currently i have 3 fields in an internal table.
first field is of length 10,
second field is of length 40,
third field of length 256.
Third field is mainly used for Notes.
client said that report coulmn length should be 80.
after 80 i need to wrap the text in next line, with out affecting display of other rows.
Please guide me.
07-15-2008 12:28 PM
07-15-2008 12:32 PM
Hi,
Try using Function Module:RKD_WORD_WRAP
Thanks and Regards,
Neha Kapoor
07-15-2008 12:32 PM
use FM RKD_WORD_WRAP
call function 'RKD_WORD_WRAP'
exporting
textline = idiagline
outputlen = 80
importing
out_line1 = idiag_1
out_line2 = idiag_2
exceptions
outputlen_too_large = 0
others = 0.
Regards,
Joy.
07-15-2008 12:46 PM