Sap Gui Events to WD4A - Consecuences of note 1409237
This is mi first post here, I hope I can solve with my question many same problems.
I've got a problem applying this note in my WDA application. I've got an ABAP application with one CL_GUI_WDR_VIEWER control and within a WD4A component.
In this note, you can see that the way of subscribing events from SAP GUI to WD4A have changed and now, SAP guides you to do it using the class IF_WD_PORTAL_INTEGRATION->SUBSCRIBE_EVENT, in the WD4A Component and firing the event using CL_GUI_WDR_VIEWER->fire_event.
My code for subscribing the event is the following:
CALL METHOD lo_portal_manager->SUBSCRIBE_EVENT
PORTAL_EVENT_NAMESPACE = ''
PORTAL_EVENT_NAME = ''
VIEW = LO_API_CONTROLLER
ACTION = 'SHOW'
My question is:
Is it necessary to fill the PORTAL_EVENT* parameters ? I'm doing something wrong?
Thanks a lot!