Hi,
There are 2 structures (source and target structures). I appended 3 fields to the target structure and trying to populate these key figure fields from some key figure fields in the source structure. I executed this code and i extracted the data into a flat file. No values are populated for the 3 appended fields. Please let me know the problem in the code.
method IF_EX_OPENHUB_TRANSFORM~TRANSFORM.
data: l_s_data_in type /bic/cyytest_is,
l_s_data_out type /bic/czytest_is.
clear e_t_data_out.
loop at i_t_data_in into l_s_data_out.
l_s_data_out-/bic/ykf1 = l_s_data_in-/bic/yvvps2 +
l_s_data_in-/bic/yvvps4.
l_s_data_out-/bic/ykf2 = l_s_data_in-/bic/yvvps1 +
l_s_data_in-/bic/yvvps3.
l_s_data_out-/bic/ykf3 = l_s_data_in-/bic/yvvadb +
l_s_data_in-/BIC/yvvcpa..
insert l_s_data_out into table e_t_data_out.
endloop.
endmethod.
Thanks