Skip to Content
author's profile photo
Former Member

Navigation between FPM OIF, GAF and vice- versa

Hi

Is it possible to navigate between OIF and GAF??

Scenario:

I have a component built using OIF FPM, in the component i have a Button and on click of button is it possible to completely hide OIF FPM and call a new component that executed GAF.

Also after completing GIF steps, is it possible on click of button i land back to same position of OIF FPM where i started?

Regards,

SJ

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Posted on Sep 01, 2010 at 07:03 AM

    Basically, can you do a suspend - resume with FPM applications?...

    Well, not that I know of. You could write your FPM app in such a way that you could store its state at a given point and resume it again. But not really just navigate away to another app and comeback with everything still the same.

    The main reason I do not think it would be possible without explicitly coding "save of current state, reload of state" functionality is that the FPM is by definition only allowed to be defined once within any given memory space - as although the FPM is an instance - you can only have one of these at a time as the attribute go_instance of CL_FPM is a static attribute.

    This is also why you can't embed a GAF inside a OIF FPM and vice-versa.

    Add comment
    10|10000 characters needed characters exceeded

    • > confused

      Sorry, let me try to be a little clearer! 😊

      You would have to completely launch a new application which would completely replace the current application. This would not be in the same "window" in WDA terminology - but in the same browser window, portal page, etc.

      NB the FPM has a very handy interface IF_FPM_NAVIGATE_TO which you can get from the IF_FPM~GET_NAVIGATE_TO method.

      It might be worth pointing out that it is possible to suspend and resume a FPM application - but not to launch another FPM app...

      see the section in the [Floorplan Manager Developer Guide:|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/90f3cfd2-46d0-2b10-b3ab-eabf3452cc50]

      >The Suspend and Resume feature enables an FPM application to remain in a

      >suspended state when a user navigates to a URL. When the user navigates back to the

      >FPM application, the Suspend and Resume feature allows the application to be

      >resumed in the exact state it was before navigation occurred.

      However, it is important to note:

      >Suspend and Resume is currently limited to URL navigation.

  • author's profile photo
    Former Member
    Posted on May 05, 2011 at 03:59 AM

    thanks for all the replyes

    Add comment
    10|10000 characters needed characters exceeded