11-13-2007 10:36 AM
I want to define an internal table with other internal table inside.
For example:
TYPES: BEGIN OF S_DESCRIPCION,
F_DESCR(30) TYPE C,
C_DESCR(30) TYPE C,
END OF S_DESCRIPCION.
TYPES: BEGIN OF S_STATUS_F,
SFVACIO TYPE C,
SCVACIO TYPE C,
SMATERIAL TYPE C,
INCLUDE STRUCTURE S_DESCRIPCION.
END OF S_STATUS_F.
It doen't work but this is my idea.
like
types: begin of s_table.
include structure sflight.
types: it_book type table of sflight.
end of s_table.
data: it_tabla type table of s_table,
wa_tabla like line of it_tabla,
wa_book like line of it_book.
11-13-2007 10:41 AM
Hi Ana,
try this..
REPORT ychatest2.
TYPES: BEGIN OF s_descripcion,
f_descr(30) TYPE c,
c_descr(30) TYPE c,
END OF s_descripcion.
TYPES: BEGIN OF s_status_f,
sfvacio TYPE c,
scvacio TYPE c,
smaterial TYPE c.
<b>INCLUDE TYPE s_descripcion.</b>
TYPES : END OF s_status_f.
11-13-2007 10:41 AM
Hi Ana,
try this..
REPORT ychatest2.
TYPES: BEGIN OF s_descripcion,
f_descr(30) TYPE c,
c_descr(30) TYPE c,
END OF s_descripcion.
TYPES: BEGIN OF s_status_f,
sfvacio TYPE c,
scvacio TYPE c,
smaterial TYPE c.
<b>INCLUDE TYPE s_descripcion.</b>
TYPES : END OF s_status_f.
11-13-2007 10:46 AM