Code: Alles auswählen.
DATA: struc TYPE (deine Struktur)
c_field TYPE STRING,
c_string TYPE STRING.
FIELD-SYMBOLS: <comp> TYPE ANY.
DO.
ASSIGN COMPONENT sy-index OF STRUCTURE struc TO <comp>.
IF sy-subrc EQ 0.
c_field = <comp>.
CONDENSE c_field NO-GAPS.
CONCATENATE c_string c_field INTO c_string.
ENDIF.
ENDDO.