Skip to Content
Former Member
Aug 16, 2005 at 08:41 PM

How to dynamicaly (with variable) create itab - using field symbols?



I need to create internal table using variable - field symbols. I think like this, but...

data: begin of itab occurs 0.

include structure <b>s_itab</b>.

end of itab.

s_itab is variable with structure of dbtab.

I need to include variable structure table.

i. e.

My itab then changes structure according variable s_itab.

First can be s_itab like table of bseg, second can be s_itab like table of hrp1001. And then I get desired itab.

Thanks for any ideas. zd.