Entering content frameRestricting Entry to Single Fields Locate the document in its SAP Library structure

To allow the user to process only single fields on the selection screen, you use the following syntax:

SELECT-OPTIONS <seltab> FOR <f> ..... NO INTERVALS .....

As a result, the second input field does not appear on the selection screen. The user can only enter a single field comparison for the first row of the selection table. However, the user can call the Multiple Selection screen and enter range selections there.

Example

REPORT demo_sel_screen_select_no_int1.

DATA wa_spfli TYPE spfli.

SELECT-OPTIONS airline FOR wa_spfli-carrid NO INTERVALS.

The following standard selection screen appears:

This graphic is explained in the accompanying text

The user can enter only a single field directly. However, the user can enter multiple selections by clicking the pushbutton on the right side of the screen.

If you use the NO-EXTENSION addition as follows:

REPORT demo_sel_screen_select_no_int1.

DATA wa_spfli TYPE spfli.

SELECT-OPTIONS airline FOR wa_spfli-carrid NO INTERVALS
                                           NO-EXTENSION

the selection screen looks like this:

This graphic is explained in the accompanying text

Now, the user can actually enter only a single field comparison.

 

 

 

Leaving content frame