Auto send e-mails when jobs failed
Hi,
Hope this is a simple question for you guys. What we need to setup when a particular job failed, we want to SAP (WAS 6.40 system )send e-mail to a particular individual e-mail address? We have e-mail configured in SAP but not configured CCMS. We also have SolMan 4.0 system installed also. I am trying to read CCMS documentation but there are too many and more concept than step by step. I also searched in this SDN and found out most are point to CCMS configurations and then link to solution manager which seems quite complicated.
My question is: do I need CCMS and/or SolMan in order to send e-mail notification to a individual when a job failed? Is there a simple setup step for this task? If we do need CCMS and/or SolMan, anywhere have step by step document? I don't want to do all fancy things, just a one task.
Thanks and regards,
Yujun Ran
Yujun,
Have a look at note 553953
and there is more information on how to do this with ssm in
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/97d2e8b3-0b01-0010-b787-b8ce558a51c2
Cheers and don't forget the points when this info is usefull
Lando
Similar Messages
-
Need to send a mail when job window time is over
Hi ,
select * from v$version;
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
========
I have created a job using dbms_scheduler.create_job with a 1 hour window ( created using dbms_scheduler.create_window ) .
My job triggers a stored procedure . Now I have a send_mail code at the end of the stored procedure which sends a mail with plsql log as an attachment . When my job runs more than 1 hour the stored proc is getting stopped and not triggering the mail though I put the same code in exception block ( exception when others ) .
CREATE OR REPLACE PROCEDURE my_sp
AS
BEGIN
-- some code ---
begin
-- send mail --
end
EXCEPTION
WHEN OTHERS
THEN
send mail ( Can I get this piece when window time is over )
END;
Is there any other way I can run the last piece of the proc (send_mail) .
Thanks ,
MaheshMahesh wrote:
Folllowing below note .
http://download.oracle.com/docs/cd/E14072_01/server.112/e10595/scheduse008.htm
but need to attach a file .
SQL> desc utl_mail
PROCEDURE SEND
Argument Name Type In/Out Default?
SENDER VARCHAR2 IN
RECIPIENTS VARCHAR2 IN
CC VARCHAR2 IN DEFAULT
BCC VARCHAR2 IN DEFAULT
SUBJECT VARCHAR2 IN DEFAULT
MESSAGE VARCHAR2 IN DEFAULT
MIME_TYPE VARCHAR2 IN DEFAULT
PRIORITY BINARY_INTEGER IN DEFAULT
REPLYTO VARCHAR2 IN DEFAULT
PROCEDURE SEND_ATTACH_RAW
Argument Name Type In/Out Default?
SENDER VARCHAR2 IN
RECIPIENTS VARCHAR2 IN
CC VARCHAR2 IN DEFAULT
BCC VARCHAR2 IN DEFAULT
SUBJECT VARCHAR2 IN DEFAULT
MESSAGE VARCHAR2 IN DEFAULT
MIME_TYPE VARCHAR2 IN DEFAULT
PRIORITY BINARY_INTEGER IN DEFAULT
ATTACHMENT RAW IN
ATT_INLINE BOOLEAN IN DEFAULT
ATT_MIME_TYPE VARCHAR2 IN DEFAULT
ATT_FILENAME VARCHAR2 IN DEFAULT
REPLYTO VARCHAR2 IN DEFAULT
PROCEDURE SEND_ATTACH_VARCHAR2
Argument Name Type In/Out Default?
SENDER VARCHAR2 IN
RECIPIENTS VARCHAR2 IN
CC VARCHAR2 IN DEFAULT
BCC VARCHAR2 IN DEFAULT
SUBJECT VARCHAR2 IN DEFAULT
MESSAGE VARCHAR2 IN DEFAULT
MIME_TYPE VARCHAR2 IN DEFAULT
PRIORITY BINARY_INTEGER IN DEFAULT
ATTACHMENT VARCHAR2 IN
ATT_INLINE BOOLEAN IN DEFAULT
ATT_MIME_TYPE VARCHAR2 IN DEFAULT
ATT_FILENAME VARCHAR2 IN DEFAULT
REPLYTO VARCHAR2 IN DEFAULT -
Is it possible to Sending a mail when Mapping fails ?
Hi,
I am using the BPM for my scenario. In that BPM , I am using the message transformation , currently when the mapping fails the entire process stops.
Instead of this I want to send a mail.
Thanks in advance
ChemmanzHi Chemmanz,
Sorry for the delailed response. Here is some explaination.
Wrap you transformation step in an exception handler.
http://help.sap.com/saphelp_nw04/helpdata/en/33/4a773f12f14a18e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/f6/e1283f2bbad036e10000000a114084/content.htm
In the exception handler have a control step - type mail. Here you can specify any custom message.
after the mail control step , you can either exit BPM using control step - type exit or continue with the BPM.
cheers,
naveen
cheers,
Naveen -
CCMS not sending e-mail when system is down
I have installed solution manager 4.0 and configured it as a CEN to handle all CCMS alerts from our SAP systems (ECC5.0, BW, etc), these systems all have CCMS agents install and configured. The configurations work no problem. We get automatically notifications on a lots of events -- such as shortdumps, responses time, system log errors, etc. However, we never get e-mail notifications on following two situations:
1. System down -- when one system is down, we can see it availability is going to 0% on solution manager but we did not get e-mail, I am using MTE class "Availability_SysPercent_ABAP", it should send e-mail when it below 60%. But it never did even it's 0%. Also tried several other MTEs, but none of them work. Is this because when system is down, CCMS not work any more or something else?
2. Job cancel -- I am not what MTE class to use in order to send e-mail when some jobs are cancelled.
Any help are greatly appreciated.
Yujun RanI don't know if this is correct but my Execution is "Any server" and it works.
I assume you copied the same method for your central AR method. The person earlier who mentioned clients may have something. I don't use the CCMS_OnAlert_Email_V2 method so I'm not sure but I think the parameters need to have a user in 000 with an e-mail address in the user master in order to send. I don't think this is any different for the Central AR method which works for you so probably not the problem but double-check. I use the CCMS_Send_Alert_to_ALM_V2 method so my config will be a little different.
Is SAP_CCMS_MONI_BATCH_DP scheduled in CEN? Mine is in the working client but again, not sure if it matters.
Does the AR method you have assigned show up in RZ20>>Change mode>>View>>Method allocation?
Is the send job in SAPCONNECT scheduled, I believe it behaves differently with local and central AR's.
Message was edited by:
David Hill -
Auto Send E-Mail For wishing BirthDay in Organization
Hi All,
Auto Send E-Mail For wishing BirthDay in our Organization. pls could help me
Regards
Bala887768 wrote:
Hi All,
Auto Send E-Mail For wishing BirthDay in our Organization. pls could help me
Regards
BalaDatabase or text file with birthdates, email addresses and names; JavaMail ; scheduled job (for example use the scheduler of your operating system) -
"Send e-mail when ownership is assigned" SharePoint 2013 task list
I've found that the option to "Send e-mail when ownership is assigned" isn't available in SharePoint 2013 (enterprise) task lists. I've found that this functionality is now included the 'issue tracking' list template.
I'm unsure why this very useful feature has been removed from the task list template. I’ve tried adding the task content type to an issue list; this works fine and the notification is sent. However, the new ‘task aggregation’ feature
in mysite only picks up items in an task list, so those items stored in issue lists get ignored. Fairly frustrating.
I wonder whether anyone from MS can fill me in on when this feature has been removed?Here's a way to enable it by PowerShell:
http://bernado-nguyen-hoan.com/2013/04/26/enable-email-notifications-for-tasks-list-in-sharepoint-2013/
Although this works, are we now expected to teach users who create Tasks and want to automatically notify all involved via e-mail Powershell skills? MS really needs to take a second look at this faux pas and bring the "Send
e-mail when ownership is assigned" option back. -
When trying to send a mail, selecting attachement fails with no error.
I imported lots of folders form Kmail (KDE3.5/ trinity) on a previous version (don't remember which one) of Thunderbird.
All worked fine. (I was able to send a variaty of files in email attachements (.xls, .zip, .txt and also files with no extension with no trouble)
Somewhen two weeks ago I updated Thunderbird and it would not allow me to attach files to a mail I want to send.
This means: --click on the button to send a new mail.
--typing a email adress
--typing a subject
--typing 'hello' into the text field
--clicking the button to attach a file
--selecting a text file, picture, .zip, binary and click 'open' in the file selector
== nothing changes in the email window to show that a file has been attached and also on sending the mail the receiver does not receive a mail.
reverting to older version of thunderbird does not seem possible as it appears that there is no link to older packages on thunderbird downlaod site?
where did I go wrong?I doubt it's a version problem. But I don't run Linux any more.
Old versions can be found here:
http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/ -
Need to send Automated mail when releasing the Hold
Hi Team,
I have requirement to send the mail to customers when releasing the Hold Manually in OM.
Kindly let me which event will trigger when releasing the hold manually.(Action -> Release Holds)
Thanks
Suresh.S.hi,Suresh
There may be a way for your requirement.
Achieved with form personliaze as follows(Not test):
trigger event: post-query
1.Check the holds which retrived at 2 is released or not.
If released then send mail.
2.Get current holds again.
At the first time, 1 will not perform anything because of holds has not be got yet.
Afterwards 1 will perform normally when release hold. (Action -> Release Holds)
Regards,
Leno
Edited by: Leno Sun on 2013/05/10 0:36 -
How to send e-mail when a trigger condition is verified?
Hi,
I want to implement a trigger to send an e-mail when the condition of the tigger is verified.
Thanks in advance.
Paulo.i'm using the sample code you can find at http://otn.oracle.com/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html to implement the mail function.
Check out you gateway configuration cause i had some problems with it at the beginning
my trigger goes like this (i use it to receive a mail everytime i have a exception in one of my processes):
create or replace trigger TRG_error_handle
after insert on errores
for each row
begin
demo_mail.mail(sender => "sendername", recipients => "your emailadress",
subject => 'Error en reporte ' || :new.proceso,
message => 'Ha ingresado un error de aplicación a las ' ||
to_char(:new.fecha, 'hh24:mi:ss') || ' del ' ||
to_char(:new.fecha, 'dd/mm/yyyy') || chr(13) ||
' Proceso: ' || :new.proceso || chr(13) ||
' Mensaje de error: ' || :new.err_desc);
end if;
end TRG_error_handle;
Good luck.- -
Exchange 2010 - Method to send e-mail when the WAN IP is dynamic
Hello,
I am writing due to the fact that I cannot send e-mail from my Exchange 2010 Server to my Yahoo! address for testing. When trying to do so, I get the following error message:
mta1106.mail.gq1.yahoo.com gave this error:
Mail from xxx.xxx.xxx.xxx not allowed - 5.7.1 [BL21] Connections not accepted from IP addresses on Spamhaus PBL; see
http://postmaster.yahoo.com/errors/550-bl21.html [550]
As one can see, because my IP address is residential, I cannot send e-mail to all addresses on the web. I really would like to use this as my primary contact, and thought of using a proxy. Can someone recommend a good proxy, or workaround for this? I am
sorry for posting in Exchange 2013, but I couldn't find the 2010 forum. Thank you to all who reply.
MikeThank you for your reply,
I have set up DynDNS, and I am currently using my own domain name. The problem was I needed to configure a smart SMTP host, or relay server on my send connector. I decided to go with SMTP2GO, as they are cheap, and allow you to send 20 e-mails a day for
free. When the money is right, I plan to upgrade.
Thank you for your help.
Mike -
Intent_driven Interaction: Sending E-Mail when the Service Request is saved
Hi,
I would like to send automatically an E-mail when the Service Request is saved. I created a new policy within context "Intent Driven Interaction" . I chose the IC event "OrderSaved" and the relevant Business Roles. In my rule I chose the condition "If current Event equals Order was saved" and the action "Send out going E-Mail Using Mail Form". I created an interaction profile that is assigned to the Service Manager Profile "IDI Default".
It does not work. Any idea ? Is there a way to test this type of rule ?
Thanks a lot !!!Thanks a lot for your fast response, unfortunately this is not what i was looking for.
Kind regards
Hannes
If your question is solved, please mark as answered.
Edited by: Hannes Wegehenkel on Sep 22, 2010 2:38 PM -
Why can't I send e-mail when connected to some WiFi networks?
At times when I can connected to other WiFi networks, I cannot send e-mail.
I'm not sure if this is something in the settings for my e-mail, or related to the WiFi network.
I am able to receive e-mails at that time.Check that you have set up the OUTGOING server as well as the incoming server. Follow the instructions in this technical support article to get to your outgoing server configuration. If none is configured, use the instructions to add the outgoing server according to your email provider's instructions. If one is configured, verify that it is set up correctly.
-
Sending e-mails when using talkmobile and talktalk...
When using Talkmobile and a TALKTALK e-mail address, I can only receive e-mails;
I cannot send e-mails!
Talkmobile blame Talktalk, and vice versa!
Has anyone any suggestions, please!You need to contact T-T and find out their SMTP settings ( which allows the sending of emails over wifi via your ISP) This info is probably on their website
I assume you do not have a 3G iPad .In which case go to the Apple site
http://www.apple.com/support/ipad/
where you should find very clear guidance on most issues -
Cant send picture mail when on wifi
I am not able to send picture messages from my phone while on my wifi network.
I am currently using a sprint Nexus S 4g as a my phone and I use the Time Capsule for my home network
anybody have any idea what the problem could be
I can send picture message when using the mobile networkAre you trying to mail someone by attaching pictures?
If so then you need to have pictures in your picture folder. Now compose a new email and click Menu and select Attach File -> Choose your desired pictures and click trackball. You're done!
tanzim
If your query is resolved then please click on “Accept as Solution”
Click on the LIKE on the bottom right if the post deserves credit -
I've created what the php manual says should work to send
html mail to our customer automatically from the website after a
purchase, along with headers to send a bcc to us.
But the finished product coming out of DW is a message body
with all the code tags and headers in the body of the email, not a
nice html email.
I originally created this in GL, and have brought it over to
DW.
Is there maybe a better way to do this?
Here's my code:That should work fine, I believe.
But there are commercial products that may be what you would
want to
consider. WebAssist has one called UniversalEmail, that I
like very much -
http://www.webassist.com
It will allow you to send both an HTML and a plain text
email. I use it
frequently.
I have an affiliate link on my website, and if you are
interested, please
use that -
http://www.great-web-sights.com
(I am not an employee of WebAssist, but I do use/like their
products)
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"rlinsurf1" <[email protected]> wrote in
message
news:[email protected]...
> I've created what the php manual says should work to
send html mail to our
> customer automatically from the website after a
purchase, along with
> headers to
> send a bcc to us.
>
> But the finished product coming out of DW is a message
body with all the
> code
> tags and headers in the body of the email, not a nice
html email.
>
> I originally created this in GL, and have brought it
over to DW.
>
> Is there maybe a better way to do this?
>
> Here's my code:
>
>
> <?php
>
> $message = '<html>
>
> <head>
> <meta http-equiv="content-type"
content="text/html;charset=utf-8" />
> <style type="text/css" media="all"><!--
> .dsR5 /*agl rulekind: base;*/ { width: 645px; height:
75px; }
> .dsR6 /*agl rulekind: base;*/ { width: 645px; height:
158px; }
> .emailtext { color: gray; font-size: 10pt; font-family:
Verdana, Arial,
> Helvetica, sans-serif; }
> .headertext { color: gray; font-size: 14pt; font-family:
Verdana, Arial,
> Helvetica, sans-serif; font-weight: bold; }
> .ds4 /*agl rulekind: base;*/ { font-size: 15px; }
> .ds10 /*agl rulekind: base;*/ { font-size: 12px; }
> --></style>
> </head>
>
> <body>
> <p><img class="dsR5"
>
src="https://ssl21.pair.com/grndlvl/commerce/gl/images/GRLogo.gif"
alt=""
> border="0" /></p>
> <p class="headertext">Groundlevel Store
Order</p>
> <table class="dsR6" border="0" cellspacing="0"
cellpadding="0">
> <td><span
class="emailtext">Name:</span></td>
> <td class="emailtext"><?php echo $fullname;
?></td>
> </tr>
> <tr>
> <td><span class="emailtext">Email
Address:</span></td>
> <td class="emailtext"><?php echo $email;
?></td>
> </tr>
> <tr>
> <td><span
class="emailtext">Date:</span></td>
> <td class="emailtext"><?php echo $orderdate;
?></td>
> </tr>
> <tr>
> <td><span
class="emailtext">Product:</span></td>
> <td class="emailtext"><?php echo
$item;?></td>
> </tr>
>
> <tr>
> <td><span
class="emailtext">Total:</span></td>
> <td class="emailtext"><?php echo$total;
?></td>
> </tr>
>
> </table>
> <p class="headertext"><span
class="ds4">Thank You for Your
> Order</span></p>
> <p class="headertext"><span class="ds10">You
can expect your order to be
> delivered promptly. You will also receive notifcation of
your shipment
> along
> with the tracking information from the carrier you
selected for delivery,
> either USPS, UPS or Fedex. If you have any questions
about your order,
> please
> email us at:
[email protected].</span></p>
> </body>
>
> </html>';
>
> $headers = 'MIME-Version: 1.0' . "\r\n";
> $headers .= 'Content-type: text/html;
charset=iso-8859-1' . "\r\n";
> $headers .= 'From: Groundlevel Store
<[email protected]>' . "\r\n";
> $headers .= 'Bcc: [email protected]' . "\r\n";
>
>
> mail($email,"Your Groundlevel Store Order",$message,
$headers) // this
> line is
> the ending tag
>
> ?>
>
Maybe you are looking for
-
Remote desktop connection not working in windows 7 Pro x64 bit sp1 3389 port not working
i have still facing same problem in last two week in my system RDC not working . i have installed in my system windows 7 x64 bit Pro sp1 then i check 3389 port working or not in my system use the command netstat -a -o command in command prompt but
-
Bex objects translated text not displayed for all
Hi, I have an issue in Bex elements language translation in Bex report output, Translation of Bex elements to PT language has done successfully and few of the Bex elements are getting displayed in PT language, but the problem i am facing is with the
-
Need help with running a Java program on Linux
I am trying to get a Java program to run on a Linux machine. The program is actually meant for a Mac computer. I want to see if someone with Java experience can help me determine what is causing the program to stall. I was successful in getting it in
-
Is there anyway to establish when my phone last backed up on iCloud if the phone in question is no longer usable? My wife's phone was dropped down the loo just a day after returning from holiday with all our holiday snaps/vids on it. The phone is dea
-
InDesign CS4 will not run under Lion
I have InDesign CS4 and Design Suite CS3. All my other CS3 apps run under Lion. The Upgrade to Lion failed leaving my internal unbootable, so I installed and migrated to an external drive. But after the upgrade to Lion all of the other CS 3 aps run,