SAP SEL SCREEN SEL OPT ABEXA

Get Example source ABAP code based on a different SAP table
  


ARTICLE

Selection Screens, Basic Form of Selection Criteria
The example shows how the selection tables are filled in a multiple selection.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
On the selection screen 100, you can specify the name of the table dbtab and of the column column contained therein. These are then used for the dynamic layout of the selection criterion on the selection screen 500.
The system displays two input fields and one pushbutton that allow additional entries for the selection criterion. The value which the user enters in the first input field is written to the component selcrit-low of the selection table; the value for the second field is written to the component selcrit-high.
For more complex selections, the user can use the pushbutton on the right side of the selection screen to display the multiple selection window.
The contents of the selection table are then output in a list. The first column determines whether the subsequent values are to be included or not; the second contains the Boolean operator and the last two columns contain the limits low and high.