Skip to Content
0
Aug 09, 2011 at 09:08 AM

FPM Event issue in EHP5

22 Views

Hello All

I have written below for Navigation on click of button. it was worked fine EHP3. But same code is not working in EHP5.

Could any one advise why it's not working.

Below code is for navigation to Mainstep 3 of Variant.

DATA: lo_fpm TYPE REF TO if_fpm,

lr_event TYPE REF TO cl_fpm_event.

  • get reference to FPM API

lo_fpm = cl_fpm_factory=>get_instance( ).

  • create event

lr_event = cl_fpm_event=>create_by_id(

cl_fpm_event=>gc_event_change_step ).

  • fill event parameters

lr_event->mo_event_data->set_value(

iv_key = cl_fpm_event=>gc_event_param_mainstep_id

iv_value = 'MAINSTEP_3' ).

lr_event->mo_event_data->set_value(

iv_key = cl_fpm_event=>gc_event_param_variant_id

iv_value = 'VARIANT_1' ).

lo_fpm->raise_event( io_event = lr_event ).

BR

-CW