Skip to Content

Linebreak with sap.m.TextArea and ABAP oData Service


if you want to output a string from an abap backend with an oData service into a sap.m.TextArea and you require a linebreak in the textarea, user this attribute

cl_abap_char_utilities=>cr_lf in the abap backend oData service.

As seen often \r\n, \n, or html chars won’t work in the sap.m.TextArea

Have a nice day & kind regards,


1 Comment
You must be Logged on to comment or reply to a post.