cancel
Showing results for 
Search instead for 
Did you mean: 

How to Cancel Event processing

former_member182598
Active Contributor
0 Kudos

I have integrated a WD-ABAP application in Portal. I want to change the behaviour of Close button (By default it closes the browesr window !!). I am able to catch the FPM_CLOSE event and execute my custom code, but the problem is, after my code gets executed, the standard handler for FPM_CLOSE also gets executed. Is there any way to cancel the processing of standard handler. In debug mode I was able to do it by clearing the mv_event_id. It's a readonly parameter and I cannot do it programmatically.

Thanks

Prashant

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hello cumar, how i can catch this event?

regards

former_member182598
Active Contributor
0 Kudos

Solved it by changing the ev_result parameter to failed after executing my custom handler.

ev_result = if_fpm_constants=>gc_event_result-failed

Thanks

Prashant