Skip to Content
0
Former Member
Feb 13, 2009 at 05:53 AM

Portal eventing between web dynpro abap iviews

28 Views

Hi All,

I am trying to use portal eventing between two web dynpro abap iviews. One iview has a button on the action of which i called fire method

l_portal_manager->fire(

portal_event_namespace = 'XXX'

portal_event_name = 'YYY'

)

and in the other iview, i subscribed to the event by subscribe_event method in wddoinit method of the view2 -

l_portal_manager->subscribe_event(

portal_event_namespace = 'XXX'

portal_event_name = 'YYY'

view = view2

action = 'ZZZ' )

and then finally handled the event in the action ZZZ of view2.

but the problem is that my eventing works only the first time the iviews are launched, after that it no longer works, until i again refresh the browser or launch iviews again.

Am I missing something here? i tried subscribing in wddomodifyview() too instead of wddoinit(), but it doesnt work..ne ideas??

Regards,

Deepa