HOW TO ACCESS ATTRIBUTES FROM DIFFERENT VIEW SET

Advertisement
Hi Experts,
How i can  access the variables declared in context class from component controller class
and vice-versa.
Thanks & Regards
Ansal
Advertisement

Replay

Hi Ansal
You can bind your context node of view to component controller context node and then you can access the data.
You can do this binding by inserting following statements in create_context_node method of your _ctxt class.
owner->do_context_node_binding( iv_controller_type = cl_bsp_wd_controller=>co_type_component
   iv_target_node_name = 'BUILHEADER'  
   iv_node_2_bind = builheader ).
Regards,
Rashmi