Working with Data Providers
Data providers are objects that provide data for one or more Web items at runtime. There are two types of data providers:
● Query view
Data providers of this type usually provide data for Web items that display the result of a query or a query view, such as the analysis and chart Web items. However, they can also be used as data providers for Web items that are used in relation to filtering data (such as the checkbox group and radio button Group Web items). The initial state of a data provider of this type is defined by specifying an InfoProvider, a query, or a query view.
● Filter
Data providers of this type usually provide data for Web items that are used in relation to filtering data, such as the dropdown box and radio button group Web items. Since data providers of this type do not return results of queries or query views, they cannot be used as data providers for Web items such as the analysis, chart, and report Web items. The initial state of a data provider of this type is usually defined by specifying a filter.
You define data
providers in the BEx Analyzer or in the BEx Web Application Designer and link
them to the interface elements of the BI application you want to create. At
runtime for the BI application, the specified initial state of the data
provider can be changed using commands. Commands are automatically triggered
by the interface elements of BI applications that were created with the Web
Application Designer or the BEx Analyzer (in design mode). By selecting an
entry from a dropdown box, for example, a filter value can be set in the data
provider that is linked to the dropdown box. In some cases, however, it is
also possible to generate commands within the program and send them to data
providers. See also:
Web Design
API
The current state of a data provider at runtime can be saved by the user as a new query view. When designing a BI application, you can specify whether this option is to be made available to users.
