cancel
Showing results for 
Search instead for 
Did you mean: 

Leaving FPM application in Portal..!

Former Member
0 Kudos

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.

Thanks

Sam

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

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(

     EXPORTING

       navigation_target = 'pcd path to portal'

       CONTEXT_URL = 'pcd path to context in portal').


Hope this will help you!