Exception CX_SY_REF_IS_INITIAL – Dereferencing of the NULL reference

Hey gurus,

Iam new to CRM 7.0. For my understanding I have a created one component and view wth 2 input feilds and button
for example when the user enters FIRSTNAME and LASTNAME, and when he press the search button the respective data shud get popluated.
here i have created 2 context nodes one for holding the data ( value node )and the other for showing the result ( model node).
and aslo i have a implemnted a method in event handler, but ehn im executing the component im getting an of the NULL

Here is my code
DATA l_qs TYPE REF TO cl_crm_bol_query_service. “buiheaderadvancedsearch
l_qs ?= me->typed_context->search->collection_wrapper->get_current( ).

DATA: l_result TYPE REF TO if_bol_entity_col.
l_result = l_qs->get_query_result( ).
me->typed_context->search->collection_wrapper->set_collection( l_result ).

plz tell me where im going wrong.

CRM Consultant, needs help regarding “Exception CX_SY_REF_IS_INITIAL – Dereferencing of the

Related posts

Browse more questions like this in module: CRM

Disqus this Question

sap forum