cancel
Showing results for 
Search instead for 
Did you mean: 

How to call the Component Controller from Assistance Class

sven_hoffmann
Explorer
0 Kudos

Hi,

after the creation of a WDA component I explicitly set the assistance class instance. This instance contains a link to the component controller:

  lr_panel_ins_rt->set_wd_compcontroller( lo_interfacecontroller ).
  wd_assist->set_panel_ins_wd_compctr( lo_interfacecontroller ).
  lo_interfacecontroller->set_wd_assist( lr_panel_ins_rt ).

Later on I want to call from the assistance class a method in the component controller by a dynamic call:

   data:
    lf_method type seocpdname value 'DISPLAY_DATA_NEW'.

  call method mr_wd_compcontroller->(lf_method).

Unfortunaltely this lead to a dump (The method could not be found at dynamic call.).

Any ideas what I make wrong?

Thanks and best regards,

Sven.

Accepted Solutions (0)

Answers (1)

Answers (1)

chengalarayulu
Active Contributor
0 Kudos

Sven,

The actual architecture is to use an Assistance Class in Component. I hope this will not work in reverse structure.