How to send mail after job abort

Hi,
how can I send an email when a job is aborted? Or is there a system event if a job aborts?
Thanks for your help
Lutz

You might want to look into ABAP.  Basically a generic job that would get called, to send email, whenever a certain job "aborts", but then you'd also need a wrapper job for detecting the bad return code. help.sap.com has some info on that (using events to trigger jobs), like this:
http://help.sap.com/saphelp_47x200/helpdata/en/fa/096f33543b11d1898e0000e8322d00/frameset.htm
or this (the full-control method)
http://help.sap.com/saphelp_47x200/helpdata/en/fa/096f33543b11d1898e0000e8322d00/frameset.htm
CCMS can also monitor job status too, as the other poster said,
http://help.sap.com/saphelp_47x200/helpdata/en/fa/096f33543b11d1898e0000e8322d00/frameset.htm
however it's very limited.  Especially if you want to use logic for the alerts (ie only certain jobs should alert upon failure, certain times of day, recipients, etc).  It's all possible with CCMS, I've seen it done before using scripts that read CCMS external alerting but it's probably easier just adding event triggers to your critical jobs.

Similar Messages

  • Send mail  after jobs get succeded in EM console

    Hi,
    Is there solution to send mail after jobs get succeeded and failed in EM console. if job get failed in em console the mail should send with error code .

    hi
    any solution

  • Send mail after jobs get succeeded or failed in EM console ?

    Hi,
    Is there solution to send mail after jobs get succeeded and failed in EM console. if job get failed in em console the mail should send with error code

    Hi,
    For dbms_scheduler this ability is built-in from 11.2 and up. For EM jobs, you might want to ask on the Enterprise Manager forum here
    Enterprise Manager
    Thanks,
    Ravi.

  • How to send mail after downloading iOS5 onto iPhone 4?

    Hello
    While setting up iOS 5.0 i was alerted my home POP email was needing verification for my existing ME account, even though I'd never used home POP account before. I did verify it and have both it (in Canada a Telus service provider '[email protected]') and my existing ME account verified.
    I am able to send mail on iphone with Me account but not with Telus account.
    I rebooted both computer and phone, deleted and re-set up Telus account on iPhone, and still not able to send mail.
    Any help would be most appreciated.

    I have the same problem. The downoad went smoothly with no errors displayed. My phone updated just fine, all my apps appeared and nothing was lost. The phone with iOS5 worked perfectly for about two hours and suddenly, nothing. No home+lock button combo, no home button, no response when placed on a charger, my computer won't even recognize that a device has been plugged in. This is horribly frustrating, especially considering how much searching I had to do just to find out that someone else had this problem. I hope mine wakes up for a second in the morning at least.
    Does anyone know what to do about this?

  • Mail after job finished

    Hi All,
    I am scheduling the RMMRP000 and want to send the mail to group of SAP user once job is finished.
    I have created the Distribution list with all respective SAP user and while scheduling the job i am assigned spool recipient but mails are not send to all user after once job finished. If i am assigned only one user not group its sending mail once job finished.
    pls let me know how i can do it for group of SAP user.
    Regards,
    Amit
    Dear All,
    Any Idea......any clue
    Edited by: sathishreddy on Apr 12, 2010 7:05 PM
    Edited by: sathishreddy on Apr 12, 2010 7:06 PM

    Hi All,
    I am scheduling the RMMRP000 and want to send the mail to group of SAP user once job is finished.
    I have created the Distribution list with all respective SAP user and while scheduling the job i am assigned spool recipient but mails are not send to all user after once job finished. If i am assigned only one user not group its sending mail once job finished.
    pls let me know how i can do it for group of SAP user.
    Regards,
    Amit
    Dear All,
    Any Idea......any clue
    Edited by: sathishreddy on Apr 12, 2010 7:05 PM
    Edited by: sathishreddy on Apr 12, 2010 7:06 PM

  • How to send mail to distribution list ?

    Hi Everybody,
    Pls let me know how to send mail to distributed list???
    Thanks & Regards,
    raju<b></b>

    Hi ,
      Use Function Module 'SO_NEW_DOCUMENT_SEND_API1'.
      U need to pass Distribution list to Receiver and 'C' to receiver type refer the below code for clarification.
    Determine the Distribution List.
            gv_rec_list-receiver = gv_distribution.
            gv_rec_list-rec_type = 'C'.
            APPEND gv_rec_list.
    Check if Distribution List is deleted.
            SELECT SINGLE objnam
                     FROM soid
                     INTO lc_objnam
                     WHERE objnam = gv_rec_list AND
                           dlitp  = lc_dli.
            IF sy-subrc = 0.
              CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
                EXPORTING
                  document_data              = gv_doc_data
                  document_type              = 'RAW'
                  put_in_outbox              = 'X'
                TABLES
                  object_content             = gv_obj_cont
                  receivers                  = gv_rec_list
                EXCEPTIONS
                  too_many_receivers         = 1
                  document_not_sent          = 2
                  document_type_not_exist    = 3
                  operation_no_authorization = 4.
              CASE sy-subrc.
                WHEN '1'.
                 message i001(as) with 'TOO MANY RECEIVERS'.
                  EXIT.
                WHEN '2'.
                 message i001(as) with 'DOCUMENT NOT SENT'.
                  EXIT.
                WHEN '3'.
                 message i001(as) with 'DOCUMENT TYPE DOES NOT EXIST'.
                  EXIT.
                WHEN '4'.
                 message i001(as) with 'OPERATION NO AUTHORIZATION'.
                  EXIT.
              ENDCASE.
              Hope this might have helped you.
    Thanks,
    Prashanth

  • How can send mails using hotmail/rediffmail domain name?

    I have used the below code to send a mail using javamail API?Even when I am sending my application does not have notified any of error/exceptions,But the message is not reached to I have given receipient's address in the to field.
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    public class Sendmail1 extends HttpServlet {
    private String smtpHost;
    // Initialize the servlet with the hostname of the SMTP server
    // we'll be using the send the messages
    public void init(ServletConfig config)
    throws ServletException {
    super.init(config);
    smtpHost = config.getInitParameter("smtpHost");
    //smtpHost = "sbm5501";
    smtpHost = "www.rediffmail.com";
    public void doGet(HttpServletRequest request,HttpServletResponse response)
    throws ServletException, java.io.IOException {
    String from = request.getParameter("from");
    String to "[email protected]";
    String cc = "[email protected]";
    String bcc ="[email protected]";
    String smtp ="www.rediffmail.com";
    String subject = "hai";
    String text = "Hai how r u";
    PrintWriter writer = response.getWriter();
    if (subject == null)
    subject = "Null";
    if (text == null)
    text = "No message";
    String status;
    try {
    // Create the JavaMail session
    java.util.Properties properties = System.getProperties();
    if (smtp == null)
    smtp = "www.rediffmail.com";
    properties.put("mail.smtp.host", smtp);
    Session session = Session.getInstance(properties, null);
    //to connect
    //Transport transport =session.getTransport("smtp");
    //transport.connect(smtpHost,user,password);
    // Construct the message
    MimeMessage message = new MimeMessage(session);
    // Set the from address
    Address fromAddress = new InternetAddress(from);
    message.setFrom(fromAddress);
    // Parse and set the recipient addresses
    Address[] toAddresses = InternetAddress.parse(to);
    message.setRecipients(Message.RecipientType.TO,toAddresses);
    Address[] ccAddresses = InternetAddress.parse(cc);
    message.setRecipients(Message.RecipientType.CC,ccAddresses);
    Address[] bccAddresses = InternetAddress.parse(to);
    message.setRecipients(Message.RecipientType.BCC,bccAddresses);
    // Set the subject and text
    message.setSubject(subject);
    message.setText(text);
    Transport.send(message);
    //status = "<h1>Congratulations,</h1><h2>Your message was sent.</h2>";
    } catch (AddressException e)
    status = "There was an error parsing the addresses. " + e;
    } catch (SendFailedException e)
    status = "<h1>Sorry,</h1><h2>There was an error sending the message.</h2>" + e;
    } catch (MessagingException e)
    status = "There was an unexpected error. " + e;
    // Output a status message
    response.setContentType("text/html");
    writer.println("<title>sendForm</title><body bgcolor= ><b><h3><font color=green><CENTER>CALIBERINFO.COM</CENTER></h3>Your message was sent to recepient(s).<br><font color=red>"+"\n"+to);
    writer.println("<br><br><a href=e:/mail/javamail/mail.html>back to compose</a>");
    writer.close();
    Please any one help me out from this probs.
    Awaiting for yours reply,
    or give me a reply to: [email protected]
    Regards,
    @maheshkumar.k

    Hi,
    how can send mails using hotmail/rediffmail domain name?In your java application,you specified www.rediffmail.com as your
    smtp server.But that is the address of that website.Try will a smtp
    server instead.For a list of free smtp servers,please visit http://www.thebestfree.net/free/freesmtp.htm
    Hope this helps.
    Good Luck.
    Gayam.Srinivasa Reddy
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support/

  • How to send mail in html format in jsp???

    Hello everybody,
    I have two jsp pages.In one page I have the heading like Date,Transaction.I am retriving data from my second jsp page.And I hae included the second jsp page to my first jsp page.How to send mail this content in html format.
    Thanks
    Srikant

    MimeMessage m = new MimeMessage(session);
    BodyPart messageBodyPart = new MimeBodyPart();
    messageBodyPart.setContent(content, "text/html");this if u need to send a mail content as html

  • How to send mail with attachment

    Hi,
    How to send mail with word document as attachment in oracle pl/sql.
    kindly help me .
    thank you
    regards
    P Prakash

    create or replace procedure pdf_mail(
        p_sender     varchar2, -- sender, example: 'Me <[email protected]>'
        p_recipients varchar2, -- recipients, example: 'Someone <[email protected]>'
        p_subject    varchar2, -- subject
    p_text   varchar2, -- text
    p_filename  varchar2, -- name of pdf file
    p_blob   blob     -- pdf file
    ) is
      conn      utl_smtp.connection;
      i number;
      len number;
    BEGIN
      conn := demo_mail.begin_mail(
        sender     => p_sender,
        recipients => p_recipients,
        subject    => p_subject,
        mime_type  => demo_mail.MULTIPART_MIME_TYPE);
      demo_mail.begin_attachment(
        conn         => conn,
        mime_type    => 'application/pdf',
        inline       => TRUE,
        filename     => p_filename,
        transfer_enc => 'base64');
        -- split the Base64 encoded attachment into multiple lines
       i   := 1;
       len := DBMS_LOB.getLength(p_blob);
       WHILE (i < len) LOOP
          IF(i + demo_mail.MAX_BASE64_LINE_WIDTH < len)THEN
             UTL_SMTP.Write_Raw_Data (conn
                                    , UTL_ENCODE.Base64_Encode(
                                            DBMS_LOB.Substr(p_blob, demo_mail.MAX_BASE64_LINE_WIDTH, i)));
          ELSE
             UTL_SMTP.Write_Raw_Data (conn
                                    , UTL_ENCODE.Base64_Encode(
                                            DBMS_LOB.Substr(p_blob, (len - i)+1,  i)));
          END IF;
          UTL_SMTP.Write_Data(conn, UTL_TCP.CRLF);
          i := i + demo_mail.MAX_BASE64_LINE_WIDTH;
       END LOOP;
      demo_mail.end_attachment(conn => conn);
      demo_mail.attach_text(
        conn      => conn,
        data      => p_text,
        mime_type => 'text/html');
      demo_mail.end_mail( conn => conn );
    END;
    ref:
    http://www.plpdf.com/23-1725.html
    Edited by: Mahanam on Jan 9, 2011 10:32 PM

  • How to send mail in APEX 4.1 using PLSQL

    Hi All,
    How to send mail in APEX 4.1 using PLSQL?
    Thanks In advance.
    Regards
    Shail

    http://lmgtfy.com/?q=oracle+apex+4.1+send+mail

  • How to Send mail in oracle 10g

    I am new in oracle developer.....we are using oracle 10g developer...how to send mail through oracle 10g on a button click.pease help me.
    Thanks in advance

    This question have been asked many times on this forum, see if you get help from following:
    https://forums.oracle.com/message/5395438#5395438
    Search results: https://forums.oracle.com/thread/search.jspa?peopleEnabled=true&userID=&containerType=&container=&q=form+email
    Check this out as well:
    http://nzchaudhry.wordpress.com/2013/05/31/send-report-via-email-attachment-in-oracle-forms-10g/
    You can find init.ora or initSID.ora file under $ORACLE_HOME/dbs on linux and on Windows under $ORACLE_HOME/database. Otherwise you can create it using "create pfile from spfile" command
    Aneel

  • Sending mails after running the audit

    Hi,
    Please let me know if there is any standard workflow available for sending mails after running the audit. I want to inform students that they have failed in audit because of such and such subrequirement is not met.
    Regards
    Vinod Kumar

    Hi Vinod,
    If you are on Ehp4 you can use the BRF as a framework to create a custom developed event/action to send out the e-mail. Or you can copy the standard bulk program of audit calculations and create to functionality to send out e-mails after the run.
    There is currently no standard e-mail related to this process. You could check the standard workflow HRIQ_ADM_UG template to retrieve tasks to be copied in your own workflow (example HRIQ_APP1).
    Good luck
    Rob

  • Problems sending mail after update

    Is anyone having difficulty sending mail after the most recent ipad IOS update?  Getting message saying that cannot connect to outgoing server.  Know server is fine for other apple devices.

    Can you receive emails on the account?
    Reset/restart your router and try gain.
    Try deleting the account and setting it up again.

  • Can no longer send mail after installing Yosemite

    can no longer send mail after installing Yosemite

    Hi nwpmike,
    When I uncheck "SSL" it's working well, but it's not very secure. When I leave SSL, I got in "Connection Doctor" the message "Trying to log in to this SMTP account failed. Verify that the username and password are correct.", only for the SMTP. For the IMAP, the status in Green. It's also working well on the iPhone 6 with ios8 and other mac with OS X 10.9 and previous versions.
    The only thing that can be involved is that the certificat used by my mail provider is expired.
    With connection docteur, there is a button "Show Details". Here is the conversation when connecting to the smtp.
    READ Oct 18 23:33:53.363 [kCFStreamSocketSecurityLevelNone] -- host:smtp.planet-service.fr -- port:587 -- socket:0x6000014a58e0 -- thread:0x600001e6fbc0
    250-smtp.planet-service.fr
    250-AUTH LOGIN CRAM-MD5 PLAIN
    250-AUTH=LOGIN CRAM-MD5 PLAIN
    250-STARTTLS
    250-PIPELINING
    250 8BITMIME
    WROTE Oct 18 23:33:53.363 [kCFStreamSocketSecurityLevelNone] -- host:smtp.planet-service.fr -- port:587 -- socket:0x6080010b1400 -- thread:0x600003479b00
    STARTTLS
    WROTE Oct 18 23:33:53.363 [kCFStreamSocketSecurityLevelNone] -- host:smtp.planet-service.fr -- port:587 -- socket:0x600000ab43a0 -- thread:0x6080032654c0
    STARTTLS
    WROTE Oct 18 23:33:53.364 [kCFStreamSocketSecurityLevelNone] -- host:smtp.planet-service.fr -- port:587 -- socket:0x6000014a58e0 -- thread:0x600001e6fbc0
    STARTTLS
    READ Oct 18 23:33:53.432 [kCFStreamSocketSecurityLevelNone] -- host:smtp.planet-service.fr -- port:587 -- socket:0x600000ab43a0 -- thread:0x6080032654c0
    220 ready for tls
    READ Oct 18 23:33:53.432 [kCFStreamSocketSecurityLevelNone] -- host:smtp.planet-service.fr -- port:587 -- socket:0x6080010b1400 -- thread:0x600003479b00
    220 ready for tls
    READ Oct 18 23:33:53.433 [kCFStreamSocketSecurityLevelNone] -- host:smtp.planet-service.fr -- port:587 -- socket:0x6000014a58e0 -- thread:0x600001e6fbc0
    220 ready for tls
    WROTE Oct 18 23:33:53.642 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:smtp.planet-service.fr -- port:587 -- socket:0x600000ab43a0 -- thread:0x6080032654c0
    EHLO [10.0.0.108]
    READ Oct 18 23:33:53.698 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:smtp.planet-service.fr -- port:587 -- socket:0x600000ab43a0 -- thread:0x6080032654c0
    250-smtp.planet-service.fr
    250-AUTH LOGIN CRAM-MD5 PLAIN
    250-AUTH=LOGIN CRAM-MD5 PLAIN
    250-PIPELINING
    250 8BITMIME
    WROTE Oct 18 23:33:53.699 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:smtp.planet-service.fr -- port:587 -- socket:0x600000ab43a0 -- thread:0x6080032654c0
    QUIT
    WROTE Oct 18 23:33:53.777 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:smtp.planet-service.fr -- port:587 -- socket:0x6000014a58e0 -- thread:0x600001e6fbc0
    EHLO [10.0.0.108]
    WROTE Oct 18 23:33:53.778 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:smtp.planet-service.fr -- port:587 -- socket:0x6080010b1400 -- thread:0x600003479b00
    EHLO [10.0.0.108]
    READ Oct 18 23:33:53.838 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:smtp.planet-service.fr -- port:587 -- socket:0x6000014a58e0 -- thread:0x600001e6fbc0
    250-smtp.planet-service.fr
    250-AUTH LOGIN CRAM-MD5 PLAIN
    250-AUTH=LOGIN CRAM-MD5 PLAIN
    250-PIPELINING
    250 8BITMIME
    WROTE Oct 18 23:33:53.838 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:smtp.planet-service.fr -- port:587 -- socket:0x6000014a58e0 -- thread:0x600001e6fbc0
    QUIT
    READ Oct 18 23:33:53.842 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:smtp.planet-service.fr -- port:587 -- socket:0x6080010b1400 -- thread:0x600003479b00
    250-smtp.planet-service.fr
    250-AUTH LOGIN CRAM-MD5 PLAIN
    250-AUTH=LOGIN CRAM-MD5 PLAIN
    250-PIPELINING
    250 8BITMIME
    WROTE Oct 18 23:33:53.843 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:smtp.planet-service.fr -- port:587 -- socket:0x6080010b1400 -- thread:0x600003479b00
    QUIT

  • Send mail after transaction code COR2

    Hello gurus,
    Anyone knows the badi or userexit which is getting calld after successfull change in TCode COR2?
    I need this enhancement to send mail after successfull entery.

    Dear ,
    Transaction Code - COR2 Change Process Order
    Following are the list of user exit which are available for Process order Managment.
    - PPCO0006 to predefine entries for order header fields when creating
    an order
    - PPCO0001 to provide information at the time of saving (for
    production orders and process orders)
    - PPCO0007 to check or change header data when saving
    - PPCO0002 to add additional checks that are to take place when
    setting the deletion flag or deletion indicator
    - PPCO0003 to prevent changes in sales order items that would cause
    changes in the process order for static assembly processing
    - STATTEXT to format the status line
    - PPCO0008 to check components that have been changed or added
    Hope this will be useful
    Regards
    JH

Maybe you are looking for

  • How can I find and replace multiple words at once?

    I need to be able to find and replace words into queens English. For example, I need to replace all instances of "color" with "colour," "tire" with "tyre" etc. I'm new to scripting, so simple answers would be appreciated :)

  • How do I increase the menu font size for Bible Fox?

    I know how to increase page text size etc, but using (brown) Bible Fox theme, I can't increase the menu font size. Is there a way to do this?

  • Problem in JAI scale factor

    I am using scale method for Zooming purpose.So i set scale factor as 0.5 for Zoom-in and 1 for Zoom-out.First I load the image,then i perform Zoom-in to make fit width.After Zoom-in,i am getting the image co-ordinates which is totally different from

  • Help really needed!

    hi all basically im getting the kernal panic error on my laptop where it tells me to re-start my laptop i have followed the steps from the kernal site on what to do and after completly re-formatting my laptop it still happens, i have the standard 512

  • Can I create a table with more than 40 columns ?

    Hello, I need to organize my work with a table and need about 66 columns. I am not very good with Numbers but I know a little bit of Pages. I cannot find a way to create a table with more than 40 columns... Is it hopeless ? (Pages '08 v. 3.0.3) Thank