Show TOC

Extending the Selection CriteriaLocate this document in the navigation structure


You are in the Field Selection screen and want to create a new query or change an existing query.


On the Selection Fields screen, you can choose selections that are subsequently used as selection criteria when you execute the query.


If, for example, you select the Flight Connection Code field, when you execute the query, you can specify in the program selections area that you only want to display flights with certain flight numbers.


  1. Make your selections on the Selections screen.

    A selection criterion for this field is added to the Selections screen.

  2. Specify parameters for the selections:

    • Number (No)

      Determines the sequence on the selection screen

    • Selection text

      You can change the text for a selection criterion if you do not like the text proposed by the query. Texts for selection criteria can only be changed after the appropriate field has been selected and Enter chosen.

    • Single value (sv)

      Determines that only one value can be entered on the selection screen.

    • Single line (1L)

      Determines that only one line can be entered on the selection screen.


    You use this type of selection criteria only if the selections cannot be implemented using dynamic selections. The advantage of dynamic selections is that they reduce the number of time the database is accessed.


    In our example (selection according to Flight connection code) you must use dynamic selections, since they are supported by the logical database.


    If selection criteria are defined for InfoSet fields and local fields and these fields contain character strings (type C), then the ABAP Dictionary definition of this field determines whether case sensitivity is maintained when the selection criteria are input or if all input values are converted to capital letters (uppercase).

    With additional fields and local fields where a LIKE reference to a dictionary field was not used to define the data type, meaning that there is no dictionary reference, you have to take care with Releases 4.5A and above, that you make a note of the capitalization used.