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

Re: Entity Creation

$
0
0

Hi Girish,

 

If_bol_bo_property_access is a generic interface which covers the attribute access. This Interface is provided not only from entities but also from Query service to allow a uniform attribute access.

 

Both the classes cl_crm_bol_query_service and cl_crm_bol_entity implements this interface.

 

So in cases were you want to access the search criterion of a bol query then you can use like

data : lv_query type ref to cl_crm_bol_query_service,

          lv_obj     type ref to if_bol_bo_property_access,

         lv_city    type string.

 

lv_query = cl_crm_bol_query_service=>get_instance(  'query object ' ).

 

lv_obj ?= lv_query.

 

Now you can access the search criteria( let us consider city ) with the lv_obj as

 

lv_city = lv_bo->get_property_as_string( 'City' ).

 

Thanks ans Regards,

           DP.


Viewing all articles
Browse latest Browse all 7775

Trending Articles



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