cancel
Showing results for 
Search instead for 
Did you mean: 

Display line break in explanation

daniel_humberg
Contributor
0 Kudos

I was trying to use the WebDynpro UI Element "Explanation". Is it possble to display line breaks inside such an explanation?

When I enter text directly, I cannot enter a line break, and when I define an OTR text with line breaks, the line breaks are ignored by the explanation element.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Daniel,

if you are binding text to the explanation UI element. U might achieve the line breaks using

cl_abap_char_utilities=>horizontal_tab

cl_abap_char_utilities=>cr_lf

All the best.

Greetings

Prashant

daniel_humberg
Contributor
0 Kudos

Unfortunately, cl_abap_char_utilities=>horizontal_tab and cl_abap_char_utilities=>cr_lf are ignored by the explanation tag.

daniel_humberg
Contributor
0 Kudos

by the way: using a document from SE61 using the property set_text_document_name works as well, but line breaks in the document are ignored as well.

Former Member
0 Kudos

Is there finally any solution for this?

Answers (0)