Code: Alles auswählen.
READ TABLE lt_input512z INTO ls_input512z
WITH KEY lgart = ls_input512w-lgart.
IF sy-subrc = 0.
CONCATENATE ls_output-itzul
ls_input512z-infty
INTO ls_output-itzul
SEPARATED BY space.
APPEND ls_output TO lt_output.
Code: Alles auswählen.
READ TABLE lt_input512z INTO ls_input512z
WITH KEY lgart = ls_input512w-lgart.
Code: Alles auswählen.
LOOP AT lt_input512z INTO ls_input512z
WHERE lgart = ls_input512w-lgart.
CONCATENATE ls_output-itzul ls_input512z-infty
INTO ls_output-itzul
SEPARATED BY space.
ENDLOOP.
Folgende Benutzer bedankten sich beim Autor jocoder für den Beitrag:
PatrickHei
Code: Alles auswählen.
ls_output-itzul = REDUCE #( INIT result TYPE string FOR <zeile> IN lt_input512z NEXT result = result && <zeile>-infty && ` ` ).