Skip to Content
0
Feb 18, 2011 at 06:47 PM

Internal table with data reference variable as component

870 Views

Hi

i have a below structure and itab in my program and i have the issue mentioned below..

Data: begin of wa,

col1 type i,

col2 type ref to data,

end of wa.

data itab like table of wa.

create data wa-col2 type p decimals 2.

Now my requirement is to fill the work area wa and append it to the table.

i have used field symbols and references but i am not sucessful as the value of wa-col2 is getting overwritten by the field symbol and it is not accomodating distinct values.

kindly help me out.

thanks

abdul hakim