Navigate from FPM WD (Confirmation Page) app to another WD app (w/o FPM)
I am working on a custom ABAP FPM application using roadmap pattern. I have another WD application w/o FPM application which calls my second FPM application.
1. EDIT View - WD Comp ZFPM
2. REVIEW View - WD Comp ZFPM
3. CONFIRMATION View - WD Comp ZFPM ( This View Contains a back button to my first WD Application)
Now I am using following code in the process event method. Also I set the target url of WD abap in the variable lv_url
data: lo_fpm type ref to if_fpm.
lo_fpm = cl_fpm_factory=>get_instance( ).
lo_navigate_to = lo_fpm->get_navigate_to( ).
lv_launch-HEADER_TEXT = 'My Profile'.
lv_launch-URL = lv_url.
lv_launch-USE_SUSPEND_RESUME = ' X'.
lo_navigate_to->LAUNCH_URL( is_url_fields = lv_launch ).
Now the problem is when I use LAUNCH_URL with USE_SUSPEND_RESUME as initial FPM opens the second application in a separate window. Then I put USE_SUSPEND_RESUME = 'X' and this time it opens in the same window.
I have a back button on my confirmation page where I navigate to my first application using the code above. But When I again go back to FPM application it directly opens third view i.e confirmation instead of EDIT. Thats beacuse FPM state is suspended when last time I navigated to my first WD Application.
Is there any other way that without using suspend method I open the application in the same window or when I get back to FPM application second time it opens first page (EDIT) instead of last page (Confirmation Page).
Thanks in Advance