‎2014 Apr 03 4:31 PM
Hi,
I have a problem with classes:
I have one abstract superclass which has a method to create objecto for its children class.
CREATE OBJECT R_FLIGHT TYPE (l_class_name)
EXPORTING
i_sflight = l_sflight.
My children class has this properties:
A dump its triggered when I try to create object from the superclass.
Best Regards
‎2014 Apr 03 4:57 PM
Hi,
I have already solved my problem. The problem was that I had forgotten to put the superclass in the "Friends" tabscript of children class.
Best Regards
‎2014 Apr 03 4:57 PM
Hi,
I have already solved my problem. The problem was that I had forgotten to put the superclass in the "Friends" tabscript of children class.
Best Regards
‎2014 Apr 03 8:20 PM
Hello,
I think that you defined the instantiation level of the superclass as PROTECTED & from the screenshot i can see that the instantiation level is protected & the class is marked as "Final".
Are you having a factory method which returns the instance of the abstract class & you use it to achieve polymorphism?
May be a little bit insight into your coding can help us
BR,
Suhas