CPS job status alert via email

Dear All,
We are using Build: M28.20-37214 CPS version.
So far we are able to get email alert from CPS when any job reaches any final (completed, error, canceled) status.
However in our email alert template we also want to include the date and time when the particular job reached that status.
We have created a new parameter "Time.now" in the Step 2 (email alert program).
In the email template we have used a statement as below.
<p>The job reached this status at : ${Time.now:"EEE-dd-MM-yy"}</p>
As per my understanding this paramaeter should be dynamic and should take value at runtime.
Hence in parameter definition we have used  Direction - Out.
By doing all these configuration steps we are still not getting desired results.
Our expected result is as below.
The job reached this status at : WED-03-11-10.
Any suggestions , any inputs will be highly appreciated.
Regards,
Jay

Hi   Jha
Thank you for your question.
You can refer to the following link and modify some code to type the correct email address by which someone was reminded, but it just reminded when your database fail .
http://ammarhasayen.com/2013/10/01/get-alert-email-when-exchange-database-is-failed-orand-not-mounted-on-the-preferred-server-activation-preference/
If this script cannot meet your requirement and you to get some alert when database moved, you can post your requirement on Exchange Development Forum by the following link:
https://social.technet.microsoft.com/Forums/en-US/home?forum=exchangesvrdevelopment&filter=alltypes&sort=lastpostdesc
If there are any questions, please let me know.
Best Regard,
Jim

Similar Messages

  • Exchange 2010 Databases move alert via email

    Hello Team,
    We are in Exchange 2010 SP3 environment with 2 copy DAG and don't have any SCOM Server for monitoring purpose. Please help to get script which helps to alert us via email whenever any database moved from one server to another server or any database in failed
    status.

    Hi   Jha
    Thank you for your question.
    You can refer to the following link and modify some code to type the correct email address by which someone was reminded, but it just reminded when your database fail .
    http://ammarhasayen.com/2013/10/01/get-alert-email-when-exchange-database-is-failed-orand-not-mounted-on-the-preferred-server-activation-preference/
    If this script cannot meet your requirement and you to get some alert when database moved, you can post your requirement on Exchange Development Forum by the following link:
    https://social.technet.microsoft.com/Forums/en-US/home?forum=exchangesvrdevelopment&filter=alltypes&sort=lastpostdesc
    If there are any questions, please let me know.
    Best Regard,
    Jim

  • Backgroung job and sending via email

    Hi All
    We have started sending reports via email by background processing of jobs. Back ground job was defined in SM36. By giving ABAP program name, variant, state date / time, periodic daily, spool to distribution list ( distribution list have list of emails to which report is to be send. All the reports are got correctly. But now there is a issue a second mail is received after some time for the same jobs with no content in the report. In SM36 i have checked duplication of job but found non
    Can any body please explain why is it occurring
    With Regards
    Arun

    Check TCode SCOT to see what is being sent.
    Also see your ABAP/BASIS teams
    PeteA

  • MDT deployment status notification via email

    I'm trying to build a solution that sends an email report after every deployment. Atm I have orchestrator runbook executed after deployment that sends a detailed report via email (Computer name, serial, make, model etc.). This works very well (btw. Orchestrator
    is an awesome product!).
    At the end of the task sequence MDT wizard shows how the deployment went (success, error, warnings)
    What I dont know is how could I pass that same information to Orchestrator that MDT wizard shows after deployment. Any ideas?

    Basically the solution mentioned with Henrik does that, but not in the way you would like it to do.
    The bdd.log is copied along the e-mail as attachment, and when you look at incorporating this solution, you can work with task sequence variables.
    So if you are able to retrieve ERROR and WARNING succes codes from the BDD.log and summarize those into the e-mail, you've got what you want.
    On the other hand, when using MDT all your production deployment's should equally succeed or fail. Using this for testing purposes doesn't make sense.
    So have a look at the posted solution, look in-depth to the scripts provided with the solution, and see if you can make it fit!
    Cheers!
    If this post is helpful please click "Mark for answer", thanks! Kind regards

  • Alerts via email

    Hi Experts.
    Our client is running SBO 2007A SP00 PL47.
    They are using Approvals for Purchase Orders.
    Those users who should be approving the Purchase Orders are not typically logged in to SBO and only log in to authorise the Purchase Orders.
    In order that the originator of the Purchase Order does not have to verbally request their manager to log in to SBO to approve the Purchase Order we have created an alert to each manager which runs each hour which is delivered by email rather than the internal messaging system in SBO.
    The query is:
    'SELECT 'PO awaiting your approval in SBO' from WDD1 where status = 'W' and userid = 6'
    where 6 is the userid.
    The client maintains the managers only get the emailed alert if they are logged on to SBO which somewhat defeats the purpose of the alert.
    I spent some time yesterday testing this and could only get the alert to enter a record in ALR1 when the user was logged on.
    Any ideas experts.
    Thank you for your time.
    Julie Coppins

    Hi!
    I am having a way, but this is upto u to test and make it live, this totally out of SAP B1 Appliaction.
    1. Create a ODBC connection with your DB
    2. Write a SQL code to fetch the PO Drafts for the Day
    3.Put this query in windows shedule task for every 1 hour / 1 day.
    4. Write a script or any soft codes to pump the file to your manager.
    The 4th point i mentioned alone i didn't tried, u try and give a postive feedback !

  • Credit Alerts via Email?

    Past few months I've been getting bad credit alerts, and they all want me to click a link to see the credit problem. I shouldn't have any credit issues and I've been scared to click on links, but is this for real? Anyone click on one of these? Sorry I couldn't find previous discussion.

    it's junk/spam email.  just delete them and dont think twice about it.  If you are truly concerned, obtain a credit report on your own.

  • XI Communication Channel Status sent to email/ccms

    Hi,
    We need to get an alert via email/sms whenever our XI Communication Channel Status got an errors (RED) or got inactive (YELLOW). Please shed some light on this. Thanks.
    Regards,
    Raquel

    Hi Raquel,
    Let me try to clear out some things in this thread . First of all you do your alert configuration which you say you have already done. Thats good . Now you ask that you want only to monitor the communication channels and you want specific guide . Here is the specific guide.
    If you have configured alerts you will know that when you create an alert rule you have the option to choose radio button where did the error occur it could be no restriction , integration engine or adapter engine. You need to choose adapter engine.
    Now whenever the colour of the lights change to red. You will get your alerts.
    Regards
    joel
    Edited by: joel trinidade on Apr 9, 2009 9:41 AM

  • LT Replication server job status

    Hello,
    In our HANA system, under transaction LTRC, we can check status job that "Master Job Status : Running" under tab "Administration data". We have setup E-mail alert using Transaction LTRC --> "Expert function" tab --> status notification settings. so that after every 24 hours we get "Master job status" alert mail. but we want to setup a E-mail alert when Master job stops running at any given time. Can you tell us how can setup that alert, can we configure this using CCMS or through some other alert mechanism?
    Thanks,
    Urvi

    Hello,
    Please let me know if there a some way also in solution manager?
    Thanks,
    Urvi

  • Sending alert as email to a Business Partner, is it possible??

    Hi all,
    One of my clients asked me whether it is possible to send automatic alerts via email to Business Partners?
    It seems like you can do it only when BP is a user in SAP or maybe not?
    Thanks for any help,
    Maciej

    Hi Maciej Kozlowski
    The alerts are available to listed users in the SAP Business One Company database only. You could achieve this by adding each BP contact as a user in the system, but that could be a bit messy to manage and the problem would be which BP email address to use. There would have to be a trigger that determines the BP code and translates to the BP email address.
    The alternative is to let the alert notify a user, who in turn redirects it to an email manually.
    The question is, what type of alert are you referring to? Is it specific to one BP or could it change from day to day based on for example BP balance, etc. If the report is dynamic and does not always relate to a specific BP, it will be difficult.
    Could you maybe give us more details on what you want to achieve and we could guide you better?
    Kind regards
    Peter Juby

  • HP Hardware alerts via iLO

    Well that stinks. I really don't have $400 to spend just to get alerts.  Do Dell's include email alerting out of the box with their DRAC remote management, or do you have to pay for it as well?
    Thanks for the info Ace

    I recently attended an HP/VMware webcast where the HP host said that iLO4 equipped servers were capable of sending hardware alerts via email.  I've logged into our iLO on a ML350 Gen8 server, but I don't see the option for this.  Can somone please advise on how to do this?
    This topic first appeared in the Spiceworks Community

  • Needed alert via mail of successfull/failed bkg jobs

    Dear All,
    Can you pl help or need steps in configuring alerts on failed jobs or output of that jobs via emails.
    I searched and got following reply but dont understand 2nd steps from that.
    1. Created Sapconnect Method in RZ21
    2. Created Auto-Reaction Method to notify via EMAIL
    I. Create a User to Send the Alerts
    i. Created a user in 000 of ECD,
    ii. User type ??? Dialog
    iii. Communication method ??? E-mail
    iv. Email address
    v. Profiles ??? SAP_ALL , SAP_NEW
    Thanks in advance.
    Regards
    Nirgun

    same question in different forum:
    Re: I got a requirement like whenever batch job was failed,by the time fail

  • No text shown in ALERT-Message in RWB-Inbox and via eMail

    Hi,
    we configured Alerting in XI giving conatiner elements in the title and long and short texts like &SXMS_ERROR_CAT& (actually we put all inside for testing purposes!).
    But when receiving the error message via eMail or in Alert-Inbox we only receive this error:
    Runtime Workbench Service User PIRWBUSER@domain
    <category> (The triggering application determined you as a recipient)
    Alert ID: ##06861##
    Possible Subsequent Activities
    Message Monitor 29C9106069DB11DDB8C0000AE4821300 Message Monitor (Secure Connection) 29C9106069DB11DDB8C0000AE4821300
    So where are the other informations?! How to achive to get a meaningfull error-message?!
    br

    Hi, i did the syntax-check and it worked well!
    We have following:
    Error: &SXMS_ERROR_CODE& (category &SXMS_ERROR_CAT&) was found in SAP XI (&SXMS_TO_ADAPTER_TYPE&)
    However we do not receive any message with detailed information!
    br

  • Send spool list ceated by Job (SM36) as pdf-file via email

    We are running the report RM06EFLB (Transaktion ME84 - "Create Releases") in the background.
    The Job is creating a spool list with 17 pages.
    I want to send this 17 pages (in a readable form) to a number of persons.
    This did I try so far:
    - Distribution list with Recipient type "via Internet" as Spool list recipients in the Job. (Tried different formats for ABAP List in Transaction SCOT)
    => Email is send to recipients, attachment is readable depending on format.
         Problem: attachment is not complete, it contains only about 15 pages (985 rows).
    - Distribution list with Recipient type "Internal User - SAP-Office" as Spool list recipients in the Job.
    => Document is sent to Business Workplace
         Problem:  attachment is not complete, it contains only about 15 pages
    Any ideas how to get the complete spool list?
    Is there mayby a report around  that is sending a spool list as pdf-file via email to a number of recipients?
    (Would like to maintain this Report as an additional step in the job. The spool-number should be selected from the previous step.)
    Thank you for your help.
    Jens

    Oh sorry - here is the coding which is used in that program:
    First use function module  'CONVERT_ABAPSPOOLJOB_2_PDF' to convert the spool entry into pdf.
    Loop at output table PDF and concatenate all lines into a string. Convert string to xstring.
    Then call mail class:
    DATA: lv_pdf_x TYPE xstring,
            lv_subject TYPE string,
            lv_doc_desc TYPE so_obj_des,
            lv_mail_body TYPE soli_tab.
      DATA: ls_atta TYPE rcf_s_att4mail_hex,
            lt_atta TYPE rcf_t_att4mail_hex.
    * -- Fill parameter
      lv_subject = 'Requested Report'."#EC NOTEXT
      lv_doc_desc = 'Report XXL'."#EC NOTEXT
    *  lv_mail_body = ?
      ls_atta-name = lv_doc_desc.
      ls_atta-extension = 'PDF'.
      ls_atta-content = p_pdf_x. <- This is your xstring
      APPEND ls_atta TO lt_atta.
      TRY.
          CALL METHOD cl_hrrcf_services_mail=>send_web_mail
            EXPORTING
              p_subject              = lv_subject
              p_receiver             = p_receiver->email_address
              pt_atta_hex            = lt_atta
              p_sender               = p_sender->email_address
              p_body_c               = lv_mail_body.
        CATCH cx_hrrcf.
      ENDTRY.
    I hope that you have the above mentioned class in your system but it should work with other email functions as well.
    Regards
    Nicola

  • Redwood CPS job goes to status ERROR but job works completes ok in SAP

    Hi
    When I schedule a particular ABAP job to run in SAP from Redwood CPS it always completes with the Error status in CPS, but the job runs okay and ends in the Finished status in SAP.
    I tried a different ABAP job and this ran okay, with the CPS status going to Completed.
    I had a look at the CPS log files for the Erroring job and there were no errors in the 'log' file but in the 'step1/spool1' file there is the line 'Processing completed with errors'. Is CPS doing a little more than SAP as regards checking job statuses and looking in the spool file for errors?
    Checked the operator messages and all it says is:
    Job 1501323 (submitted from ZGB_FI_KO8G_SETTLEMENT copy from 2009/08/24 15:34:54,250 Europe/London)) has aborted due to at least one error while running the jobs in step: Job 1501324 (submitted from ZGB_FI_KO8G_SETTLEMENT copy from 2009/08/24 15:34:54,250 Europe/London))
    - doesn't elaborate why the job has status Error.
    Is this saying the CPS part had an error or the ABAP part??
    Ross

    Hi Anton
    I checked the Return Code Mapping for this system and it is empty. No post running action or a trigger has been configured.
    The first time I was having the error was after setting up a 2 step job chain. When I got the error (and the second step didn't run) I then submitted this first simple step from the job definition SAP_AbapRun in case there was an issue with the way I'd configured the chain; it still errorred though. All I am specifying is the ABAP program name, SAP job name, variant and queue to run on, and it does run okay in SAP.
    When you say "The actual error should be available in the logfile of the SAP job itself" do you mean the joblog as viewing in SM37? There are no errors in there.
    I'll have a play with the Return Code Mapping part as if CPS does search the spool for errors (perhaps by default?) and sets the status to error in CPS, I don't want it to stop the chain - although I guess I can always set the post action of step 1 to 'on error' 'continue'...
    Cheers
    Ross

  • Triggering of alert by email or message after completion of background job

    Hi,
    Can any let me know if there is a scope for creating and alert by Email or by Message on completion of a Background job?
    - if yes please let me know the procedure.
    Satish.

    Read,
    http://help.sap.com/saphelp_nw04s/helpdata/en/9a/4a813b680c250fe10000000a114084/frameset.htm
    That should answer your question.
    Regards
    Juan

Maybe you are looking for

  • My iMac won't detect an external display

    I'm using a mini display-port to hdmi lead and it worked once. I unplugged the hdmi cable when it was still connected to the mac and now it wont find it. Please can anyone help? Thank you in a advance

  • Core center readings VS. Bios readings ?

    Hi there, I am getting a core centre alarm saying my +12V is at 1.74V only! The wierd thing is when i cehcked the bios system health tab all reading were ok for both +12 and -12. What is the correct reading? the Core centre one or the bios? See my si

  • PS CC 2014 stopped to respect the setting to preserve embedded color profile, why?

    My normal workspace is Prophoto RGB. I, however, has a large number of tiff files (dias'es scanned with a Nikon scanner) with the color space sRGB. Up till recently I had no problems - all the files kept their embedded color profile when opened in PS

  • I want a calendar that will sync automatically between iphone and ipad?

    I have an iphone 4 and have purchased several calendars which I use all the time.  However, I would like to purchase a calendar that would sync between the iphone 4 and ipad 2.  Is there such a product?  Thanks.

  • Myriad Pro font with Dreamweaver 8

    Hello ! Im making a web site, all the text are in myriad pro font...It looks realy nice in web browser on mac, but not on widows machines because there is no font like myriad pro, and for default it uses arial font. Is any chance to join html with my