on 07-23-2007 12:52 PM
Hello All,
Can we get the reference of the component controller in the method of the window..
Warm Regards,
Smita
You must have reference of "WD_COMP_CONTROLLER" in your attribute ,and if not then create it to ref to "IG_COMPONENTCONTROLLER" in ur view.
Nirad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, the attribute wd_comp_controller refers to your component controller, in views and window.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can use the Attribute "WD_COMP_CONTROLLER" to acess the Component Controller Components
cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The changes (actually an enhancment) I am refering to is in the standard component...What I am expected to do is to write a piece of code to access the message handler in the handle default method of the window...this will be done in enhancement points..!!...so there are no hassels as to whether the view is embedded in the window or not..!! The view is very much embedded into the window..!!...the major concern is to get the reference of the component controller in a particular method of the Window..!!
I hope the problem is pretty clear by now..!!
Warm Regards,
Smita
HI,
Try doing in this way
data: lr_compcontroller TYPE REF TO ig_componentcontroller,
lr_component_api TYPE REF TO if_wd_component,
lr_message_manager TYPE REF TO if_wd_message_manager.
lr_compcontroller = wd_this->get_componentcontroller( ).
lr_component_api = lr_compcontroller->wd_get_api( ).
lr_message_manager = lr_component_api->get_message_manager( ).
cheers
Vinod..hard luck ...!!!...
This is what i get..!!!...The interface IF_POWL_TABLE has no such method to retrieve the reference for the component controller...:-(....
***********************************************************************************************
Web Dynpro Comp. / Intf. POWL_TABLE_COMP,Web Dynpro Window POWL_TABLE
Pre-Exit PST46K50FS40BKOKLYAGE0SR3P6M for HANDLEDEFAULT
Method "GET_COMPONENTCONTROLLER_CTR" is unknown or PROTECTED or
PRIVATE.
***********************************************************************************************
Web Dynpro Comp. / Intf. POWL_TABLE_COMP,Web Dynpro Window POWL_TABLE
Pre-Exit PST46K50FS40BKOKLYAGE0SR3P6M for HANDLEDEFAULT
Method "GET_COMPONENTCONTROLLER" is unknown or PROTECTED or
PRIVATE.
***********************************************************************************************
Web Dynpro Comp. / Intf. POWL_TABLE_COMP,Web Dynpro Window POWL_TABLE
Pre-Exit PST46K50FS40BKOKLYAGE0SR3P6M for HANDLEDEFAULT
Method "GET_COMPONENTCONTROLLE_CTR" is unknown or PROTECTED or
PRIVATE.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.