Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Problem in instantiating the class CL_WDR_CONTEXT_ELEMENT

$
0
0

Hi All,

 

I would like to use the Interface method IF_WD_CONTEXT_ELEMENT~GET_ATTRIBUTE in my z program.

 

When I execute my program it is going to DUMP and says you cannot use the reference of a NULL object.

So I tried to do DATA : Oref type ref to CL_WDR_CONTEXT_ELEMENT.

and then CREATE Object Oref.

Now syntax says ' you can create instance of this class out side the class'.

I searched similar posts in SDN and found that some one is suggesting to use GET_INSTANCE method inside the class.

But I dont have GET_INSTANCE method inside this class.

 

Please assist.


Viewing all articles
Browse latest Browse all 3667

Trending Articles



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