Skip to Content

Returning paramter must be fully specified

Hi,

i have a class with two type definitions (protected)

t_x

and

t_x_tab type standard table of t_x

In Addition i have a protected method with a returning parameter of the type t_x_tab, but the compiler gives me the error:

The type of returning parameter must be fully specified.

I do not really understand this error. method and typ definitions are only used inside the class, thats why they are protected.

Why i'm getting this error`?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Sep 02, 2008 at 09:18 AM

    You've not actually fully specified the parameter - the type is still in a generic form.

    t_x_tab type standard table of t_x with non-unique key table_line

    is the full specification. You get the same trouble when you try to construct deep tables. You must specify the key, otherwise it's not a fully specified type.

    Note, for importing/changing/exporting parameters, generic types are permitted. Just not for returning.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 09:20 AM

    Hi,

    If you are passing the table as the passing parameter then, as the typing you will have to pass a Table type....

    Example....

    t_x_tab type (table type) tt_x.

    This will remove the error.....

    Regards,

    Kunjal

    Add comment
    10|10000 characters needed characters exceeded