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( ).
lr_event = cl_fpm_event=>create_by_id(
fill event parameters
iv_key = cl_fpm_event=>gc_event_param_mainstep_id
iv_value = 'MAINSTEP_3' ).
iv_key = cl_fpm_event=>gc_event_param_variant_id
iv_value = 'VARIANT_1' ).
lo_fpm->raise_event( io_event = lr_event ).