cancel
Showing results for 
Search instead for 
Did you mean: 

Char. formats (Bold, Underline) in Long text editor not visible in ABAP WD

yadlarajesh
Explorer
0 Kudos

Hi WD experts,

Problem:

I have created long text with using bold, under line format in long text editor (FM TEXT_ EDIT). I am trying to show same text in WebDynpro using READ_TEXT FM. But FM READ_TEXT is getting long text with HTML tags as shown below for bold and underline and it long text showed as same in WebDynpro application with HTML tags.

Long text shown in WD:

Type your message using the form below. When finished, you can

optionally preview your post by clicking on the <H>"Preview"</> tab.

Otherwise, click the <U><H>"Post Message"</></> button to submit your

message immediately.

Is there any function module available to change format and pass to WebDynpro context?

Thanks

Rajesh Yadla

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

The normal text editor in Web Dynpro won't handle HTML tags (they get safe encoded as you described). In NetWeaver 7.01 we do introduce a FormattedTextEditor that allows for such formatting. There are APIs to convert from SAPScript based texts to the XHTML FormattedText tags.

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/2772f505605447e10000000a422035/frameset.htm