BEx Web Application Designer enables you to create a BEx Web application (an HTML page with BI contents) quickly and easily.
The Web template is the starting point for creating a Web application. The Web template is an XHTML document that is used to define the structure of a Web application. It contains placeholders for Web items, data providers, and commands. A Web template becomes a Web application when the data is displayed in the Web browser.
During the design process, you change the Web template by embedding placeholders for Web items and data providers. You can keep track of these changes in the XHTML view.
To create a new Web template , you have the following options:
The data for your Web items is provided by data providers that you create in Web Application Designer. You can assign a data provider to multiple Web items. The data provider concept makes it possible to change the data source of a Web item easily. If a particular data provider is assigned to more than one Web item, any changes made affect all the assigned Web items. Due to navigation (changing the drilldown), the Web item always displays the current drilldown data.
A data provider is a dynamic object that returns current data for one or more Web items at runtime. You define the start view of the data provider by selecting a query or a query view. For more information about data providers, see Working with Data Providers .
There are several ways to create data providers:
In the dropdown box beneath the name field, you can also select or change the data provider type.
You can only use this option if you have already inserted a Web item into your Web template.
The data provider is assigned to the selected Web item. You can also create more than one data provider, as described under c. They are listed in the dropdown box under Assigning Data Providers. This enables you to assign a different data provider to the selected Web item.
The Data Provider dialog box appears under data provider <name of assigned data provider>. You can modify or change the settings for the data provider here.
Once you have created a data provider, it is assigned to the inserted Web item. Assigning depends on the order of the data providers in the inner structure of the Web template. See 4.a.
The Web items in the Web Items screen area are used as templates. By dragging a Web item into your Web template, you create an actual version of the Web item; this is called an object. The Web item has a name and certain other default parameters that you can change as required (see also 4.).
You see the changes in the XHTML view. A Web item tag for the Web item and a data provider tag for the data provider (assuming you have created a data provider) were integrated into the XHTML as placeholders. Change the name of the Web item and assign a data provider to it. In the XHTML view, you can see that your settings have been written to the Web item tag. The layout you choose is also applied in the XHTML.
Underneath the selection area for Web items and data provider maintenance, you see the help area, which provides explanations for the Web items and data providers. To display the texts for a Web item, select the Web item by double-clicking with the secondary mouse button. To hide the texts, proceed in the same way. When you hide the display of texts and select a Web item by clicking it, a quick info is displayed for the Web item.
In the Settings area of the screen, choose the Rename Web Item button to the right of the dropdown box in which the added Web items are listed. Name the Web item by overwriting the predefined text for Name in the Properties screen area next to the dropdown box where the added Web items are listed.
You can also set the parameters for the Chart Web item using the Edit Chart dialog box. Choose Edit in the context menu for the Chart Web item or Edit Chart in the Internal Display parameter grouping of the Chart Web item. More information: Editing Charts .
To insert additional Web items, repeat steps 3 and 4.
In Web Application Designer, you create your Web template like you would in an XHTML editor. See Designing the Layout of Web Templates .
More information: Web Template Properties .
You execute the Web template in the Web browser (portal). The Web template becomes a Web application, which means the template is saved on the Application Server for ABAP and a URL is generated for this Web application.
At runtime (triggered by calling the URL), the BI tags are replaced by corresponding HTML with the information determined by the Web item and data provider settings. When this is done, the Web template on the Application Server for ABAP is accessed. You therefore need to save your Web template before executing it.
You have to save the Web template before executing it in the Web browser. Therefore, when you execute the template, you are asked to save it if you have not already done so.
Your Web application is started and displayed in the portal, which in turn runs in a Web browser.
If you want to print your Web application, choose Print in the context menu for the executed Web application.