on 11-01-2011 3:01 PM
Hello all,
I have a class attribute that is a flag. What I am trying to do is stop/clear/kill/cancel all events that are called while the flag is still set. I am currently looking into FPM_OVERRIDE_EVENT_OIF of the CL_LO_OIF_MODEL class, but still trying to figure it out. It seems the only place I can call this method is in the OVERRIDE_EVENT_OIF method, but in that method I don't have an instance of the current event. Does anyone have any ideas or a different approach?
Michael
Hi,
In method OVERRIDE_EVENT_OIF you have parameter io_oif. You can access the event by io_oif->mo_event.
The event can be canceled by io_oif->cancel_event( )
Also you can set the event as failed in method PROCESS_EVENT by returning ev_result = if_fpm_constants=>gc_event_result-failed.
Regards
Kameliya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.