cancel
Showing results for 
Search instead for 
Did you mean: 

FPM Close button should navigate to Portal

Former Member
0 Kudos

Hi Experts,

I have one urgetn issue.

I have developed one Webdynpro ABAP application and configured in GAF(Guided Activity Floorplan).

I have inserted 2 buttons(Next, Cancel) in FPM level for every step and configured in Enterprise Portal(EP).

Button NEXT functionality is go to next step in GAF.

Button CANCEL functionality is to come back to home page in EP, means one page(i.e. Landing page) is created in Portal which has attached with my Webdynpro abap application.

I have given FPM event for CANCEL button is FPM_CLOSE, currently it is closing entire Portal window, but it should go back to calling page which is in EP.

I found the below code and it is not working properly.

   DATA : l_component     TYPE REF TO if_wd_component,
             lr_port_manager TYPE REF TO if_wd_portal_integration,
             lv_portal_event_namespace TYPE string.
      l_component = wd_this->wd_get_api( ).
      lr_port_manager = l_component->get_portal_manager( ).
      IF lr_port_manager IS NOT INITIAL.
        CONCATENATE 'urn:com.<SICF_path>'
                    '<application_name>'
                    INTO lv_portal_event_namespace.
        CALL METHOD lr_port_manager->fire
          EXPORTING
            portal_event_namespace = lv_portal_event_namespace
*            PORTAL_EVENT_SCOPE     = 'CURRENT_WINDOW_AND_PARENTS'
            portal_event_name      = 'historyNavigate'
            portal_event_parameter = '-1'.
      ENDIF.

Kindly let me know where I did mistake.

Thanks & Regards,

Chandu Valluri

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You may want to try methods NAVIGATE_ABSOLUTE or NAVIGATE_RELATIVE of the portal manager to redirect the user to Portal home page.

You will just have to pass the path and mode in these methods.

Check link for reference.

http://help.sap.com/saphelp_nw04s/helpdata/en/0e/a1e94205045604e10000000a155106/content.htm

FPM_CLOSE will not work.