SAP SEL SCREEN SEL OPT ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_SELSCR - 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, the name of the table dbtab and its column column can be specified. These are then used for the dynamic layout of the selection criterion on the selection screen 500.
Two input fields and a pushbutton to enter additional values for the selection criterion are displayed. The value that 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 GUI window for multiple selections.
The content of the selection table are then output in a list. The first column determines whether the subsequent values are included or not, the second contains the Boolean operator and the last two columns contain the limits low and high.