cancel
Showing results for 
Search instead for 
Did you mean: 

How to use line feeds, carriage return or tags in TableColumns

Former Member
0 Kudos

Hello,

I would like to display texts with line feeds in table cells. Is there a possibility to use a carriage return/line feed (/r /n) or a tag (e.g. <p>) in a text of a table cell?

Outside a table I would use the UI element "FormattedTextView" which works fine with tags. Inside a table cell this element is not available. I can only use "normal" TextViews there which doesn't interpret tags or line feeds.

Any ideas?

Thanks in advance.

Best regards,

Kerstin

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Try concatenating these Constants to the content you pass to the cell content.

cl_abap_char_utilities=>horizontal_tab

cl_abap_char_utilities=>cr_lf

All the best.

Greetings

Prashant

Former Member
0 Kudos

Hello Prashant,

your idea works fine. Thank you very much, you solved my problem.

Greetings

Kerstin