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