cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic display mode after event for OVP Application

Former Member
0 Kudos

Hi experts,

I have a problem: In my OVP FPM Application, I have an application-speciffic toolbar button with a speciffic event and image attached and I want to implement something like: after a succesfull processing of this event, set the application in global display mode (same funktionality as for FPM_SAVE event). Is it possible?

Accepted Solutions (1)

Accepted Solutions (1)

former_member215610
Active Participant
0 Kudos

Hi James,

If you want to raise a event use the below code.

          lo_fpm = cl_fpm_factory=>get_instance( ).

    lo_fpm->raise_event_by_id(

      EXPORTING

        iv_event_id   =    'FPM_SAVE'

    ).


Regards,

Ragavendra

Former Member
0 Kudos

Hi Ragavendra,

My problem is not how to raise the event. What I don't know is how to set everything in display mode after the event is processed.

former_member215610
Active Participant
0 Kudos

Hi James,

Raise FPM read only event to make all fields into read only mode.

.

        lo_fpm = cl_fpm_factory=>get_instance( ).

    lo_fpm->raise_event_by_id(

      EXPORTING

        iv_event_id   =   cl_fpm_event=>gc_event_read_only

    ).


Regards,

Ragavendra

Answers (0)