Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

accessing super class method inside a sub class method

$
0
0

Hello experts

 

I have a class CL_X created as an abstract class. In this, there is a method, called check_doc_x.

 

Now, I have a sub class inheriting from CL_X. In this sub class, I've redefined check_doc_x for some standalone checks. In addition I have a sub class method check_doc_y.  Now, I want to access super class method check_doc_x inside the sub class method check_doc_y. All the methods are instance methods.

 

Is this possible? I tried casting and it didn't work.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>