Skip to Content
0
Sep 18, 2005 at 01:41 PM

ABAP OO: how to pass a internal table with objects as a method parameter

957 Views

Hello all,

I have a class "ZCL_VEHICLE", this class contains the attribute WHEELS.

This attribute contains objects of the class ZCL_WHEEL.

(definition: data WHEELS TYPE TABLE OF REF TO zcl_wheel.).

I now need a method that gives this table back (as return or export parameter). How can I define a parameter for this method that will contain this table?

Thanks for the help.

Best regards,

Wim