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

Class implementation missing for a method

Former Member
0 Likes
10,132

Hi experts,

I am trying to check (icon with 2 squares) a class which is inherited from a super class. I am getting the following message, Implementation missing for method "XYZ". I double click on the method but it doesnt open and giv me a message Method is abstract and has not been redefined. There is another which is based on the same superclass which is working fine. It has 3 methods which are checked for abstract when i click on technical information. In my class, when I click on the technical information, all buttons are greyed out.

What shouls I do to make this class complie successfully.

6 REPLIES 6
Read only

Former Member
0 Likes
4,176

Hi zsl05,

If a class method is defined as ABSTRACT then that method needs to be redefined in the subclass. So You need to Re-define by clicking the re-define icon on the sub-class for that method. Then only you can see the method implementation details.

Let me know if you have any question.

Thanks,

Greetson

Read only

0 Likes
4,176

Greetson,

That was perfect.

BTW, is there any reference material I can use to get my way with the class.

Read only

0 Likes
4,176

Hi,

Read help.sap.com and also search in google you will get lot of PDF's about ABAP objects.

Thanks,

Greetson

Read only

Former Member
0 Likes
4,176

Abstract instance methods are used to specify particular interfaces for subclasses, without having to

immediately provide implementation for them. Abstract methods need to be redefined and thereby

implemented in the subclass.

G@urav.

Read only

0 Likes
4,176

Thanks Gaurav,

Where did you learn this. Is there any material I can use to get good knowledge about it.