Skip to Content
0
Former Member
May 27, 2014 at 03:01 PM

Event handler redefinition is not called

168 Views

Hi!

I enhanced the component ICCMP_BP_DETAIL for the view BuPaCreate. I redefined the event handler EH_ONSAVE, but is not called the redefinition always call the standard code.

I need the code redefined is being called. I reviewed the DO_HANDLE_EVENT method and have the following code:

* Eventhandler dispatching
CASE htmlb_event_ex->event_server_name.

WHEN 'PARTNERCATCHANGED'. "#EC NOTEXT
eh_onpartnercatchanged( htmlb_event = htmlb_event
htmlb_event_ex = htmlb_event_ex ).

WHEN 'save'. "#EC NOTEXT
eh_onsave( htmlb_event = htmlb_event
htmlb_event_ex = htmlb_event_ex ).

WHEN OTHERS.
global_event = super->do_handle_event( event = event
htmlb_event = htmlb_event
htmlb_event_ex = htmlb_event_ex
global_messages = global_messages ).

ENDCASE.