If the user opens the Multiple Selections dialog box for a selection option, the same events are triggered in the PAI of the selection screen as if the user had chosen Execute . The user can then enter the required multiple selections. In the Multiple Selections dialog box, user actions either lead to input help or trigger the PAI event of the dialog box. At first, the
AT SELECTION-SCREEN ON seltab
event is triggered for the current line of the selection table. It can then be processed like a single field .
AT SELECTION-SCREEN ON END OF seltab
event is triggered. This event block allows you to check the whole selection table seltab . Warning messages are displayed as dialog boxes, not in the status line.
The following executable program is connected to the logical database F1S.
REPORT demo_at_selection_on_end. NODES spfli. AT SELECTION-SCREEN ON END OF carrid. LOOP AT carrid. IF NOT carrid-high IS INITIAL IF carrid-low IS INITIAL. MESSAGE w888(sabapdocu) WITH text-001. ENDIF. ENDIF. ENDLOOP.
If the user chooses the multiple selection button ( ) on the selection screen, and then enters upper limits without lower limits in an interval field, on the Multiple Selection window, a dialog box appears with a warning: