HTML Export

Context

The SAPscript editor internally calls the function module CONVERT_ITF_TO_HTML. This function module is used by other applications as well, for example, when converting SAP Notes, for ABAP documentation, and for glossary and IMG texts.

The function module CONVERT_ITF_TO_HTML converts a SAPscript text to HTML to allow you to display the text using any HTML3.X browser (Netscape, MS Internet Explorer, and so on). As input, the text header (DDIC structure THEAD) and the text lines (DDIC structure TDLINES) are expected.

After successful conversion, the function module returns a table that contains the corresponding HTML text (DDIC structure HTMLLINE). During the conversion, SAPscript control commands, standard symbols, and include texts are resolved as far as it is possible without processing the form (that is, without using the composer).

To assign SAPscript paragraph and character formats to HTML formats, use the appropriate tables with the function call.

Conversion is controlled via several parameters:

  • Checking the correct syntax of the ITF text

  • Resolving the symbols, INCLUDE texts, and control commands

  • Printing non-interpretable control commands or text element names

  • Representing character and paragraph formats in HTML

  • Specify CALLBACK routines for link interpretation

  • Suppress HTML header

  • Determine HTML background

For more information, refer to thedocumentation of the function module CONVERT_ITF_TO_HTML.

Procedure


  1. Choose Start of the navigation pathText Next navigation step DownloadEnd of the navigation path. The dialog window Download appears.

  2. Select HTML and choose Download.

  3. Enter the complete file path and the data format.

  4. Choose Download.