Application Development and Automation 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: 
Read only

Overloading+ Abap objects

former_member224008
Active Participant
0 Likes
792

Hello

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

regards!

arun

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
764

Overloading is not possible with abap objects.

5 REPLIES 5
Read only

Former Member
0 Likes
765

Overloading is not possible with abap objects.

Read only

Former Member
0 Likes
764

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

Read only

MarcinPciak
Active Contributor
0 Likes
764

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

Read only

Former Member
0 Likes
764

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.

Read only

former_member224008
Active Participant
0 Likes
764

thanks for u r answers