Definition
A Web template determines the structure of a Web report. You use the Web Publisher to insert placeholders into a HTML document for
items (in the form of object tags), data providers (in the form of object tags) and BW URLs. The HTML document with the BW-specific placeholders is called a Web template. Web templates are checked into the Web Publisher. The HTML page that is displayed in the Internet browser is called a Web report. Depending on which items you have inserted into the Web template, a Web report contains one or more queries, an alert monitor, charts, and so on.The system uses the key for the workbook under which you stored the Web template (Workbook ID or WBID) and the name of the Web template (PageID) to identify Web templates.
Structure
The Web template is the keystone of a Web report. It contains placeholders for items and
command URLs. Data providers, items, and command URLs are generated for Web reports.The aim of Web reporting is to generate HTML pages that reproduce data from a BW (BW Web reports). Before you are able to display BW data in HTML pages, the data has to be embedded into an HTML page called a Web template. In the Web template, you determine from which data provider and it what way (items) the data is displayed. You also determine which additional options there are (BW URLs).
When a Web reporting request is sent to the BW server, a template object is generated. The structure of the requested HTML page is derived from this object. The following objects are generated on the basis of this template:
Integration
Web templates are stored in two locations:
See also:
Determining Path and ITS SettingsExample
The following is an example of a simple Web template with a
navigation block and a table:<html>
<head>
<link rel="stylesheet" href="/sap/its/mimes/webrfc/bw/SAPBEx.css">
<title>New Page 1</title>
</head>
<body>
<!—Create the data provider -->
<object>
<param name=’OWNER’ value=’SAP_BW’>
<param name=’CMD’ value=’SET_DATA_PROVIDER’>
<param name=’DATA_PROVIDER’ value=’View 1’>
<param name=’VIEWID’ value=’View abc’>
DATA_PROVIDER :View 1
</object>
<!—Create and get the navigational block -->
<object WIDTH="350">
<param name=’OWNER’ value=’SAP_BW’>
<param name=’CMD’ value=’GET_ITEM’>
<param name=’ITEM’ value=’Nav Block’>
<param name=’ITEMID’ value=’Nav Block’>
<param name=’DATA_PROVIDER’ value=’View 1’>
ITEM :Nav Block
</object>
<br>
<!—Create and get the table -->
<object WIDTH="600">
<param name=’OWNER’ value=’SAP_BW’>
<param name=’CMD’ value=’GET_ITEM’>
<param name='ITEM' value='Table'>
<param name='ITEMID' value='Table'>
<param name=’DATA_PROVIDER’ value=’View 1’>
ITEM :Table
</object>
</body>