on 11-28-2006 12:00 PM
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lutz,
You need to configure CCMS alerts to send you a mail in case of an event.
See,
http://help.sap.com/saphelp_nw04/helpdata/en/90/4e313f8815d036e10000000a114084/frameset.htm
Hope this help!
Juan
Please reward with points if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.