Hi,
Go to attributes tab of Component controller and create an attribute, say, gv_view_controller of type ref to if_wd_view_controller.
Then in WDDOINIT method of your view, set the reference, using
wd_comp_controller->gv_view_controller = wd_this->wd_get_api( ).
Then pass wd_this->gv_comp_controller to the subscribe to button event method in Component controller,
Or, If you are calling the component controller method from View, create an importing parameter in the component controller method and pass the view controller reference.
Regards,
Kiran