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

Selection criteria are created in much the same way as parameters (see Creating Parameters.)

This graphic is explained in the accompanying text

By specifying the sequence, you can control the arrangement of selection criteria on the selection screen. This is always in ascending order.

Note

The sequence number applies equally to parameters and selection criteria.

The text you enter on the Description line when defining a selection criteria serves as documentation and should describe the selection criterion as well as possible. The selection text is displayed on the selection screen of every query report for the InfoSet. If you do not enter a selection text, the system uses the description as the selection text.

Selection criteria assignment for a data source node takes place using the FOR field that has to be assigned to each selection criterion. The selection criterion is set on the query selection screen if the corresponding data source node is in any way relevant to the query.

If you want to assign special attributes to the selection criterion, use the Additns line. There, you can specify all the additions allowed with the ABAP statement SELECT-OPTIONS. If required, you can use several additions, one after the other.

The system then performs a syntax check.

For every selection that is defined by the InfoSet or provided by the logical database, you can create code at the AT SELECTION-SCREEN in order to carry out checks. Ensure that the cursor is positioned on a selection in the overview screen for the available selections, and then call the Check code for element function.

The code at AT SELECTION-SCREEN has to be made separately for each selection. When you generate a query report, checks are made to ensure the check code for all selections is collected at the same AT SELECTION SCREEN and that only those selections that appear on the selection screen are referred to.

 

 

Leaving content frame