‎2016 Jan 03 8:31 PM
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.
‎2016 Jan 04 1:34 AM
‎2016 Jan 04 6:45 PM
Hi Ram,
Not getting a clear understanding. Screen shots are all okay but what exactly do you want to achieve? Please elaborate.
Cheers,
Varun