on 03-30-2010 2:13 PM
Hello all,
we´re using the class CL_GUI_WDR_VIEWER to embed a WebDynpro ABAP
application into our classical SAPGUI application. Now we´ve the
requirement to send an event from the SAPGUI appl. to the WebDynro App.
Therefore we tried to use the methode FIRE_EVENT of the class
CL_GUI_WDR_VIEWER. At the WD4A side we´ve tried several things to capture
this event:
- creating an event at the component controller and a corresponding event
handler method at comp. controller
- creating an event at the component controller and a corresponding event
handler method at view controller
- creating an action at view controller and a corresponding action
handler method at view controller
None of the above mentioned methods works.
Do you know whether this is a bug?
Regards,
Andy
It's a bit late, but: here goes:
on you WD view, you need to define an action and implement your handler logic there.
in the on_init of the component controller, you have to permit SAPGUI event handling.
wd_this->wd_get_api( )->get_sapgui_manager( )->SUBSCRIBE_EVENTS( abap_true ).
in your SAPGUI application, you can then fire an event to WDA:
go_wdr->fire_event( WDR_ACTION = 'SET_DATA'
parameters = lt_param ).
I also answered here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.