Skip to Content
avatar image
Former Member

Leaving FPM application in Portal..!

Hi Guys,

               I am using a FPM GAF config application in portal.

There is a popup window to confirm the completion and then to leave FPM application, I am using the following code.

** Raise the FPM close event

  DATA: lo_fpm TYPE REF TO if_fpm.

   lo_fpm = cl_fpm_factory=>get_instance( ).


  lo_fpm->raise_event_by_id( 'FPM_CLOSE' ).

This is actually closing the portal window. This is not what I want, rather a leaving the FPM application to portal home screen or the role screen where this iView belongs.

I tried   lo_fpm->raise_event_by_id( IF_FPM_CONSTANTS=>GC_EVENT-LEAVE_INITIAL_SCREEN ) with no success, because the popup screen is not part of  the FPM.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jan 03, 2014 at 12:16 PM


    I don't know if you already solved your problem, but I was facing the same issue and came up with this solution while searching the scn:

    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_this->wd_get_api( ).
       lo_portal_manager = lo_api_component->get_portal_manager( ).
       CALL METHOD lo_portal_manager->navigate_absolute(
           navigation_target = 'pcd path to portal'
           CONTEXT_URL = 'pcd path to context in portal').

    Hope this will help you!

    Add comment
    10|10000 characters needed characters exceeded