on 06-25-2009 7:34 AM
Hi experts:
As you can see in this document:
/people/thomas.jung3/blog/2005/12/15/portal-eventing-a-solution-for-global-peace-and-harmony
We can trigger and catch portal events if we send the event from one ABAP WD to another one.
I want to create a WD Page in the portal composed by standard WD and non Standard ones. So, my question is the next one: Is it posible to catch from a non standard ABAP WD an even triggered by clicking, for example, in a standard one?.
Thank you all ¡¡!!
> Hi experts:
>
> I want to create a WD Page in the portal composed by standard WD and non Standard ones. So, my question is the next one: Is it posible to catch from a non standard ABAP WD an even triggered by clicking, for example, in a standard one?.
>
> Thank you all ¡¡!!
Sure, as long as both components use the same event IDs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas:
Thank you for your answer ¡¡!!.
Now the next question is "How can I Know the standard JAVA WD event iD, and the parameter that this triggered event "published" and that I need to import to my ABAP WD?".
So, in my WD ABAP, I Just have to use the tipical code:
DATA LO_API_COMPONENT TYPE REF TO IF_WD_COMPONENT.
DATA LO_PORTAL_MANAGER TYPE REF TO IF_WD_PORTAL_INTEGRATION.
LO_API_COMPONENT = WD_COMP_CONTROLLER->WD_GET_API( ).
LO_PORTAL_MANAGER = LO_API_COMPONENT->GET_PORTAL_MANAGER( ).
DATA LO_API_CONTROLLER TYPE REF TO IF_WD_VIEW_CONTROLLER.
LO_API_CONTROLLER ?= WD_THIS->WD_GET_API( ).
CALL METHOD lo_portal_manager->SUBSCRIBE_EVENT
EXPORTING
PORTAL_EVENT_NAMESPACE = STANDARD_JAVA_WD_NAMESPACE
PORTAL_EVENT_NAME = STANDARD_JAVA_WD_EVENT_ID
VIEW = LO_API_CONTROLLER
ACTION = 'RECEIVE_PORTAL_EVENT'
.
Thank you in advance
> Hi Thomas:
>
> Thank you for your answer ¡¡!!.
>
> Now the next question is "How can I Know the standard JAVA WD event iD, and the parameter that this triggered event "published" and that I need to import to my ABAP WD?".
> Thank you in advance
You probably need to find the event id in some documentation for the application. Otherwise if the source code for the application is also delivered, you can pick through it to find the event ID. I don't know how many of our Java applications ship with the source code however.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.