Skip to Content
0
Former Member
May 20, 2005 at 04:09 AM

Internal table to field symbols

30 Views

Hi All,

I know there is lot of discusstion available on the net / sdn for this but still I am not getting correct answer for this.

I have following piece of code. ( Field-symbol <data> which is a workarea of <it_disptab> ) now I want to transfer

the data of i_wbs of selectively fields to <data>, how do i do that? In the following code, system stores garbage value

if the datatype of field of <data> is curr. The structure of <data> and i_wbs is not same.

Data : begin of i_wbs occurs 0,

Pspnr like prps-pspnr,

Posid like prps-posid,

Wtges like coep-wtges,

End of i_wbs.

LOOP AT i_wbs.

MOVE i_wbs TO <data>.

APPEND <data> TO <it_disptab>.

ENDLOOP.

Best Regards

Sandeep