I have setup an auto-reaction method for aborted jobs with standard method CCMS_OnAlert_Email and It works fine. But its related function module SALO_EMAIL_IN_CASE_OF_ALERT writes a lot of info that it becomes unnecessary for our requirements. So I made a copy for the standard method and function module to include custom abap code, where I have coded a simple sql statement to filter only necessary jobs. I have debug it and all seem to be correct but the problem is that the email is not performed.
What is wrong? Is there any limitations to make custom modifications?