Entering content frameProcedure documentation Extending the Selection Criteria Locate the document in its SAP Library structure

Use

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

Example

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.

Prerequisites

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

Procedure

  1. Make your selections on the Selections screen.
  2. A selection criterion for this field is added to the Selections screen.

  3. Specify parameters for the selections.

Determines the sequence on the selection screen

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.

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

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

Note

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.

Example

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

Note

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.

 

 

Leaving content frame