SAP SELECT-OPTIONS SCREEN ABAP Statements
Get Example source ABAP code based on a different SAP table
SELECT-OPTIONS -
• MODIF ID SELECT-OPTIONS
ABAP Syntax
ABAP Addition
1
2
3
4
5
What does it do? These additions can be used to declare the first input field as a mandatory field, hide the input field on the
Latest notes: As well as the additions already available, you can use the function module
• OBLIGATORY SELECT-OPTIONS
ABAP Addition
What does it do? This addition defines the first input field for the selection criterion on the selection screen as a mandatory field. If this field is blank, the user cannot exit the selection screen using the
• NO-DISPLAY SELECT-OPTIONS
ABAP Addition
What does it do? If you specify this addition, no screen elements are created on the selection screen for the selection criterion. In an
If the addition
Latest notes:The length of the values passed to the columns
• VISIBLE LENGTH SELECT-OPTIONS
ABAP Addition
What does it do? This addition defines the visible length of the input field as
• NO-EXTENSION SELECT-OPTIONS
ABAP Addition
What does it do? If you specify this addition, the pushbutton for multiple selection is not generated on the
Latest notes:The user cannot access the dialog box for multiple selection on the selection screen, which means that he or she cannot edit
• NO INTERVALS SELECT-OPTIONS
ABAP Addition
What does it do? If you specify this addition, the second input field is not generated on the selection screen.
Latest notes:The user can only specify a single comparison in the first row of the selection table on the selection screen. Intervals can still be selected in the dialog box for multiple selection.
Example ABAP Coding
Declaration of a selection criterion for which a single comparison is possible on the selection screen, but multiple selection is not possible. DATA spfli_wa TYPE spfli.
SELECT-OPTIONS s_carrid FOR spfli_wa-carrid NO-EXTENSION
NO INTERVALS.
Return to menu