How to generate Automated Email?

Dear Experts,
  I am looking to send email to authorizers, when ever a PO is generated. What query should be entered in Alert to get the desired result. Please guide.
Faisal

Dear Faisal,
The applicable query for your goal is:
SELECT T0.DocNum,T0.CardCode,T0.CardName, T0.DocTotal
FROM OPOR T0
WHERE DateDiff(dd,T0.DocDate,GetDate())=0
Thanks,
Gordon

Similar Messages

  • How to generate an email on a database event?

    Dear gurus...I've heard about diferent ways of generating email in response to a database event e.g
    1 - Using UTL_MAIL package
    or
    2 - Event Driven Reporting feature of 10g Database and using SRW.Run_Report package to generate and mail a report.
    Now I'm confused that how should I accomplish the following tasks:
    (i) - How to generate an email after Insert/Update/Delete on a table and acknowledge the concerned users about that event?
    (ii) - How to attach a text file with that email?

    Dear Ivan...I've tried both UTL_SMTP and UTL_MAIL, UTL_SMTP is working well and sending mails but following code of UTL_MAIL is giving the error which I can't guess, why?
    DECLARE
    CRLF CHAR(2) := CHR(10) || CHR(13);
    BEGIN
    UTL_MAIL.SEND(sender => '[email protected]',
    recipients => '[email protected]',
    cc => NULL,
    bcc => NULL,
    subject => 'Test Email',
    message => 'Test line1' || CRLF || CRLF || 'Test line2',
    mime_type => 'text/plain; charset=us-ascii',
    priority => 1);
    END;
    and the error is:
    ORA-29279: SMTP permanent error: 554 Message is not RFC compliant
    ORA-06512: at "SYS.UTL_SMTP", line 20
    ORA-06512: at "SYS.UTL_SMTP", line 98
    ORA-06512: at "SYS.UTL_SMTP", line 345
    ORA-06512: at "SYS.UTL_MAIL", line 577
    ORA-06512: at "SYS.UTL_MAIL", line 594
    ORA-06512: at line 4
    could u guess why this error is generating???
    P.S...I'm using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production on MS-Windows Server-2003.

  • How to generate automatically email to SAP user and Non SAP User

    Dear Expert,
    My client want a report on each Monday on  sales/purchase detail of his/her particular  email ID which is automatically generated from SAP DB.
    Some are SAP user that we can do it by alert message but for some who are not SAP user how to send them a email ?
    Can we do in SAP B1 ?
    even i try with Outlook but I am not getting.
    *please give me answer in detail
    Thanks
    Kevin

    any update ?
    I have create a query and a common output is share to all user, is it possible to group the output and share to particular user ?
    Our client req. is particular sales man should get evry monday morning his outstanding amount from client ?
    My query give the entire all sales Outstanding and send to all user all detail....i want to filter A user should only get detail A outstanding ?
    Thanks
    Kevin

  • How do we send automated emails

    I am creating a program which needs to send an automated email to a user along with his/her password.
    Is there an example code i can have a look at to help me create this sort of program that generated an automated email?

    Firefox doesn't do email, it's a web browser.
    If you are using Firefox to access your mail, you are using "web-mail". You need to seek support from your service provider or a forum for that service.
    If your problem is with Mozilla Thunderbird, see this forum for support.
    [http://www.mozillamessaging.com/en-US/support/] <br />
    or this one <br />
    [http://forums.mozillazine.org/viewforum.php?f=39]

  • How to send the ALV report output by automated email.

    Hi All,
    Can any one advice how to send ALV report output by automated email.
    Thanks in advance.
    Vikram.
    Edited by: vikram mallavaram. on Oct 13, 2011 3:26 PM
    Moderator message: FAQ, please search for previous discussions of this topic.
    Edited by: Thomas Zloch on Oct 13, 2011 3:27 PM

    Hi Ramya,
    Check the links below :
    http://wiki.sdn.sap.com/wiki/display/Snippets/Sending+Mail
    http://wiki.sdn.sap.com/wiki/display/Snippets/AbapEMAILProgram
    http://wiki.sdn.sap.com/wiki/display/ABAP/SendMessagetoExternalemailidandSAPUseridvia+ABAP
    They will explain you to send an email.
    Regards,
    Kittu

  • How to generate payment advice in F110 and send it to Vendors Via Email

    Dear SAP Experts
    Could anybody tell me how to generate payment advice in F110 and send it to Vendors Via Email?
    It would be much appreciated if someone can provide the configuration procedure, thanks so much in advance.
    Cheers & Best Regards
    Ray

    Hi Sama,
    Thanks for your post, here I just share some of my idea.
    The following step is to configure the payment advice.
    In OBVU (payment methods in cpy code) I entered my payment advice form
    In OBVU (payment methods in cpy code)  set  "Always pyt advice"
    In OBVCU (payment method by country)  leave the payment medium program (RFFOD__T)
    For the email sending program, should develp some customized program to realize that, Thanks.
    Cheers & Best Regards
    Ray

  • How to generate emails using Chinese Characters with the Iphone 4s?

    Hi,
    I just got my Apple IPhone for the first time. Anyone knows how to compose an email in Chinese
    using the IPhone? -Arthur

    ChrisJ4203 wrote:
    You will need to download the Chinese keyboard.
    You can't download keyboards for an iPhone.  You have to use the ones already present, which include a number for Chinese, as listed in the tech specs.
    http://www.apple.com/iphone/specs.html

  • How to send an automated email notification after dataloads complete.

    Please search the forums before posting
    Hi ,
    Hoq can we send an automated email notification once the daily data loads are complete.
    All the data loads are done through PC and after these got complete daily we need to send an automated e mail saying the loads are completed.
    Request your replies.
    Edited by: Arun Varadarajan on Mar 10, 2009 9:22 AM

    Hi,
    check this threads/links:
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/9bdd42cadf2878e10000000a155106/frameset.htm
    Process chains and Email alerts?
    process chain Email Notification
    E-mailing functionality on a process chain
    If you search SDN you will find much more...
    Regards
    Andreas

  • How to open Outlook, generate an email with Web Dynpro ABAP

    Hi Experts,
    I have to generate an email which must be open with MS Outlook.
    The body will be filled by values from the IView, then Outlook should be open and the email
    should be shown so that the user can change or add s.th. in the email.
    I tried it in a class with OLE2, but thats not possible with WD ABAP.
    Could anybody help me with that problem???

    To generate the  receipient name dynamically.
    You have to create an context attribute of type string and bind this attribute with reference property of linktourl.
    then create a local variable of type string. suppose name of the local variable is lv_mail.
    You will be having mail ID of the receipient  in any local variable suppoe in variable lv_mailid.
    Now use the following line.
    Concatenate 'mailto:' lv_mailid '?subject=<subject line>' into lv_mail.
    Now set your context attribute with the value lv_mailid.
    To generate there is one standard FM. Sorry I do not remember the name of that FM.

  • How can I generate auto Emails upon successful registration using jsp?

    Dear all, I have been researching on how to send auto-emails using JSP for several days but I still do not understand how to do it and how it works! I tried reading JavaMail but i do not understand it can anyone help me?
    Thank You very Much,

    The mail.jar & activation.jar are part of Tomcat 4.x and up
    Here is my simple example, you may want to make bean methods to get/properties so that you create an email like an object :-o
    Notice, I make the message body a StringBuffer, so you can append info as you see fit.
    Also assuming your SMTP server is the local machine, set that property to "localhost".
    I also use a boolean return so I know if the message sent otherwise display a message to the user (aka, please email support to confirm your registration, etc.)
    import java.util.Date;
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.net.InetAddress;
        private String to = "[email protected]";
        static private String from = "registered@localhost";
        private String subject = "Registered";
        private StringBuffer messageText = null;
        private Properties props = null;
        private Session sess = null;
        private InternetAddress toAddr = null;
        private InternetAddress fromAddr = null;
        public Email() {
            try{
                props = new Properties();
                props.put("mail.smtp.host","localhost");
                Session sess = Session.getDefaultInstance(props,null);
                this.toAddr = new InternetAddress(to);
                this.fromAddr = new InternetAddress(from);
                this.messageText = new StringBuffer(new Date() + "\n\n");
            } catch (Exception e) {
                e.printStackTrace();
        public boolean sendMessage(){
         try{
                // Create the message object
                Message message = new MimeMessage(sess);
                message.setFrom(fromAddr);
                message.setRecipient(Message.RecipientType.TO, toAddr);
                message.setSubject(subject);
                message.setContent(messageText.toString(),"text/plain");
                // Send Message
                Transport.send(message);
                return true;
         }catch (Exception e){
                e.printStackTrace();
                return false;
        }

  • How can I allow automated emails

    I'm having trouble receiving automated emails that I want. I have added the sites to my safe list and my cookies are set to allow third party but I still don't seem to be receiving the emails I want. Any suggestions?

    Firefox doesn't do email, it's a web browser.
    If you are using Firefox to access your mail, you are using "web-mail". You need to seek support from your service provider or a forum for that service.
    If your problem is with Mozilla Thunderbird, see this forum for support.
    [http://www.mozillamessaging.com/en-US/support/] <br />
    or this one <br />
    [http://forums.mozillazine.org/viewforum.php?f=39]

  • Generate automation from Environment ?

    Is it possible to generation automation from within the Environment ?
    I've set up a rather extensive Environment for mapping MIDI footswitch commands into Logic, using cable switchers, transformers, and faders to bypass, mute, control faders, etc. This is for live use, so I need everything to happen in real-time.
    It's all working great, but I'd like to control a few things in plug-ins that aren't accessible via MIDI--in particular, the stomp box bypasses in Amplitube2.
    I could use controller assignments to perform these actions, but it wouldn't work well with the rest of my Environment, since I use cable switchers to route MIDI to different places--a controller assignment would intercept ALL messages from that controller, so I couldn't use the controller for other functions.
    The controls I need are easily accessible via automation--is there any way to use the Environment to generate automation data ? Maybe with SysEx or Meta events ? What I'd like to do is create a transformer that turns a controller message into an automation event that I can route into a particular object (Amplitube on an insert).
    Possible ?
    Thanks for any help!
    James
    [email protected]

    The other thing you could try is to record your
    MIDI-based "automation" and then use the Options >
    Automation function to convert region automation to
    track automation. See how that works.
    Cool! This worked. When I moved the controls in the plug-in, I didn't get any output from the fader, so I assumed there was no MIDI-like info related.
    But... as you suggested... I created track automation, converted to region automation, copied the data from the Event Editor, and pasted into an Environment fader as SysEx... bingo! Works great!
    That is, as long as I've got the Environment...
    Thanks, again, iS!
    James
    [email protected]

  • HT5621 Need help for security question. I forgot passwrd rescuee email. How to reset rescuee email?

    Need help for security question. I forgot passwrd rescuee email. How to reset rescuee email?

    How to reset your Apple ID security questions.
    Go to appleid.apple.com, click on the blue button that says 'Manage Your Apple ID'.
    Log in with your Apple ID and password. (If you have forgotten your Apple ID password, go to iforgot.apple.com first to reset your password with a password recovery email)
    Go to the Password & Security section on the left side, and click on the link underneath the security questions that says 'Forgot your answers? Send reset security info email to [email]'.  This will generate an automated e-mail that will allow you to reset your security questions.
    If that doesn't work, or  there is no rescue email link available, then click on 'Temporary Support PIN' that is in the bottom left side, and generate a 4-digit PIN for the Apple Account Security Advisor you will be contacting later.
    Next, go to https://getsupport.apple.com
    (If you see a message that says 'There are no products registered to this Apple ID, simply click on 'See all products and services')
    Choose 'More Products & Services', then 'Apple ID'.
    A new page will open.
    Choose 'Other Apple ID Topics', then 'Forgotten Apple ID Security Questions'.
    Click the blue 'Continue' button.
    Select the contact option that suits your needs best.

  • How to send an email with attachment using shareponit 2013

    Hi Team,
    I have a PowerView report in my PowerPivot gallery and I want to export it to a PDF file then email it to id. Also I need this to be scheduled. 
    Kindly suggest on the steps!
    Thanks in Advance!!
    Thanks,
    Arsath.

    Create a customcode to export the powerview report to powerpoint and then a small email script will do 
    http://office.microsoft.com/en-in/excel-help/export-a-report-from-power-view-in-sharepoint-to-powerpoint-HA102834765.aspx
    http://technet.microsoft.com/en-us/library/hh231522%28v=sql.110%29.aspx
    I could not find a way to do so but check below:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/fd9e90e2-ebc5-4dfb-9eaf-a263729b8ed2/how-to-generate-powerview-model-programmatically?forum=sqlreportingservices
    If this helped you resolve your issue, please mark it Answered

  • Creating automated email reminders to users every 2 weeks via Workflow 2010 Out of Box approach only

    Hi,
    I have been asked to automate the email reminders to users (every two weeks) from the SharePoint2010 solution.
    I am trying to achieve this via workflow ,but am unable to get the results.
    Req :
    Twice a month the users should get an automated email reminder for a specific task.
    1. On 14th (or last working day in mid month -1) of the month. ( a field "mid month end" captures the date as 15th of the month)
    2. On last working day - 1 of the month. ( a field "month end" captures the date as last day of the month)
    Please let me know how i can achieve this via Out of box functionality. I donot have exp with workflows so a detailed steps guidlines will be very helpfull.
    Regards,
    Guru

    Although you can start a workflow and then pause it for a number of days, I'd feel uncomfortable with that. If the farm crashes, who guarantees that the paused workflows will pick up where they were left off?
    SharePoint does no offer to run a workflow on all items in a list/library -- which I feel is a big draw back. 
    The good news is that there is a free 3rd party tool that can run a workflow on all (or specific) items in a list or library.  It's called the
    HarePoint Workflow Scheduler and I love it.
    You can create a view that shows the items that you want to run the workflow on.
    Or, if you know how to write CAML, you can feed the CAML Query right into the HarePoint Workflow Scheduler task. 
    At my company we have several sites in production that use the HarePoint Workflow Scheduler with a view. 
    So, first, create a SharePoint Designer workflow and define it to run manually.
    Then use the HarePoint workflow scheduler to define a schedule.
    You can define a schedule for the HarePoint tool, like every day, month, week, etc., by just clicking a few boxes. 
    Since this functionality does not come out of the box with SharePoint 2010, this free tool is a real gem. 
    cheers, teylyn

Maybe you are looking for