Skip to Content
0
Former Member
Sep 23, 2005 at 07:37 AM

Table type in type

20 Views

Hello all,

Newbie here, this may sound a little to easy:

I need to define a type which contains filed of type table,

I tryed like this:

<i>

begin of ty_feature,

fname(30) type c,

fvalue(30) type c,

end of ty_feature,

ty_features type table of ty_feature,

begin of ty_xmlmat,

matnr type mara-matnr,

maktx type makt-maktx,

classnum(16) type c,

color(4) type c,

<b> features type ty_features,</b>

end of ty_xmlmat.

</i>

The error i get :

<b>"TY_FEATURES" is a generic type. A type reference is possible only for field symbols and FORM parameters.

</b>

Please tell how to define this kind type.

Lots of thanks,

Bogdan

Sorry for my miserable english