on 04-08-2014 4:47 PM
I can make the FPM page navigate to a webdynpro application but nowhere else. Once there I tried redirecting to an external webpage using the usual exit plug but it doesn't work coming from a FPM application (it hangs)- when the webdynpro application is called directly the exit plug works. Does anyone know what would be preventing the navigation from working?
Hi Jeremy,
Here comes a solution from me...and it works. You could use if_fpm_navigate_to api and suspend & resume mechanism to achieve that. Code below:
DATA ls_nav_key TYPE fpm_s_navigation_key.
DATA lr_fpm_nav_to TYPE REF TO if_fpm_navigate_to.
ls_nav_key-key1 = 'FPM_NAV_1'. "role
ls_nav_key-key2 = 'WD_NAVIGATION'. "instance
* I think role and instance are two concepts from launchpad and what we should do here is
* make them unique on that list. You could find the list using transaction LPD_CUST
lr_fpm = cl_fpm_factory=>get_instance( ).
lr_fpm_nav_to = lr_fpm->get_navigate_to( iv_role = 'FPM_NAV_1'
iv_instance = 'WD_NAVIGATION' ).
* you need to set it as true for open a new app in the same window.
ls_url_to-use_suspend_resume = abap_true.
CALL METHOD lr_fpm_nav_to->launch_url
EXPORTING
is_url_fields = ls_url_to
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jeremy,
I am facing the same problem...Do you have any solution on that?
BR,
Steve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.