Thursday, September 7, 2017

How to Read Class or Object with Multiple Reference ??

 
 
 
 
 
  1. We need to read the ZCX_EXCEPTION reference in the code.
  2. zcx_exception TYPE REF TO lcx_exception.
  3. DATAexc    TYPE REF TO cx_root,
  4. CATCH lcx_exception INTO zcx_exception.
    exc ?=  zcx_exception" Take CX_ROOT INSTANCE
  5. Above is the way to read CX_ROOT value in the ZCX_EXCEPTION to EXC reference.
  6.  textid exc-textid.
  7. zcx_exception-text . Reading local class value.
 
 
 

No comments:

Post a Comment