Start of Content Area

Background documentation Data Binding Type QUERY_VIEW_SELECTION  Locate the document in its SAP Library structure

If you select Query View Selection (QUERY_VIEW_SELECTION) for Data Binding Type in the dropdown box Web item, you must set the following parameters:

Parameter

Description

Data Provider (DATA_PROVIDER_REF)

 

 

You use this parameter to assign a data provider to the Web item. The Web item obtains the data and metadata that it needs to generate the output and commands from this data provider.

Specific List of Query Views (SPECIFIC_LIST_OF_QUERY_VIEWS)

 

 

 

You use this parameter to specify whether a specific list of query views or a list of all query views is to be displayed for the assigned query.

You have to set the following parameters for each entry in the dropdown box:

Initial State (INITIAL_STATE)

Query (QUERY)

Query View (QUERY_VIEW)

InfoProvider (INFOPROVIDER)

You specify the initial state by using the open dialog to select a query, a query view, or an InfoProvider and the relevant technical name of the object.

Reusable Web Item (REUSABLE_WEB_ITEM)

You also specify the Web item with which the data provider is to be displayed. To do this, you must have saved the required Web item as a reusable Web item. If you do not specify a value, the target Web item (TARGET_ITEM_REF) is used for the display (see below).

Description of Selection (SELECTION_TEXT)

Using the text input dialog, you specify the text that is to be displayed for the entry in the dropdown box. See Text Input Dialog. 

Command (INSTRUCTION)

Using the command wizard, you specify whether and with which command from the Web Design API the entry in the dropdown box is to be additionally linked. See also: Commands

Target Web Item (TARGET_ITEM_REF)

 

 

You use this parameter to specify the Web item to be initially used for displaying data, and that you previously inserted in the Web template.

Listed Alphabetically

(ORDERED_ALPHABETICALLY)

You use this parameter to specify whether the dropdown box entries are to appear in alphabetical order.

Keep Filter Values (FILTERS_RETAINED)

You use this parameter to specify whether filter values are to be retained in the dropdown box when the query view is changed.

Command (INSTRUCTION)

Using the command wizard, you specify whether and with which command from the Web Design API the entry in the dropdown box is to be additionally linked.

Note that when you select a query view from the dropdown box, the following command sequence takes effect:

...

       1.      Switching of the Web item and the data provider.

       2.      Execution of the Web API command specified in the Command (INSTRUCTION) parameter for selection of the query view.

       3.      Execution of the Web API command specified in the Command (INSTRUCTION) parameter for an entry from the dropdown box (see parameters for Specific List of Query Views (SPECIFIC_LIST_OF_QUERY_VIEWS)).

For more information on the use and function of the Web item for the query view selection, see Query View Selection with a Dropdown Box.

 

End of Content Area