I got another problem too.
I make a single Component_Usage and create a component to this component_usage.
anzulegende_comp_usage = wd_this->wd_cpuse_usage_z_itf_cid_a( ). IF anzulegende_comp_usage->has_active_component( ) IS INITIAL. anzulegende_comp_usage->create_component( COMPONENT_NAME = 'component_xyz' ). ENDIF.
but after this I can´t access the name of my created component 'component_xyz' via my component_usage.
If I use a component_usage_group I can access the component-names but this should be possible with a single component_usage too. or am I wrong?
the solution could be to use the structure-type "wdapi_component_usage" but I want to know if this is possible with a single component_usage too?