cancel
Showing results for 
Search instead for 
Did you mean: 

How to navigate back to Initial Screen from Main Screen in FPM

Former Member
0 Kudos

Hi,

I am able to navigate to the main screen from initial screen using the button Continue.

Event FPM_EVENT_LEAVE_INITIAL_SCREEN is triggered for that.

Now, I want to navigate back to initial screen from the Main Screen.

How can I do that?

Regards,

Varun

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Varun,

Use this code to go to initial screen..

data : lv_fpm type ref to if_fpm,

         lv_event type ref to cl_fpm_event.

  lv_fpm = cl_fpm=>get_instance( ).

  lv_event = cl_fpm_event=>create_by_id( cl_fpm_event=>gc_event_start_over ).

  lv_fpm->raise_event( lo_event ).

Also check these threads,

http://scn.sap.com/thread/1956080

http://scn.sap.com/thread/1743993

Cheers,

Kris.

Former Member
0 Kudos

Hi Kris,

Thanks!

The above code worked for backward navigation!

Regards,

Varun

Answers (0)