cancel
Showing results for 
Search instead for 
Did you mean: 

FPM Event issue in EHP5

carlin_willams
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

if it was working in ehp3 and it is not working in ehp5 ,i would advice you to take contact with SAP support desk.

You are sure that you have not changed anything in between ?

carlin_willams
Participant
0 Kudos

Hello Baskaran

Thanks for your reply.

Yes i am sure that have not changed any thing......in the middle.

It suppose to work in EHP5 don't know why it is not working....

BR

-CW