Code: Alles auswählen.
SELECT-OPTIONS s_kunnr TYPE kna1-kunnr.
Code: Alles auswählen.
PERFORM xyz TABLES s_kunnr[]
...
FORM xyz TABLES f_kunnr TYPE RSELOPTION .. ENDFORM
Code: Alles auswählen.
PERFORM xyz TABLES s_kunnr[].
RANGES f_kunnr FOR kna1-kunnr.
FORM xyz TABLES f_kunnr.
LOOP AT f_kunnr INTO f_kunnr.
...
ENDLOOP.
ENDFORM.
Code: Alles auswählen.
TYPES: t_s_kunnr_typ LIKE RANGE OF kna1-kunnr.
PERFORM xyz USING s_kunnr[].
FORM xyz USING f_kunnr TYPE t_s_kunnr_typ.
DATA f_kunnr_wa LIKE LINE OF f_kunnr.
LOOP AT f_kunnr INTO f_kunnr_wa.
IF f_kunnr_wa-SIGN = 'I'.
ENDIF.
ENDLOOP.
ENDFORM. " at_selection_screen
Code: Alles auswählen.
REPORT.
TABLES: kna1.
SELECT-OPTIONS s_kunnr FOR kna1-kunnr.
PERFORM xyz TABLES s_kunnr.
FORM xyz TABLES f_kunnr STRUCTURE s_kunnr.
ENDFORM. "xyz