Code: Alles auswählen.
Data g_temp TYPE S VALUE 'MARA'.
...
Data itab TYPE STANDARD TABLE OF g_temp.
Code: Alles auswählen.
LOOP AT <gf_table> INTO <gf_struc>.
LOOP AT <gf_struc> INTO <gf_help>.
WRITE <gf_help>.
ENDLOOP.
NEW-LINE.
ENDLOOP.
Code: Alles auswählen.
LOOP AT <gf_table> INTO <gf_struc>.
LOOP.
ASSIGN COMPONENT idx OF STRUCTURE <gf_struc> TO <gf_help>.
WRITE: <gf_struc>-<gf_help>.
ENDLOOP.
NEW-LINE.
ENDLOOP.
Code: Alles auswählen.
LOOP AT <gf_table> INTO <gf_struc>.
DO.
ASSIGN COMPONENT sy-index OF STRUCTURE <gf_struc> TO <gf_help>.
IF sy-subrc = 0.
WRITE <gf_help>.
ELSE.
EXIT. "Abbruchbedingung der Do-Schleife wird am Ende der Strucktur erreicht
ENDIF.
ENDDO.
NEW-LINE.
ENDLOOP.