Information Consumer Pattern


The Information Consumer Pattern is a component of the User-Interface Pattern that is specially parameterized for each Web application by the SAP content developer. In this way, the content developer can establish which of the available functions will be provided for each Web application.


The following functions are the maximum that are available to the Information Consumer:

·         Dropdown box to switch between query views and chart/table display. Each entry in the dropdown box represents a query view as a DataProvider and a library item (table item or chart item). The navigational state is established using the query view and the library item is used to determine the type of data display (table or chart type).

If the content developer only specifies one DataProvider, the dropdown box does not appear.

·         The Hide Filter pushbutton shows an area that displays the available filter characteristics and the dynamic filter values that are set underneath it. (Static filters for the query are not displayed here). The filter characteristics have either a dropdown box or an F4 help (icon) as value help.

If the filter value is visible, the Display Filter pushbutton is replaced with Hide Filter. When you press Hide Filter, the filter area is hidden again.

·         The function bar contains the following functions:

(If some of the functions are not displayed they have been hidden by the content developer o rare not relevant for the Web application. The functions are displayed as hyperlinks).

o        Info opens a new window with three tab pages. On the first tab page, the online documentation for the query is displayed. You have the option of switching to the metadata documentation using a pushbutton. The second tab page displays the documents available for the Web application and the third tab page contains technical information and specifications for the selection on the DataProvider (variable assignment, static and dynamic filters, conditions and exceptions).

o        Advanced Analysis opens a window in which you can make a more detailed analysis of the data. A navigational state and the display as a table or chart type can be saved as local entries in the upper dropdown box for the query views when you press the Save View button on the bottom left. You can find more information in the documentation for the BEx Web Analyzers.

o        Save as Initial Screen opens a window with three pushbuttons. Personalize Initial View saves the current display so that it appears as the initial view the next time the Web application is called. Delete Personalization deletes the initial view so that the default initial view appears the next time it is called. Cancel closes the window without further action.

o        Tableswitches from the chart view to the table view. This function only exists when the original view is a chart. After switching, the text in the hyperlink is changed to Chart. When you press the button again, you can switch back to chart view.

o        Variable Inputswitches to the variable screen, where you are able to change the variable values. This link only appears when the query has variables that are ready for input.

·         The table display of the data only has the Sort and Scroll functions as icons in the header line in case the area designated for the rows and columns is not sufficient. To sort in ascending order, click on the sort icon once, to sort in descending order, click on the sorting icon again. The context menu is deactivated.  If the content developer has included links for navigation to other Web applications, these will appear in the context menu.


List of templates involved:

Template ID



Master template that is parameterized by the application-specific templates.

The master template contains the entire HTML layout, as well as the following Web items: Query view selection, dropdown box (for filter), filters, text elements (for data timeliness), and table (as target item).


Template for the Info link. Here, information is provided for the displayed DataProvider, such as online documentation, documents and technical information (general text elements, variable assignments, static and dynamic filters, and so on).


Template for the link Save as Initial Screen. It includes three buttons: Personalize Initial View, Delete Personalization and Cancel.


Sub-templates for the master template that contains various versions of the toolbar.

For example, for *=ALL, all of the available menu functions are displayed (info, advanced analysis, save as initial screen, chart/table switch); for *=D only the advanced analysis link is displayed in the toolbar, and so on.

Other objects:

·         MIME files with JavaScript functions JSBCTBasic.js.

·         ABAP-OO class: CL_BW_BCT_BAP_GENERAL (Table interface for the sorting function in the table item).

·         Library with the library items used: 0LIB_BAP.


The link to Details calls the BEx WebAnalyzer, which corresponds to the Analyst pattern.