Skip to Content
0
Oct 27, 2005 at 06:45 AM

Syntax error: generic typing?

486 Views

Hello!

I'm on WAS 620, ABAP patch 41.

I tried to create a deep table type as follows:

TYPES: BEGIN OF s_fname_pair,
           fname_itab TYPE fieldname,
           fname_ddic TYPE fieldname,
         END OF s_fname_pair,
         ty_t_fname_mapping
                TYPE STANDARD TABLE OF s_fname_pair,
         ty_tt_fname_mappings
                TYPE STANDARD TABLE OF ty_t_fname_mapping.

However, I get a syntax error saying that "TY_T_FNAME_MAPPING" is a generic type.

Why is it generic? It seems to me that it's a fully typed table. When I declare the same types as dictionary types, everything works fine.

What is wrong here?

Thanks!

Regards,

Igor