Skip to Content
0
Former Member
May 13, 2008 at 01:55 PM

TABLE into a TYPE

30 Views

hi guys,

I would like to create a type including an internal table whithin.

The type declaration might be something like :

BEGIN OF ty_trad,

key TYPE textpool-key,

line TYPE TABLE OF i,

lg TYPE i,

val_fr TYPE string,

val_cs TYPE string,

END OF ty_trad.

This syntax causes a compilation error. I know this is possible in other languages and i would be surprised it is not in ABAP... Is it ?

Thanks a lot !

--Yohann