on 12-08-2011 11:05 AM
hi guru's
An error occurred during event processing in view SRVTKViewSet.htm of UI Component ZSRQM_SRVTK_S
An exception has occurred Exception Class CX_SY_REF_IS_INITIAL - Dereferencing of the NULL reference
Method: CL_CRM_SRQM_COMMON_S_VS_CTRL=>EH_ONSEARCH_BTN_CLICKED
could you please help me?
Thanks in advance
vishwanath
You have to put an external breakpoint in your event handler and debug where the reference is missing, check all assignments if they have any initial value passed to them.
Rgds,
Shobhit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No i am not written any custom code here actually i inherited the standard class CL_CRM_SRQM_COMMON_S_VS_CTRL
der only redefined following method.
method EH_ONCLEAR_BTN_CLICKED.
data: lv_viewname type string,
lr_view_ctrl type ref to cl_crm_srqm_common_sr_cntrl.
lv_viewname = me->get_viewarea_content( IF_CRM_SRQM_UIU_CONST=>GC_VIEWAREA_SEARCH ).
assert lv_viewname is not initial.
lr_view_ctrl ?= me->get_subcontroller_by_viewname( lv_viewname ).
lr_view_ctrl->clear_search( ).
endmethod.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.