ABAP - Keyword Documentation →  ABAP - Programming Language →  SAP GUI User Dialogs →  Selection Screens →  Selection Screens - Create → 
Mail Feedback

SELECT-OPTIONS

Short Reference

Syntax

SELECT-OPTIONS selcrit FOR {dobj|(name)}
               [ screen_options]
               [value_options]
               [ NO DATABASE SELECTION]
               [ ldb_options].

Effect

This declares a selection criterion selcrit for a data object dobj or a type specified in name. Selection criteria are components of a selection screen, which are assigned a selection table in the ABAP program, as well as two input fields and a pushbutton for multiple selection.

The name of the selection criterion selcrit is limited to a maximum of 8 characters. This statement is allowed in the global declaration part of executable programs, function pools, and module pools. In function pools and module pools, the statement is only allowed within the definition of a standalone selection screen. In executable programs, the statement is otherwise automatically assigned to the standard selection screen.

The statement SELECT-OPTIONS has the following effect:



Hints







Continue
SELECT-OPTIONS, FOR
SELECT-OPTIONS, screen_options
SELECT-OPTIONS, value_options