Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Re: How to set default organization based on user in resource planning search and result screen?

$
0
0

Hi kasi,

 

Thanks for your reply.

 

yes i have commented the above line.now i am getting exception ..NULL reference.

 

data : lr_current TYPE REF TO cl_crm_bol_dquery_service.

 

lr_current ?= me->typed_context->qryres->collection_wrapper->get_current( ).

  lr_wrapper = typed_context->qryres->get_collection_wrapper( ).

 

  IF obj_tab IS NOT INITIAL.

    LOOP AT  obj_tab INTO wa_obj_tab.

      lv_value = wa_obj_tab-objid.

 

 

*      CHECK lr_current IS BOUND.

      lr_current->add_selection_param( iv_attr_name = 'ORG_ID'

                                        iv_sign      = 'I'

                                        iv_option    = 'EQ'

                                        iv_low       = lv_value ).

    ENDLOOP.

  ENDIF.

  result =  lr_bol_dquery_service->get_query_result( ).

  CHECK result IS BOUND.

  typed_context->srlresinfo->collection_wrapper->set_collection( iv_collection = result ).

 

 

Thanks

Kalpana


Viewing all articles
Browse latest Browse all 7775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>