Skip to Content
Author's profile photo Former Member

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,


Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Ankush Singh
      Ankush Singh

      Thanks Michael. This helped me.