on 04-28-2007 8:51 AM
Hi All,
I have 3 components
In POWL_UI_COMP i have a few Link to URLS.In one of its view I have an event handler method 'On_Query_switch' assigned to the event "QUERY_SWITCH" which is triggered when a user clicks on any of the above linktoUrls
I have two other Components POWL_TABLE_COMP and POWL_DETAIL_COMP_IF.
POWL_DETAIL_COMP_IF has an event DO_REFRESH in its interface controller.
POWL_TABLE_COMP has an event handler ON_DETAILS_REFRESH assigned to the event 'DO_REFRESH'
I want to autorefresh the ALV contents when user clicks on the linktourls
I tried - firing the 'DO_Refresh' event in the method 'On_Query_Switch' by defining component usage of POWL_DETAIL_COMP_IF in POWL_UI_COMP
But after adding usage i do not get any method like Fire_DO_refresh_Evt as we normally do using the code wizard.
I also tried setting e_do_refresh in the handle_action method of IF_POWL_FEEDER but i dont have the requied parameters for this method.
Or can use a certain parameter in POWL_UI_COMP which i can set in the method On_Query_Switch and access it in POWL_TABLE_COMP.
Or is there any other way i can achieve this ?
Please Help!
~Veena.
Hi Suresh,
Thnx for the reply!
I 'll try doing it as per your suggestion and get back.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Veena,
One way to refresh the POWL is to embed the POWL in to another webdynpro component. In the WebDynpro component declare the POWL_UI_COMP as used compoent, create a view and create ViewcontainerUIelement. In WINDOWS attach the POWL_UI_COMP components view in the view container. In the init method of the view trigger outbound plug with all the parameters to POWL_UI_COMP.
In the view capture the event QUERY_SWITCH or implement a method to the event. In the call the outbound plug again (outbound plug with all the parameters to POWL_UI_COMP) with refreshq = 'X' so it will refresh the POWL.
Best regards,
Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.