Leaving FPM application in Portal..!
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.