Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Show HTML or SAPscript formatted Text

leonardo_pavia
Participant
0 Likes
872

Hi friends, I'm using BAPI_MESSAGE_GETDETAIL to get message details. This bapi returns HTML formatted text in TEXT table. How can i show this content?, this bapi returns SAPscript formatted text also, in that case, how can i show this content?

Thank you

Leonardo P.

1 ACCEPTED SOLUTION
Read only

sridhar_k1
Active Contributor
0 Likes
757

You can use fm HELP_DOCULINES_SHOW to display the formatted text.

Pass the scpscript formatted text to paramter HELPLINES of the above mentioned FM.

Regards

Sridhar

4 REPLIES 4
Read only

sridhar_k1
Active Contributor
0 Likes
757

Do you want to display the text as list with WRITE statement?

If you use ASC as text format, it gives you plain text.

Regards

Sridhar

Read only

0 Likes
757

Shridar thank you, i would like to show the content with formatted fonts, colors, etc. Plain text is too "plain". Can i do this?, in a separated window for example?.

Read only

sridhar_k1
Active Contributor
0 Likes
758

You can use fm HELP_DOCULINES_SHOW to display the formatted text.

Pass the scpscript formatted text to paramter HELPLINES of the above mentioned FM.

Regards

Sridhar

Read only

0 Likes
757

Thank you very much Sridhar, that's just what i need. Do you know a similar function module for HTML?

Regards

Leonardo P.