on 08-14-2008 9:57 PM
Hello Everyone,
I have developed a Abap Web Dynpro Application and I would like to be able to pass information to this Abap WD application from the MSS Team Viewer. I noticed a couple of people in this forum with the same problem but no clear resolution has been given. Portal Eventing is definately the way to go, but I cannot seem to get it to work. Has anyone done this with an Abap WD App and the MSS Team Viewer and can offer assistance?
Pasted below is a the code that I have in my Web Dynpro app at the WDDONIT method (I also have the Get_String call in the Event Handler method). Part of my problem is that I am not 100% sure what the MSS Team Viewer Event Namespace is. Does anyone have any suggestions?
DATA lr_api_component TYPE REF TO if_wd_component.
DATA lr_portal_manager TYPE REF TO if_wd_portal_integration.
DATA lr_wd_view TYPE REF TO if_wd_view_controller.
lr_wd_view ?= wd_this->wd_get_api( ).
lr_api_component = wd_comp_controller->wd_get_api( ).
lr_portal_manager = lr_api_component->get_portal_manager( ).
CALL METHOD lr_portal_manager->subscribe_event
EXPORTING
portal_event_namespace =
'urn:com.sap.pct.hcm.orgmanagementeventing:CurrentObject'
'urn:com.sap.pct.hcm.orgmanagement:CurrentObject'
portal_event_name = 'objectChanged'
view = lr_wd_view
action = 'ON_ASSOCIATE'.
Best Regards,
Scott
Hi..
I'm also developing MSS program with teamviewer.
Namespace can be anything.
You can named the namespace what you want.
I usually make the namespace with customer's compay name.
Soo..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi..
Did you add that code in View controller or component controller?
Only active view can take portal event. So you should add the code in active view.
And sender and receiver namespace must be identical.
Soo..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hyun-Soo,
Thank you for the response. I do have the code specified in the View Controller (not the Component Controller). Thank you for that hint as it was just a coincidence that the code was in the View.
The sender/reciever namespace may be where my problem is. Unfortunately I do not know what the namespace is (or where to find it) for the event in the MSS team viewer. Any hints on where I might could find the namespace?
Best Regards,
Scott
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.