Show TOC

Restricting Entry to Single FieldsLocate this document in the navigation structure

Use

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.

        
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:

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_int2.
        
DATA wa_spfli TYPE spfli.
        
SELECT-OPTIONS airline FOR wa_spfli-carrid NO INTERVALS
        
NO-EXTENSION
         

the selection screen looks like this:

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