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

How to access the protected / private event of a class

$
0
0

Hi Friends,

 

I want to access the protected / private event of a class. May I know..how can i do it.

 

Example :- Say there is class A.

In the Public Section -> there is a method to trigger a protected event.

In the Protected Section -> there is an event and a event handler method.

 

My problem is :- I can't register the event outside the class (in our report SE38) which is correct only.

then how to set the handler for this event.

 

I will appreciate if you can give me a small example (as described above).

 

Thanks,

DDM


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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