Entering content frame

Object documentation Query View – Selection Locate the document in its SAP Library structure

Definition

Web item with which you can navigation between various queries and query views.

Use

With the Web item Query View – Selection, in one step you can switch from a data provider (query or query view) and its graphical presentation (such as a table, for example) to another data provider that is perhaps presented in a different way (in a chart, for example).

Structure

In addition to its general attributes, the Query View – Selection Web item has the following attributes:

Attribute

Description

Affected Web item

(VIEW_DD_TARGET_ITEM)

Enter the name of the Web item here that is to be used for visualization of the data and that you have inserted into the Web template. This attribute is mandatory because the Web item Query View – Selection can only be dragged into a Web template in connection with a Web item for visualization off the data.

List of query views

(ASSIGNMENT)

List of data providers, their description and their assignment to a Web item

Before you set this attribute, you must first assign a data provider to the Web template. Depending on whether you select a query or a query view as data provider, you will have to specify this query or the query view once in the rows of the list. This data provider will then be displayed initially in the Web application.

Every row in the list represents an entry in the dropdown box. For each entry, establish the following:

·        Name of the query

You can specify the technical name of the query that you want to visualize here. This entry is optional: If you want to specify a query view, skip this column. See Name of the Query View

·        Name of the query view

You can specify the technical name of the query view here or you can select an entry from the input help for the query view. Specification of the query view is optional: If you want to specify a query, go back to the first column. See Name of the Query

·        Technical name of the Web item that was previously saved in a library and that should be used for visualization of the data. This information about the Web item for visualization is optional. If you do not specify anything, the affected Web item will be used for visualization.

·        Description for the entry in the dropdown box. A description is mandatory for every entry in the dropdown box.

Display create/delete button

(VIEW_DD_SHOW_BUTTONS)

With this attribute, you can determine whether the buttons for creating or deleting new entries in the dropdown box should be displayed. New entries in the dropdown box are only visible locally. This means that they can only be seen by the person that created them.

If you set the indicator for this attribute, a standard Web template for display will be provided. If you want to use your own Web template for display, enter this under the Web Template to Create New Entries for the Dropdown Box attribute (VIEW_DD_CREATE_TEMPLATE).

Keep filter values for query views

(VIEW_DD_RRI)

If you set the indicator for this attribute, the filter values are kept when you swap query views in the dropdown box.

Keep settings for the affected Web item

(VIEW_DD_KEEP_SIZE)

If you set the indicator for this attribute, the settings for the affected Web item (width and size of the Web item, as well as number of data rows) are kept when you switch to another entry in the dropdown box.

Use all query views for a query

(VIEW_DD_USE_ALL_QUERY_VIEWS)

If you set the indicator for this attribute, all query views for a query are used as entries in the dropdown box.

First select the desired query as data provider. The settings for the List of Query Views attribute are not used in this case.

Sort query views alphabetically

(VIEW_DD_SORT)

If you set the indicator for this attribute, the query views are sorted alphabetically in the dropdown box. Otherwise the query views are sorted according to the sequence of entries for the List of Query Views attribute.

Web template for creating new entries for the dropdown box

(VIEW_DD_CREATE_TEMPLATE)

Specify the technical name of the Web item to create new entries for the dropdown box using the create button. It only makes sense to set this attribute if you would like to have the create/delete buttons displayed (see Display Create/Delete Button).

 

You can find more information on the use and function of the Query View – Selection Web item under Structure linkQuery View - Selection.

 

 

 

 

 

Leaving content frame