cancel
Showing results for 
Search instead for 
Did you mean: 

Navigations in FPM.

Former Member
0 Kudos

Hi All,

In FPM at initial screen i want to show different variants. can anyone tell me how can i do this. I am reading the event in process event method of component controller. Also tell me know how can i do the navigations from one Tab / Subview to another on click of button or a link.

There are some standard events like FPM_NAVIGATE , FPM_LEAVE_INITIAL_SCREEN , FPM_DONE_AND_BACK_TO_MAIN ,  FPM_BACK_TO_MAIN       for navigation.I know these but dont know how can i go to the Next / Previous screen.

Thanks

Saurabh Shrivastava,

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Saurabh,

As far as I understand the OVP floorplan will solve your purpose of showing different pages on different events.

The way to use the events is very simple. You just need to call the method RAISE_EVENT_BY_ID.

Data: lo_fpm type ref to if_fpm.

lo_fpm = cl_fpm_factory=>get_instance( ).

lo_fpm->raise_event_by_id ( iv_event_id = 'FPM_LEAVE_INITIAL_SCREEN' ).

This code will trigger the event you want.

Former Member
0 Kudos

Hi,

In the package APB_FPM_DEMO ,we have a application FPM_TUT_VARAINT,you can refer this application how to use Variants.

Thanks,

Lavanya.