Skip to Content
0
Former Member
Nov 27, 2006 at 03:32 PM

How to define an itab including a field-symbols

113 Views

*Please see below code, I define a field-symbols structure <wa>:

FIELD-SYMBOLS: <wa> TYPE ANY.

data: wa type ref to data.

create data wa type (p_table).

assign wa-> to <wa>.

...

My question is after <wa> get assigned, if I want to define a new internal table or structure which should include <wa>, like below:

data: begin of itab occurs 0.

include structure <wa>.

data: status type c.

data: end of itab.

But it doesn't work. How can I do that?

Thank you very much!