var FeedUrl = 'http://www.news-sap.com/feed/'; var MaxCount = 1; var showDate = 'none';

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 exception CX_SY_REF_IS_INITIAL – Dereferencing of the NULL reference

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 NULL reference “





Browse more questions like this in module: CRM


Disqus this Question






sap forum