Hi All,
I am working on CRM2007. here I want to fire a query ( object: BuilHeaderSearch ) using some hardcoded values. I have written the logic as below, but it is showing an exception in the line->>
query_service ?= cl_crm_bol_query_service=>get_instance( 'BuilHeaderSearch' ).
Can someone throw some light on this?.
data: query_service type ref to cl_crm_bol_query_service,
lr_entity type ref to cl_crm_bol_entity,
result type ref to if_bol_bo_col.
query_service ?= cl_crm_bol_query_service=>get_instance( 'BuilHeaderSearch' ).
query_service->set_property( lv_attr_name = 'PARTNER' lv_value = '*' ).
query_service->set_property( lv_attr_name = 'MAX_HIT' lv_value = '5' ).
result = query_service->get_query_result( ).
Any help/hint highly appreciated,
Thanks, Sudeep..