Skip to Content
0
Former Member
Jul 06, 2010 at 05:21 PM

Cannot access the component controller

28 Views

Hiii,

I have the following problem.

I have enhanced a context node. I will get a reference to my component controller in one of the getter method of an attribute from my enhanced context node.

I know how to get a reference to the component controller, for example in the methode DO_INIT_CONTEXT, you can do it as follows.

*lr_coco TYPE REF TO CL_BUD_BSPWDCOMPONEN_IMPL "Implementation class of the component controller

lr_coco ?= me->comp_controller. *

I think the problem is, I am trying to access the component controller from my context node class.

Can anyone help me to solve the problem ?

Regards,

Harris

Edited by: Harris81 on Jul 6, 2010 7:22 PM