cancel
Showing results for 
Search instead for 
Did you mean: 

Sapscript text in BSP pages

TMNielsen
Contributor
0 Kudos

Hello all

What is the best way to display sapscript text (like standard text, texts material master, from sales order etc.) in a BSP page?

I could read the text with function module read_text. Than loop at the output table and print the text.

<% loop at lines. %>

<%= lines-TDLINE %>

<% endloop. %>

But SAP must have invented a more neat way. Maybe a way that also handles the paragraphs and character formats ?

Best regards

Thomas Madsen Nielsen

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Take a look at function module: CONVERT_ITF_TO_HTML. This should convert your SAPScript text into a more usable HTML format and retain much of the formatting. You can then include this html into your BSP page. This is a released function module so the on-line documentation for it is fairly good.

Former Member
0 Kudos

Also try thsi FM : C14W_STRING_TO_TLINE

You can then use something similar to convert all your SAPSCRIPT TLINE data into string and display the string in BSP