cancel
Showing results for 
Search instead for 
Did you mean: 

Fire a portal event from FPM GUIBB?

js2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Is there a way to fire a portal event from an fpm guibb-based app?


Typically (from a WD app) you would do something like this:

lo_api_component = wd_comp_controller->wd_get_api( ).
lo_portal_manager = lo_api_component->get_portal_manager( ).

lo_portal_manager->fire(
portal_event_namespace = 'my_namespace_for_Web_Dynpro_documentation'
portal_event_name = 'showCustomer'
portal_event_parameter = 'custom_id'
portal_event_scope = if_wd_portal_integration=>co_event_scope-current_window ).


But........ How to get the portal manager inside a GUIBB where you only have the feeder class to play with and no WD api?

... Maybe I need to include a new technical UIBB that is WebDynpro-based purely for firing the portal event.?

Regards... Jason.

Accepted Solutions (0)

Answers (1)

Answers (1)

sagarjoshi
Advisor
Advisor
0 Kudos

Check IF_FPM_NAVIGATION API using launchpad configuration or IF_FPM_NAVIGATE_TO API without using launchpad.

There is no need to use a techincal WD Component.

You should find information in FPM cookbook on SCN.

js2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thankyou for taking the time to reply Sagar but what you have suggested is irrelevant to the question. I don't want to launch another application - that is easy to do. I want to fire a portal event as you can in a normal web dynpro component.

sagarjoshi
Advisor
Advisor
0 Kudos

Sorry Scott, misunderstood the original question.

I think your original guess is right to include a faceless technical WD UIBB.

But may be you can wait and see if there is a better expert opinion from FPM team.

js2
Product and Topic Expert
Product and Topic Expert
0 Kudos

No problem... lets hope someone else has a better solution.