I hve two different dynamic tables with same structure <dyn_table_IN> and <dyn_table_OUT>.
I'm loop in <dyn_table_IN> for calculate the values of some fields of <dyn_table_OUT>.
but i want to move only particuler fields of <dyn_table_IN> into <dyn_table_OUT>. whose i'm not calculated in select(dynamically)
LOOP AT <dyn_table_IN> INTO <WA>.( suppose struct of dyn_table_IN is matnr pstat matnr same as <dyn_table_OUT>. )
data : dy_line1 type ref to data.
create data dy_line1 like line of <dyn_table_OUT>.
assign dy_line1->* to <wa1>.
SELECT (QLIST) FROM (QFROM) (suppose qlist is matnr matnr)
INTO corresponding fields of <WA1>
WHERE (QWHERE1) .
MOVE-CORRESPONDING <WA> TO <WA1>. here i want to transfer the values of only pstat into <wa1>
pls help me.