Hi All,
With ASSIGN COMPONENT it's possible to do a 'horizontal' read from a structure. I'm looking for a solution to put back (the changed) value in the 'source' field.
Example :
LOOP AT itab.
DO x TIMES.
ASSIGN COMPONENT sy-index OF STRUCTURE wa_structure TO <f1>.
IF sy-subrc ne 0. continue. ENDIF.
new_value = <f1> + 1.
how to get this changed value back in original source field (wa_structure-field_x)
...
ENDDO.
ENDLOOP.
Thanks,
Rob Makelaar
The Netherlands