Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to use html in a richtext field to display formatted text

When pass a html format string to adobe form(generated in ABAP by calling founction moudle), the result is that the text field shows the literal string not the text formatted.

I've configued the richtext correctly(field type="Text Field", field format="Rich Text" and data format set to "XHTML").

Here is an example:



ie_outputparams = lv_outputparams .....

CALL FUNCTION lv_funcname


/1bcdwb/docparams = fp_docparams

text = '<body xmlns="" xmlns:xfa=""><p>Happy world!</p></body>' .....

I've used the following in the initialize event of the rich text field

b64 = this.rawValue;

xhtml = base64.Base64.decode(b64);


the final result displayed in the form is <body xmlns="" xmlns:xfa=""><p>Happy world!</p></body>

not Happy world!

Thanks and Best Regards,

Miller Miao

Not what you were looking for? View more on this topic or Ask a question