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

Re: Pass data between different components, best practice

$
0
0

Hey Mike,

 

You can use the following code to pass data collection while navigating to another component using a navigational link.In this case you don't have to bind any node.

 

  me->view_manager->navigate( source_rep_view = me->rep_view

                               outbound_plug = Navigational link name

                               data_collection = iv_data_collection ).

 

In the target component

 

DATA lr_entity     TYPE REF TO cl_crm_bol_entity.

 

 

   lr_entity ?= iv_collection->get_current( ).

 

 

   lr_entity->if_bol_bo_property_access~get_properties(

     IMPORTING

       es_attributes = attribute structure name

          ).

 

Hope this will help ya.



Viewing all articles
Browse latest Browse all 7775

Trending Articles



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