Skip to Content
0
Former Member
Nov 06, 2012 at 07:05 AM

Method throwing catch - IF_UJA_APPSET_DATA->GET_PARAM_VALUE

34 Views

Dear Experts,

I am trying to call a method with the help of interface IF_UJA_APPSET_DATA->GET_PARAM_VALUE

called this below interface in ma program but i am getting catch as

1) An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause

2) Dereferencing the NULL reference

i have pasted my code for reference. actually my code is not executing at all.. its not going inside the class to test.

Kindly advice how to proceed further.

why this is going for exception.how to rectify that?

Data: lo_app_Set type ref to if_uja_appset_data,
l_appl_param type string


CALL METHOD lo_app_Set->GET_PARAM_VALUE
EXPORTING
I_TYPE = 'SYSTEM'
I_PARAM_NAME = 'RTRCT_CC_COST_DEST'
RECEIVING
R_VALUE = l_appl_param.