Skip to Content
0
Former Member
Feb 26, 2009 at 11:23 PM

Field symbol to internal table

39 Views

Hi guys,

i need to assign field symbol data to a internal table...

how to assign this?

DATA: comp(80) type c value 'T001'.
DATA: int_t001 type STANDARD TABLE OF T001. 
DATA: dref TYPE REF TO data.

FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE.

CREATE DATA dref TYPE TABLE OF (comp).

ASSIGN dref->* TO <dyn_table>.

SELECT * FROM (comp)

INTO TABLE <dyn_table>.

now how can i assign <dyn_table> to int_t001?

thanks

Giri