How to create a internal table using include?
I am trying to define an internal table and a structure based on P0000.
TYPES: BEGIN OF ty_p0000,
include TYPE p0000,
END OF ty_p0000.
DATA: g_p0000 type ty_p0000,
t_p0000 type TABLE OF ty_p0000.
the above statements creat a flat structure table where all columns are condensed into single column and all values are concatenated.
data BEGIN OF t_p0000 OCCURS 0.
INCLUDE type p0000.
data END OF t_p0000.
data BEGIN OF g_p0000.
INCLUDE type p0000.
data END OF g_p0000.
the above creates a table but this is obsolete.