Show TOC

 Defining HTML Templates

Use

You define HTML templates in order to set the content and layout for the output type "graphical report output". The info area appears as a report header above the report list, and can contain the name of the report, graphics (for example, your company logo), and other data.

Note Note

You can avoid having to define your own HTML templates if you use the standard HTML template or if you use only those combinations of output areas which contain no info areas.

End of the note.

Prerequisites

To make your chosen HTML templates available for report definition, you must save the templates in the SAP system using the Business Document Navigator.

Procedure

  1. Create an HTML file - either using an external HTML editor, or by programming the HTML code yourself - as a template for the report definition.

  2. In the report definition of the system, choose Start of the navigation path Environment Next navigation step Maintain HTML templates End of the navigation path .

    You are now taken to the initial screen of the Business Document Navigator.

  3. On the Create tab page, in the Business Document Navigator, double-click on the document type HTML-Template .

    A file selection dialog appears.

  4. In the file selection dialog, enter the fully qualified name of the HTML file which you wish to take over into the SAP system, then close the dialog by clicking on OK .

  5. Enter a descriptive text for the HTML template and choose the appropriate language. We also recommend that you create keywords for the template, so that the document can later be found later from within a large number of documents. Confirm your entries.

    The name of the HTML template you created now appears in the list of available HTML templates.

  6. Choose Start of the navigation path Goto Next navigation step Back End of the navigation path to leave the Business Document Navigator and return to the report definition.

Result

The newly created HTML template now appears in the HTML template list field on the output type tab page, and can be used for the info area of a graphical report.

See also:

Creating an HTML Template