Skip to Content
Jul 21, 2010 at 02:34 PM

How to find out component usage name?


Dear all,

I have created a new Usage and want to distiguish between the standard usage name and my usage usage 'Zxxxxx" for the same component.

I need to be able to rtrive the usage name of the component in the methode: do_init_context of the view in the used component.

I was trying this code:

data: lr_cinfig type ref to cl_bsp_dlc_configuration2.

lr_config ?= me->configuration_descr.

But the attribute: component_usage of the class cl_bsp_dlc__configuration2 is procted and I can not access it.

Does anyone knows how to find it in another way?

Best regards

Ahmed Hadi