Skip to Content
0

How to set the text (wrap text) in two or three lines in column for excel using OLE SAP ABAP ?

Jan 24 at 06:32 AM

96

avatar image

Hi All,

I am downloading the data into excel using OLE SAP ABAP report program.

I have 5 columns.There is one column which has long name.I want to wrap the text(in two or three lines text ) in this particular column for excel using OLE SAP ABAP.

Attached screenshots for reference.current-format.pngrequired-format.png

Regards,

Shabbir

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raymond Giuseppi
Jan 24 at 07:24 AM
0

To insert line feed in the cell, wrap the field value between double quotes to prevent multiple cells splitting and insert some cl_abap_char_utilities=>cr_lf between lines.

Share
10 |10000 characters needed characters left characters exceeded