Show TOC

Background documentationRestricting Entry to Single Fields Locate this document in the navigation 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.

Syntax Syntax

  1. REPORT demo_sel_screen_select_no_int1.
  2. DATA wa_spfli TYPE spfli.
  3. SELECT-OPTIONS airline FOR wa_spfli-carrid NO INTERVALS.
End of the code.

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:

Syntax Syntax

  1. REPORT demo_sel_screen_select_no_int2.
  2. DATA wa_spfli TYPE spfli.
  3. SELECT-OPTIONS airline FOR wa_spfli-carrid NO INTERVALS
  4.                                            NO-EXTENSION
End of the code.

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.