This graphic is explained in the accompanying text Structure of a Standard Web Template Locate the document in its SAP Library structure

Use

When you display a query on the Web, this query is embedded automatically into a standard Web template. In this case, the query is the Data Provider for the standard Web template and is transferred as a parameter in the URL: http:// myAppServer:myPort/sap/bw/BEx?sap-language=DE&bsplanguage=DE&CMD=LDOC&INFOCUBE= <InfoProvider-Name>&QUERY=<Query-Name>

In the Standard Web template, the query is displayed in a table with a navigation block. The name of the query appears as the title. You can access the most useful functions and other forms of display (including various diagram types) from a symbol bar.

You set up the standard Web template in the SAP Reference IMG ® Business Information Warehouse ® Reporting-relevant Settings ® Web-based Settings ® Determine Standard Web Template. The 0Query_Template is the default standard Web template.

You can use this Web template as the template, change the HTML and then set your new Web template as the standard Web template in the SAP Reference IMG.

Caution

Note: Since the standard Web template contains highly dynamic parts, technical factors prevent you from being able to edit it in the Web Application Designer. You can use any HTML Editor instead.

Features

The standard Web template contains a record of Web items that you can display on a symbol toolbar as and when required.

Clicking on a Web item symbol on the symbol bar (such as a Chart, Table, Ad-hoc Query Designer and so on) sends a command via the URL that makes the Web Item visible and fills it with the pre-specified Data Provider.

You can enhance or modify the Standard Web template in the following way:

You can enhance this symbol bar by

·        inserting additional Web items (such as List of Documents) into the standard Web template and by adding new symbols and tool tips for them.

·        integrating additional functions (commands such as currency translation) into the symbol bar and adding new symbols and tooltips for them.

·        offering additional diagram types in the symbol toolbar, saving the corresponding Web items for them in the Web Application Designer library, and then referencing to them in the Standard Web template.  

Structure

The 0Query_Template is structured in the following way:

·        The basic structure of 0Query_Template is an HTML table with the name of the query as a title. The Web item Text Elements is inserted to have the name of the query as a title. You can use the setting ONLY_VALUES to make only the element containing the query name (REPTXTLG) visible.

<PARAM NAME="ONLY_VALUES" VALUE="X">

<PARAM NAME="ELEMENT_NAME" VALUE="REPTXTLG">

<PARAM NAME="ELEMENT_TYPE" VALUE="COMMON">

·        In addition, the following Web Items are contained in the HTML table:

¡        Navigation Block and Table

¡        4 Charts (various diagram types)

¡        Text Elements

¡        Filters

¡        List of Exceptions

¡        List of Conditions

¡        Ad-hoc Query Designer

All Web items have the general property Hide Object activated (HIDDEN='X'). The two Web items Navigation block and Table are set to HIDDEN=' '. In other words they are displayed by default.

The Standard Web template does not contain an explicit Data Provider. The DataProvider is not supplied with the URL and the Standard Web template filled with data until the query is displayed in the Web.

·        The HTML table contains a symbol bar, which you can use to call up various functions.

For example, if you choose Chart on the standard Web template symbol bar, the Web item Chart is set to HIDDEN=' '. The data is then displayed in the chart but not in the table.

You can display the data in the Standard Web template with various diagram types. Do so by choosing Vertical Bar Chart, Pie Chart, Line Graph or 3D Bar Chart from the symbol bar. These diagram types are saved as Web items in the library 0QUERY_TEMPLATE_LIB in the Web Application Designer.      In the Standard Web template, the system references to these Web items via their technical names.

Example

For example: If you want to have Tachometer instead of Line Graph on the symbol bar, you need to create a Web item Chart with the Chart type Tachometer in the Web Application Designer. Adjust the layout settings (color, legend) before saving it to your own library and then inserting it into the Standard Web template.

The symbol bar is comprised as follows in the Standard Web template:

                             a.      Insert the required command into the Web template, for example, Switch Axes: <a  href="<SAP_BW_URL CMD='SWITCH_AXES' DATA_PROVIDER='DP'>">...</a>.

                            b.      Save the required symbol for it in the Mime Repository and insert the link to it in the Web template: <img src="sap/bw/Mime/BEx/Icons/S_B_RESH.gif" border="0" alt="...“>.

                            c.      Insert the tooltip text after alt=.If you want the text to be translated into other languages in BW, insert this text as SAP_BW_TEXT and specify the name of the program in which texts are maintained and translated.  Also refer to Generating an ABAP Program to Maintain Language-Dependent Texts .

Example

<!-- Display Switch Axes --->

<td class="SAPBEXNavLine"><a  href="<SAP_BW_URL CMD='SWITCH_AXES' DATA_PROVIDER='DP'>"><img src="sap/bw/Mime/BEx/Icons/S_B_RESH.gif" border="0" alt="<SAP_BW_TEXT program="SAPLRRSV" key="312">"></a></td>

<td class="SAPBEXNavLine">&nbsp;|</td>