Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Returning paramter must be fully specified


i have a class with two type definitions (protected)



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`?

Former Member

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.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question