05-06-2004 2:05 PM
perhaps i am to blind to see it, but how can i define a parameter of a method as an internal tabel in the class builder.
the only possible type definitions are: type, like and typr ref to.
05-06-2004 2:16 PM
You don't differentiate in method interface between internal tables and other variable types. There is no equivalent in a method to a function's TABLES interface. Instead, the parameter type should be a reference to a table type.
In my opinion, this is best done by defining the table type in the Dictionary. If you've not done this before, go to SE11, select radio button Data type, enter the type name and click create. When prompted choose table type. Essentially a Dictionary table type is a definition of an internal table that can be used in ABAP logic.
Alternatively, you can also define table types locally within your class, however such types can only be used privately, not in the interface of a public method.
Scott