Code: Alles auswählen.
REPORT xxxx.
TABLES: sscrfields, /tab1/MAT, /tab2/LOC.
SELECTION-SCREEN BEGIN OF SCREEN 1111 TITLE text-001 AS WINDOW.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 1.
SELECTION-SCREEN COMMENT (20) t1.
SELECTION-SCREEN POSITION 22.
PARAMETERS matnrfr LIKE /tab1/MAT-MATNR.
SELECTION-SCREEN COMMENT (20) text-003.
SELECTION-SCREEN POSITION 44.
PARAMETERS matnrto LIKE /tab1/MAT-MATNR.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 1.
SELECTION-SCREEN COMMENT (20) text-004.
SELECTION-SCREEN POSITION 22.
PARAMETERS locfr LIKE /tab2/LOC-LOCNO.
SELECTION-SCREEN COMMENT (20) text-005.
SELECTION-SCREEN POSITION 44.
PARAMETERS locto LIKE /tab2/LOC-LOCNO.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 1.
SELECTION-SCREEN COMMENT (20) text-006.
SELECTION-SCREEN POSITION 22.
PARAMETERS datefr LIKE sy-datum.
SELECTION-SCREEN COMMENT (20) text-007.
SELECTION-SCREEN POSITION 44.
PARAMETERS dateto LIKE sy-datum.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN END OF SCREEN 1111.
INITIALIZATION.
t1 = 'Materialnr'.
*CALL SELECTION-SCREEN 1111 STARTING AT 10 1.
*AT SELECTION-SCREEN.
AT SELECTION-SCREEN OUTPUT.