- We need to read the ZCX_EXCEPTION reference in the code.
- zcx_exception TYPE REF TO lcx_exception.
- DATA: exc TYPE REF TO cx_root,
- CATCH lcx_exception INTO zcx_exception.exc ?= zcx_exception. " Take CX_ROOT INSTANCE
- Above is the way to read CX_ROOT value in the ZCX_EXCEPTION to EXC reference.
- textid = exc-textid.
- zcx_exception-text . Reading local class value.
No comments:
Post a Comment