Dear All,
I have a question as follows.
I am kind of new to DATA references.Kindly help me in framing the query.
It_value structure.
IS DATA structure
Data:Ir_data type ref to data.
LOOP AT lt_values INTO ls_values.
ls_data-table name = iv_table name.
ls_data-field name= ls_values-field name.
GET REFERENCE OF ls_values-domain_values INTO ir_data1.
ls_data-data = ir_data1.
APPEND ls_data TO lt_data.
ENDLOOP.
After the first loop
I am getting the value inserted as 3 rd entry where first two entries are from different methods.Now issue which am facing is in the next loop execution values will get overwritten and finally in the DATA column i having the similar entries.
My final table..
I know Ir_data is pointing to the same data-reference that is why values are getting overwritten.
Ram.