Code: Alles auswählen.
field-symbols: <gs_wa_field> type any.
assign component [feldname] of structure <gs_wa> to <gs_wa_field>.
Code: Alles auswählen.
ASSIGN gz_table->* TO <gt_table>.
DATA:
<gs_wa> LIKE LINE OF <gt_table>,
<gs_fd> TYPE ANY.
LOOP AT <gt_table> ASSINGING <ga_wa>.
ASSIGN COMPONENT >feldname< OF STRUCTURE <gs_wa> TO <gs_fd>.
* <gs_fd> = ...
...
ENDLOOP.
Code: Alles auswählen.
MODIFY <gt_table> FROM <gs_wa>.
Code: Alles auswählen.
loop at <g_tab> assigning <g_str>.
assign component [feldname] of structure <g_str> to <g_fld>.
<g_fld> = 'myValue'.
endloop.