cancel
Showing results for 
Search instead for 
Did you mean: 

Cancel event

mmgc_riel
Participant
0 Kudos

Hi,

In the process_event of the search_guibb there is a check.
When this fails i want to cancel the 'FPM_EXECUTE_SEARCH' event.

I implemented the interface IF_FPM_OVP_CONF_EXIT for the OVERRIDE_EVENT_OVP method

This method is called before every uibb on my screen, but before the process_event

How can i call the cancel_event in the override.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Maarten,

As the OVERRIDE_EVENT_OVP method is called before the PROCESS_EVENT method, you must write your check in the OVERRIDE_EVENT_OVP.

IF <my_condition> EQ abap_true.

     io_ovp->CANCEL_EVENT( ).

ENDIF.

Regards,

Christophe