Code: Alles auswählen.
DATA:
lt_tab_alt TYPE STANDARD TABLE OF <deinTyp>,
lt_tab_neu TYPE STANDARD TABLE OF <deinTyp>,
lw_tab LIKE LINE OF lt_tab_alt.
FIELD-SYMBOLS:
<lv_field> TYPE ANY.
LOOP AT lt_tab_alt INTO lw_tab.
DO.
ASSIGN COMPONENT sy-index OF STRUCTURE lw_tab TO <lv_field>.
IF sy-subrc NE 0.
EXIT. "beendet die DO-Schleife
ENDIF.
CALL FUNCTION 'NameDesFB'
CHANGING
cv_field = <lv_field>.
ENDDO.
INSERT lw_tab INTO TABLE lt_tab_neu.
* veraltet: APPEND lw_lt_tab TO lt_tab_neu.
ENDLOOP.