SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → User Dialogs → Selection Screens → Create Selection Screens → SELECT-OPTIONS → SELECT-OPTIONS - value_options →Selection Screens, Default Values for Selection Criteria
The example shows which default values you can set for selection criteria.
Source Code
REPORT demo_sel_screen_select_default.
DATA wa_spfli TYPE spfli.
SELECT-OPTIONS airline FOR wa_spfli-carrid
DEFAULT 'AA'
TO 'LH'
OPTION nb
SIGN i.
Description
The symbol before the first field indicates that the field airline-option contains the operator NB. The green colour indicates that the field airline-sign contains the value "I". The arrow on the right pushbutton is not green since only one line of the selection table is filled.