Skip to Content
0
May 09, 2006 at 08:48 AM

Line Feed in Excel Cell

1023 Views

Hi,

I'm trying to create line feeds in an excel cell with class attribute

cl_abap_char_utilities=>cr_lf

Unfortunately, this results in multiple rows in excel instead of multiple lines within a cell.

How can I fix the problem?

My code looks something like this:

LOOP AT ta_notes INTO wa_notes.  
  CONCATENATE lv_tmp_str              
              wa_notes-tdline              
              cl_abap_char_utilities=>cr_lf         
         INTO lv_tmp_str.
ENDLOOP.

Thanks in advance.

/ Elvez