Quantcast
Channel: SCN: Message List - SAP CRM: Interaction Center
Viewing all articles
Browse latest Browse all 3700

Re: Add a code to an existing SAVE button

$
0
0

Hi Kumar,

 

could you please help me with another problem:

As per your instructions i redefined the EH_ONSAVE method and in it i included a call to the superclass EH_ONSAVE method. The code in my redefined EH_ONSAVE method looks like this:

 

*** This is the call for superclass EH_ONSAVE method

   global_event = super->do_handle_event(

            event           = event
            htmlb_event     = htmlb_event
            htmlb_event_ex  = htmlb_event_ex
            global_messages = global_messages ).

*** This is my new code with added functionality when pressing save button

  CALL FUNCTION ...

 

 

Now i would need to put additional condition, that my new code is run only if the superclass EH_ONSAVE method finishes without an error.

 

Tell me please, how should i do this ?


Thanks!


Viewing all articles
Browse latest Browse all 3700

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>