Show TOC

Using Select Options as Selection CriteriaLocate this document in the navigation structure

Select options define the selection criteria for searches in Web Dynpro ABAP.

You define selection criteria as follows:
  1. You select the attributes that you want to search. To change the number of attributes searched, you use the plus or minus button to add or delete rows.

  2. Select the relevant operator. Different operators are available depending on the attribute.

  3. You define the values. Depending on the operator and attribute, you can select values from the input help or enter values freely. You can use an asterisk (*) as a placeholder.

Collapsing and Expanding Multiple Rows of an Attribute

Three consecutive rows of the same attribute are given a header automatically. The header can be expanded and collapsed with the toggle button (see figure).

Figure 1: Three Rows of the Booking Number Attribute. You use the small arrow on the top left to expand and collapse the rows.
Note

With parameter Defining the Layout of Select Options in method INIT_SELECT_OPTIONS you can suppress automatic grouping of multiple consecutive rows and creation of a header.

Inserting Multiple Values Simultaneously into Select Options:

You can copy multiple values from a table or text editor and paste them into the select options to use them for the search. You can also enter ranges of values. In both cases the system renders new rows containing the values from the copied rows. You can use standard copy and paste clipboard functions (CTRL + C and CTRL + V).

Personalization

If select options have been implemented, you can save searches and personalize the selection criteria.

Summary of the Search Criteria with Collapsed Search Area

If you collapse the search area, a summary of the selected search criteria are displayed in a row.

For each attribute used, the value used together with the operator are shown in brackets. The codes listed in the table below are used for the operators (in the table, x is the placeholder for the value entered).
Table 1: List of Operator Codes

Code

Operator

x

is, is exactly, is like, contains all/one/none of the texts

x*

begins with

*x*

contains

>x

is greater than, is later than

≥x

is greater than or equal to, is later than or on

<x

is smaller than, is earlier than

≤x

is smaller than or equal to, is earlier than or on

≠x

is not

' '

is empty

≠' '

is not empty

[x...x]

is between

]x...x[

is not between

[x]

is within

]x[

is not within

Top x

Top n

Top x%

Top %

Top∑x

Top sum

Bottom x

Bottom N

Bottom x%

Bottom %

Bottom∑x

Bottom sum