Entering content frame

Function documentation Calling Parameterized Web Templates Locate the document in its SAP Library structure

Use

The URL for calling a Web template is generated by the Web Application Designer. It is possible to copy the URL, and use it again as many times as you like.

A typical URL looks like this:

http://myAppServer:myPort/SAP/BW/BEx?CMD=LDOC&template_id=yourTemplate

The first part of the URL ((http://myAppServer:myPort/SAP/BW/BEx?) calls the BEx service in the SAP Web Application Server in the BW system.The next step is to call the Web template. The command ‘LDOC’ with the parameters 'TEMPLATE_ID' calls the Web template.

The command LDOC requests a new HTML page. The Web template is used to construct this HTML page. The Web application corresponding to the Web template is displayed in the Web Browser.

You parameterize the Web template by adding further parameters to the URL. These parameters are passed on to all data providers and Web items. Parameterizing the URL allows you to filter all the query views according to a particular country or cost center.

Examples

Filtering all query views according to Germany

http://myAppServer:myPort/SAP/BW/BEx?CMD=LDOC&template_id=yourTemplate& FILTER_IOBJNM=0COUNTRY&FILTER_VALUE=DE

Filtering all query views according to Germany, 2000

http://myAppServer:myPort/SAP/BW/BEx?CMD=LDOC&template_id=yourTemplate& FILTER_IOBJNM_1=0COUNTRY&FILTER_VALUE_1=DE&FILTER_IOBJNM_2=0CALYEAR&FILTER_VALUE_2=2000

Displaying all Web items with title

http://myAppServer:myPort/SAP/BW/BEx?CMD=LDOC&template_id=yourTemplate& GENERATE_CAPTION=X

 

Leaving content frame