Skip to Content
Former Member
Apr 13, 2006 at 02:32 PM

Is there a table type ATTRIBUTE that can be defined in an ABAP object?


Hi. Within SE24 on the Attributes tab, is there a way to define an attribute of type TABLE? If you put in STANDARD TABLE as the reference type, it does not allow a generic table type.

What I want to do is pass in a standard table type to my constructor, and then assign it to a private table attribute in the object.

I do not want to assign the table to a local variable of the constructor. I want to store the table in a private object attribute. I don't mind if the attribute type is a specific table type (such as KNA1), I just want to be able to assign the constructor's table parameter to some type of private object attribute.