cancel
Showing results for 
Search instead for 
Did you mean: 

Portal Eventing with Abap WD and MSS Team Viewer

former_member552974
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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..

former_member552974
Participant
0 Kudos

Hi Soo,

Thanks again for your response. Per your message, I have been under the impression that the namespace you specify in the Abap WD program must match the namespace that is in the triggering event in the MSS Team Viewer. Is this not the case?

Thanks,

Scott

Former Member
0 Kudos

Hi Scott,

Did you figure it out?

I need to do the same...

Best regards,

Pieter

Former Member
0 Kudos

Pretty sure we covered this a while back.

Have a look towards the end of this thread, noting the required SPS level:

Former Member
0 Kudos

Thanks John,

That's done the trick!

hyun-soo_kim
Explorer
0 Kudos

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..

former_member552974
Participant
0 Kudos

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