Code: Alles auswählen.
AT SELECTION-SCREEN.
AT SELECTION-SCREEN.
CASE sy-ucomm.
WHEN 'XXX'.
CALL SELECTION-SCREEN 1100.
WHEN 'CRET'.
CALL FUNCTION 'SAPGUI_SET_FUNCTIONCODE'
EXPORTING
functioncode = '=ONLI'.
ENDCASE.
Code: Alles auswählen.
AT SELECTION-SCREEN.
CASE sy-ucomm.
WHEN 'XXX'.
CALL SELECTION-SCREEN 1100.
WHEN 'CRET'.
LEAVE to LIST-PROCESSING.
SET PF-STATUS 'STLI' OF PROGRAM 'SAPMSSY0'.
PERFORM liste.
ENDCASE.
start-of-selection.
perform liste.
form liste.
write: / 'endlich'.
endform.
Code: Alles auswählen.
AT SELECTION-SCREEN.
IF sy-ucomm = 'XXX'.
SUBMIT report2 WITH p1 = p1
WITH p2 = p2
with p3 = p3
with p4 = p4
AND RETURN.
ENDIF.