Use
The URL for calling a Web report (Web template) is generated by the Web Publisher. You can extend the URL by various parameters when you call up a Web report. These parameters can;

In the following, the term Web template is used, since it is actually the template that is called up. You can only speak of Web reports when it appears in the Web browser.
Functions
Choose from the following options to call up the template:
Default
CMD |
LDOC |
Parameter |
Description |
WBID |
Key of the Excel workbook, under which you stored the Web template in the Business Explorer. You have to have saved the workbook in BW (favorites, roles). |
PAGEID |
Name of the Web template Name under which you stored the Web template in the Web Publisher. |
STATELESS (optional) ‘X’ = Yes, ‘ ’ = No |
End the connection to the server as soon as possible For Web templates that are used only to display without further navigation, it is more useful to set the attribute STATELESS. The session on the application server is terminated when the Web template is structured. This saves resources on the application server. When the page is generated, the GENERATE_LINKS attribute is automatically set to ' ' for all items.
If this attribute is not specified, it is assumed that the page is still needed for navigating. |
STYLE_SHEET (optional) |
Path to a stylesheet that you want to use to display the Web template. This overwrites any stylesheet that you may have already assigned. |
TRACE (optional) ’X’ = switch on, ’ ’ = do not switch on |
Switch on OLAP trace To analyze problems with SAP, you usually need a trace. You can activate the trace with the help of note 112458 or by using the TRACE parameter. |

Calling up the Web template without navigating
http://your_its/scripts/wgate.dll/WebRFC/!?_function=WEBQUERY&CMD=LDOC&WBID=D9EW857MLP6EN0AEM9BZSQP3C&PAGEID=Template_Name&STATELESS=X
Calling up the Web template with trace switched on
http://your_its/scripts/wgate.dll/WebRFC/!?_function=WEBQUERY&CMD=LDOC&WBID=D9EW857MLP6EN0AEM9BZSQP3C&PAGEID=Template_Name&TRACE=X
Calling up the Web template with a different data provider
This call-up replaces all
data providers of the type 'view' with the data provider specified. This means you can make a query or a view available for use without having to do anything else on the Web, and you can use a predefined Web template for displaying the query.As well as the parameters used in the default call-up, this call-up also has the following:
Call-up for displaying a query:
Parameter |
Description |
INFOCUBE |
Technical name of the InfoCube |
QUERY |
Technical name of the query |
VARIANT (optional) |
Variant, if you are not required to enter a variable |
Call-up for displaying a different view (saved view of a query):
Parameter |
Description |
VIEWID |
Key for a view The View ID that you specify, determines the initial status of the view. The View ID identifies a view within a workbook. |
DATA_PROVIDER_WBID |
Key for the Excel workbook, under which you stored the data provider in the Business Explorer. You have to have saved the workbook in BW (favorites, roles). |
VARIANT (optional) |
Variant, if you are not required to enter a variable |

Displaying a query by using a Web template of your choice
http://your_its/scripts/wgate.dll/WebRFC/!?_function=WEBQUERY&CMD=LDOC&WBID=D9EW857MLP6EN0AEM9BZSQP3C&PAGEID=Template_Name&infocube=myCube&query=myQuery
Using a default Web template for a data provider
If you call up the previous variant without specifying a WBID or a PAGEID, a default Web template is used automatically. To make a Web template the default, go to SAP Reference IMG ® Business Information Warehouse ® Settings Relevant for Reporting ® Web Reporting ® Determine a Default Web Template.
If there is no setting made here, the system uses a Web template generated by SAP.

Calling up a Web template without making any preparations in the Web
http://your_its/scripts/wgate.dll/WebRFC/!?_function=WEBQUERY&CMD=LDOC&infocube=myCube&query=myQuery