Hello,
I am using field-symols for dynamic internal table and dynamic wo0rk areas.
When I do following, the dynamic work area gets updated with the value of field in SF4. The <dyn_wa> is also automactially updated with value of field SF4 field which is equated to <DATA> in code (a) below.
a)
ASSIGN COMPONENT v_component of STRUCTURE <dyn_wa> TO <DATA>. <DATA> = SF4
But when I do following, I see that <DATA> now contains value of field SF4 but the
dynamic work area still does not have value of <DATA>.
b)
ASSIGN COMPONENT v_component of STRUCTURE <dyn_wa> TO <DATA>. v_screenfield = SF4. assign (v_screenfield) to <DATA>
I want to use code technique (b) because then I would not have to code for case-endcase for each screen-fields, but I want to make sure that dynamic work area gets updated as in code (a).
Regards,
Jainam.