!--a11y-->
Calling up Web Templates 
The URL for calling a Web template is generated by the Web Application Designer. You can extend the URL by various parameters when you call up a Web template. These parameters can:
· influence the contents or display of the data for the result that is returned (see Calling Up Parameterized Web Templates)
· activate or deactivate different functions on the server.
Choose from the following options to call up the template:

You can find the permitted attributes for Web template properties under Object Tag for Properties of Web Templates.
CMD |
LDOC |
Parameter |
Description |
TEMPLATE_ID |
Name of the Web template Name under which you stored the Web template in the Web Application Designer. |
TRACE (optional) ’X’ = activate, ‘ ’ = do not activate |
Activate OLAP trace You usually need a trace to analyze problems in SAP. You can activate the trace with the help of note 112458 or by using the TRACE attribute. |
Any other parameters for parameterizing your Web template |

The parameters PAGEID and WBID that are used in BW 2.x are supported for the Web templates created under BW 2.x. However, we recommend that you no longer use these.

Calling up the Web template without navigating
http://yourAppServer:yourPort/SAP/BW/BEx?CMD=LDOC&TEMPLATE_ID=yourTemplate&STATELESS=X
Calling up the Web template with an activated trace
http://yourAppServer:yourPort/SAP/BW/BEx?CMD=LDOC&TEMPLATE_ID=yourTemplate&TRACE=X
Calling up the Web template with reset variables and active variable screen
http://yourAppServer:yourPort/SAP/BW/BEx?CMD=LDOC&TEMPLATE_ID=yourTemplate&VARIABLE_SCREEN=X&VARIABLES_CLEAR=X
This call-up replaces all data providers of the type 'query view' with the data provider specified. This makes it possible to make a query or query view available without making any further settings in the Web, and then use predefined Web templates for the page layout.
You can find the description of the necessary parameters under Object Tag for Properties of Web Templates

Displaying a query by using a Web template of your choice
http://yourAppServer:yourPort/SAP/BW/BEx?CMD=LDOC&TEMPLATE_ID=yourTemplate&infocube=myCube&query=myQuery
As well as being able to define a new initialization for all data providers of a Web template, you can also convert each data provider specifically and each Web item, using parameterization. By doing this, you allow even your more complicated Web templates to be reused. You can find the description of the necessary parameters under Object Tag for Properties of Web Templates

Swapping two data providers and a Web item when calling up a Web template
http://yourAppServer:yourPort/SAP/BW/BEx?CMD=LDOC&TEMPLATE_ID=yourTemplate&SET_DATA_PROVIDER_1=myDataProvider1&infocube_1=myCube&query_1=myQuery&SET_DATA_PROVIDER_2=myDataProvider2&data_provider_id_2=mySpecialView&SET_ITEM_3=myItem&ITEM_ID_3=myPieChart
If you call up the previous variant without specifying a TEMPLATE_ID, a standard Web template is used automatically. To make a Web template the standard Web template, go to BW Customizing Implementation Guide ® Business Information Warehouse ® Settings Relevant for Reporting ® Web-Based Settings ® Determine a Standard Web Template.
If
there is no setting made here, the system uses a Web template generated by
SAP. You can find more information on the Standard Web
Template under
Standard Web Template
for Ad-hoc Analysis.

Calling up a query without making any preparations in the Web
http://yourAppServer:yourPort/SAP/BW/BEx?CMD=LDOC&infocube=myCube&query=myQuery