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

How to access the context node of view from other component to another component

$
0
0

Hi,

I am accessing the view from another component1 in below way. when i am clikcing some button in componenent 2

 

DATA: lr_window TYPE REF TO CL_BP_BPBT_ACCOUNTACTIVI0_IMPL,

         lr_view type ref to cl_bsp_wd_view_controller.


lr_window ?= me->get_subcontroller_by_viewname( 'BP_BPBT.AccountActivities' ).

   if  lr_window IS BOUND.

 

     TRY.

         lr_view ?= lr_window->get_subcontroller_by_viewname( 'BP_BPBT/AccountActivitiesOV' ).

       CATCH cx_sy_move_cast_error.

     ENDTRY.


     CHECK lr_view is bound.



endif.

 

 

Here i am getting the lr_view controller class, now if i try to access the contxt node of this view it is thowing error. how can i get the collection of this view.

 

pls provide some inputs.

 

Thanks,

RamReddy


Viewing all articles
Browse latest Browse all 7775

Trending Articles



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