Skip to Content
0
Apr 28, 2014 at 09:36 AM

Call an abstract method

672 Views

Hello developers,

I am trying to implement the following (simple) classes:

class abstract_class definition abstract

public

create public .

...

protected section

methods parse_string abtract

importing

value(i_str) type string.

methods to_table.

...

endclass.

class abstract_class implementation.

method to_table.

...

me->parse_string( str ).

...

endmethod.

endclass.

*---------------------------------------------------------------------------*

class other_class definition

public

inheriting from abstract_class

final

create public .

...

protected section.

methods parse_string redefinition.

...

endclass.

class other_class implementation.

method parse_string.

* some codes

endmethod.

endclass.

I have instantiated the class other_class. But when I call the method to_table, I am getting the error "CALL METHOD NOT IMPLEMENTED" on the method parse_string. Where is my mistake ?

Thank you for your replies.

Best regards,

Nicolas