2009 Apr 04 12:15 PM
Hello
Is overloading possible in abap objects. if so can u pls help me with the sample code.
regards!
arun
2009 Apr 04 12:55 PM
2009 Apr 04 12:55 PM
2009 Apr 04 12:58 PM
hi arun ,
overloading is not possible in abap objects . Some other object-oriented programming languages permit the overloading offunctions or methods. This means that a separate, changed parameter interface
can be defined for an overwritten or redefined method. ABAP Objects does not currently support this mechanism.
Thanks
chinnaiya
2009 Apr 06 12:41 PM
One more thing to be mentioned here: instance constructors can be extended in their interface (compared to superclass constructors), so partly overloaded in their subclass. Superclass constructor signature (used in subclass constructor) must, however, stayed untouched. Only additional importing/exceptions parameters can be added.
Regards
Marcin
2009 Apr 07 4:53 AM
Mr. Arun.
Before posting the question in the forum . plz try to understand the concepts thorughly and then post a question. don't make the forum as doubt clearing sessions. be specific in the scenario before posting a topic.
2009 Apr 07 4:53 AM