Skip to Content

Sapscript text in BSP pages

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

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Feb 20, 2004 at 01:33 PM

    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. 😊

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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