Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Overloading+ Abap objects

former_member224008
Active Participant
0 Kudos
105

Hello

Is overloading possible in abap objects. if so can u pls help me with the sample code.

regards!

arun

1 ACCEPTED SOLUTION

Former Member
0 Kudos
77

Overloading is not possible with abap objects.

5 REPLIES 5

Former Member
0 Kudos
78

Overloading is not possible with abap objects.

Former Member
0 Kudos
77

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

MarcinPciak
Active Contributor
0 Kudos
77

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

Former Member
0 Kudos
77

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.

former_member224008
Active Participant
0 Kudos
77

thanks for u r answers