Code: Alles auswählen.
PARAMETERS p_test TYPE c OBLIGATORY.
AT SELECTION-SCREEN.
CASE sy-ucomm.
WHEN space.
CALL FUNCTION 'SAPGUI_SET_FUNCTIONCODE'
EXPORTING
functioncode = '=ONLI'
EXCEPTIONS
function_not_supported = 1
OTHERS = 2.
ENDCASE.
START-OF-SELECTION.
WRITE: / 'Programm ausgeführt.'.