Skip to Content
0
Mar 14, 2019 at 02:55 PM

Dynamic component usage

93 Views Last edit Mar 14, 2019 at 02:55 PM 2 rev

Hi,

Is it possible to get the ref to a component usage in a webdynpro dynamically?

I mean, call to wd_this->wd_cpuse_<comp_name> dynamically.

I tried with

data lo_int type ref to iwci_wdr_select_options.

data(lv_comp) = 'wd_cpusecomp_name'.

Call method wd_this->(lv_comp) receiving result = lo_int.

I would like to config several select options and use them dynamically, but it seems it is not possible to get the component usage ref. It ends with dump (method not found)

Thanks a lot,

Kr,

Agustín.