Sending mail to the partner when the quotation is created in va21

i need to send the email to the partner when the quotation is created(va21) or changred(va22) with smart form. plese advice how can i achive this..
thanks,

Hi,
You can send by using the function module : SO_NEW_DOCUMENT_ATT_SEND_API1 . for that RSWNSENDMAIL1 is a sample program for sending mails.
Then for your requirement, find the appropriate exit/badi and put the mail send code inside that.
Regards,
Renjith Michael.

Similar Messages

  • Send Mail alert to customer when billing document is created

    Hi experts,
    My requirement is to send email alert to customers when billing document is saved.( in transaction VF01 ).
    I don't want to send any pdf format. I just want to intimate customer that the invoice is created.
    Searched forum and tried all possible ways. Please send the steps to configure the same.
    Request your valuable suggestions in this regard ASAP.
    Thanks in Advance.
    Regards,
    Farha.

    Hi,
    It is also similar to sending the PDF document through email.
    But in your case, it becomes easy. The program should take only the invoice number and send the invoice number through email to the desired email address.
    You have to configure the output type as normal as any other email output type.
    The logic has to be defined in the program.
    So there is no difference at the functional consultant level, the technical consultant should accordingly write the code to just send the invoice number.

  • TS3899 How do I change the address that my iphone sends when i send mail.  I have deleted the account but it still shows up as the account that will be replyed to if people hit reply.

    How do I change the address that my iphone sends when i send mail.  I have deleted the account but it still shows up as the account that will be replyed to if people hit reply.

    Hey There I didn't need to change it as it shows my correct name in my icloud account. The problem is on my Mac where it still shows my Full name as my partners name.
    For eg. if I send an email from "Mail" on mac and I use my icloud account then the name that shows up is my partners name when the email is received. If I send an email from the Icloud Mail box that I log into on my browser then the name that shows up when the email is received is my name which is correct.
    When I go into preferences in "Mail" on my Mac to change my name, the name is ghosted out and doesn't allow me to change it ! ? It is here that it still show my partners name ?

  • Error in sending mail 2nd time, Where is the fault- Help Please

    Hi friends,
    I had written a program to send mail. Everything is fine, when i send first time. But if I try to send mail 2nd time, It gives the error:
    Exception in Connect: IOException while sending message
    Here is the complete code what i had written, It successfully connects using t.connect();
    the problem in t.send();
    output on JBoss Console is :
    Inside Action
    After Transport t = session.getTransport(protocol)
    before t.connect()
    after t.connect()
    Exception in Connect IOException while sending message
    import java.io.*;
    import java.util.*;
    import javax.activation.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.servlet.http.*;
    import org.apache.struts.action.*;
    public class MsgSend extends Action {
         @Override
         public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request
                   , HttpServletResponse response) throws Exception {
              response.setContentType("text/xml");
              PrintWriter out = response.getWriter();
              System.out.println("Inside Action");
                String to = request.getParameter("to");
             String bcc = request.getParameter("bcc");
             String cc = request.getParameter("cc");
             String subject = request.getParameter("sub");
             String user = request.getParameter("user");
             //String password = request.getParameter("pass");
             String message = request.getParameter("message");
             String from = user + "@domainname.com" ;
             /*Properties props = System.getProperties();
             props.put("mail.smtp.host", "smtp.vsginc.com");
              MailBean  bean = MailBean.getInstance();          
              Session session = bean.getSession();          
              String protocol = "smtp";
              Transport t = session.getTransport(protocol);
              System.out.println("After Transport t =              session.getTransport(protocol)");
             MimeMessage msg = new MimeMessage(session);
             msg.setFrom(new InternetAddress(from));
             InternetAddress[] address = {new InternetAddress(to)};
             msg.setRecipients(Message.RecipientType.TO, address);
             if(cc != null ){
                   InternetAddress ccAddr[]  = InternetAddress.parse(cc);
                   msg.setRecipients(Message.RecipientType.CC, ccAddr);
              if(bcc != null){
                   InternetAddress bccAddr[] = InternetAddress.parse(bcc);
                   msg.setRecipients(Message.RecipientType.BCC,bccAddr);
             msg.setSubject(subject);
             // create and fill the first message part
             MimeBodyPart messageBodyPart = new MimeBodyPart();
             messageBodyPart.setText(message);
             Multipart multipart = new MimeMultipart();
             multipart.addBodyPart(messageBodyPart);
             Attachment attachment = Attachment.getInstance();
             ArrayList<String> fileList = attachment.getFileNames();
             String parentFolder = null;
             for(String path:fileList){
                  File attachmentFile = new File(path);
                  messageBodyPart = new MimeBodyPart();
                  DataSource source = new FileDataSource(attachmentFile);
                  messageBodyPart.setDataHandler(new DataHandler(source));
                  messageBodyPart.setFileName(attachmentFile.getName());
                  multipart.addBodyPart(messageBodyPart);
                  parentFolder = attachmentFile.getParent();
             // add the Multipart to the message
             msg.setContent(multipart);
             // set the Date: header
             msg.setSentDate(new Date());        
             try {
                  System.out.println("before t.connect()");
                   t.connect(bean.getSmtpServer(),bean.getUsername() ,bean.getPassword());
                   System.out.println("after t.connect()");
                   //Error is coming here in this Line.
                   t.sendMessage(msg, msg.getAllRecipients());
                   * System.gc(); will relese the fileHandles, if some resource
                   * still holds it.               
                   System.out.println("before System.gc()");
                   System.gc();
                   * Deleting All the Files from Attachment Folders.
                  System.out.println("before attachmentFolder");
                  File attachmentFolder = new File(parentFolder);
                  System.out.println("Attachment Folder Name is : "+attachmentFolder.getAbsolutePath());
                  if(attachmentFolder.isDirectory()){
                       File[] files = attachmentFolder.listFiles();
                       System.out.println("No of Files For Attachments are: "+files.length);
                       boolean deleteResult = false;
                       for(int i=0; i<files.length; i++ ){
                            deleteResult = files.delete();
                        System.out.println(files[i].getName() + " Delete Staus is :"+ deleteResult);
              System.out.println("All attachments Deleted");
              out.print("<result>Mail has been sent successfully</result>");
              } catch (Exception e) {
                   out.print("<result>Mail sending failed</result>");
                   System.out.println("Exception in Connect "+e.getMessage());
              }finally{
                   t.close();               
              return null;
    Problem only comes, when i send 2nd time or more. What is the problem? Please help me out.
    Thanks for your response in advance. One more thing, Whether to send a mail & receive a mail, we need to create different sessions. one for sending & one for receiving mails.
    Message was edited by:
    Ashish.Mishra16

    I don't see anything obviously wrong in your code. Try adding
    session.setDebug(true);
    You can use the same Session for sending and for reading.
    A Session just encapsulates your configuration parameters,
    so as long as they're the same for both usages, one Session
    is fine.

  • Can not send mail from PR Workflow to the approver

    Dear all,
    I have issues about send mail from PR Workflow to the approver.
    Now when user create PR and the corresponding user can receive the workflow items in SBWP.
    But no email from the user to approver.
    If I assign authorization SAP_ALL to the user that create PR. The approver can recieve the workflow item PR in SBWP and email to their mail
    Can you tell me about the authorization that can allow the user to send the workflow item PR in SBWP and email to the approver?
    Now user can send mail to external and internal mail and I also configured the mail server in SCOT and can successfully send a mail to users in SO01 by manually creating a message.
    Now the approver not receive any email but can receive a workflow item in SBWP
    Regards,
    Pannee

    Dear all,
    Thank you for all suppport, Now I can solve issues.
    Regards,
    Pannee

  • I am creating a form on LiveCycle Designer and I am trying to create a form that has a e-mail submit button.  When the butten is utilized it attaches the form to the e-mail in an plain text .xml format rather than the pdf format.  Is there a quick fix?

    I am creating a form on LiveCycle Designer and I am trying to create a form that has a e-mail submit button.  When the button is utilized it attaches the form to the e-mail in an plain text .xml format rather than the pdf format.  Is there a quick fix?

    Hi,
    You have the choice between xml or pdf, in later versions of designer you can choose with a dropdown on the email button Object palette, the "Submit As";
    In earlier version you had to edit the XML Source and change the format from xml to pdf (or vice-versa);
    Regards
    Bruce

  • [Forum FAQ] How do I send an email to users when the data in the report have been changed in Reporting Services?

    Introduction
    There is a scenario that the data in the report changes infrequently, so the users want to be informed and get the most updated data once the data changes. By default, report server always run the report with the most recent data. Is there a way that we
    can subscribe the report, so that we can send an email to users when the data in the report has been changed?
    Solution
    To achieve this requirement, we can create a subscription for the report, then create a trigger in the table which including the report data. When this table has data insert, update or delete, it will be triggered and execute the subscription to send email
    to users.
    In the Report Manager, create a subscription for the report and make it only execute one time.
    When we create a subscription, a corresponding SQL Agent job will be created. Then we can use the query below to find out the job based on ScheduleId:
    -- List all SSRS subscriptions
    USE [ReportServer];  -- You may change the database name.
    GO 
    SELECT USR.UserName AS SubscriptionOwner
          ,SUB.ModifiedDate
          ,SUB.[Description]
          ,SUB.EventType
          ,SUB.DeliveryExtension
          ,SUB.LastStatus
          ,SUB.LastRunTime
          ,SCH.NextRunTime
          ,SCH.Name AS ScheduleName   
              ,RS.ScheduleId
          ,CAT.[Path] AS ReportPath
          ,CAT.[Description] AS ReportDescription
    FROM dbo.Subscriptions AS SUB
         INNER JOIN dbo.Users AS USR
             ON SUB.OwnerID = USR.UserID
         INNER JOIN dbo.[Catalog] AS CAT
             ON SUB.Report_OID = CAT.ItemID
         INNER JOIN dbo.ReportSchedule AS RS
             ON SUB.Report_OID = RS.ReportID
                AND SUB.SubscriptionID = RS.SubscriptionID
         INNER JOIN dbo.Schedule AS SCH
             ON RS.ScheduleID = SCH.ScheduleID
    ORDER BY USR.UserName
             ,SUB.ModifiedDate ;
    Create a trigger in the table which including the report data.
    CREATE TRIGGER reminder
    ON test.dbo.users
    AFTER INSERT, UPDATE, DELETE
    AS
    exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
    Please note that the command ‘exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'’ is coming from the job properties. We can go to SQL Server Agent Jobs, right-click the corresponding job to open
    the Steps, copy the step command, and then paste it to the query.
    Then when the user table has data insert, update or delete, the trigger will be triggered and execute the subscription to send email to users.
    References:
    Subscriptions and Delivery (Reporting Services)
    Internal Working of SSRS Subscriptions
    SQL Server Agent
    Applies to:
    Reporting Services 2005
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Thanks,
    Is this a supported scenario, or does it use unsupported features?
    For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
    in a supported way?
    Thanks! Josh

  • Windows live mail having problum after joining in domain examples incoming is good but sent or outgoing is not there and also send mails are not exporting at the time of live mail exporting time?

    windows live mail having problem after joining in domain examples incoming is good but sent or outgoing is not there and also send mails are not exporting at the time of live mail exporting time?

    This is not usually related to AD issues, but it may be more of a DNS issue. I posted a request in your other thread to post an unedited ipconfig /all of the DC and of the client.
    This may help use diagnose this issue and your other thread's printer issues.
    Thank you,
    Ace Fekay
    MVP, MCT, MCSE 2012, MCITP EA & MCTS Windows 2008/R2, Exchange 2013, 2010 EA & 2007, MCSE & MCSA 2003/2000, MCSA Messaging 2003
    Microsoft Certified Trainer
    Microsoft MVP - Directory Services
    Complete List of Technical Blogs: http://www.delawarecountycomputerconsulting.com/technicalblogs.php
    This posting is provided AS-IS with no warranties or guarantees and confers no rights.

  • HT1414 Why do I get 'This message has no content' with some e-mails on my iPad when the same messages can be received on my MacBook Pro without any problem, and how can I fix it?

    Why do I get - 'This message has no content' - with some e-mails on my iPad when the same messages can be received on my Mac Book Pro without any problem and how can I fix it?

    Is this a POP (POP3) email account?  If so, you MacBook Pro may be retrieving the email and deleting it off the server before your phone can.  Another possibility is that both your Mac and your phone are trying to retrieving it at the same time, and the POP server, which will only allow a single email client connection at a time, is locking out your phone resulting in the "has not been downloaded from the server" error.

  • In my ipad email address which I am using for sending mail is appearing differently in the receipents mail box ! how to resolve that

    in my ipad email address which I am using for sending mail is appearing differently in the receipents mail box ! how to resolve that

    while sending a email in my ipad it is showing the correct email address([email protected]) in the ""from"" field but in receipients inbox ""from"" field it is showing another email id ([email protected])

  • It seems I cannot send imessage from the ipad when the mac is turned off. I have recently upgraded the mac to 10.8.4

    It seems I cannot send imessage from the ipad when the mac is turned off! I have recently upgraded the mac to 10.8.4.
    Many thanks in advance for your help.

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • Trigger mail(sending mail to respective person)when budget is release in PS

    Dear Sir,
    I want to trigger mail ( sending mail to respective person ) when budget is release in PS.
    Please help for following :
    Option 1 : User exit
    Option 2: Workflow.
    Regards
    Vinu

    Hi Vinod,
    You can acheive this using a Workflow. What you need to do is set an user status as Rbud-release budget, and when ever you project is set to this status a workflow will trigger to the concerned aggest assigned to workflow task. Here you can provide a user decision as 1. Approve 2. Reject. When ever workflow triggers, approver can see in his inbox the project budget in Cj30 by clicking object link to cj30 and if he feels it is ok then he can click Approve button this will take him to CJ32 screen where he can release the budget. IF the user feels Budget need to be revised then he will click reject this will send an email to the person responsible to revise the budget and at the same time user status will be reset back to previous user status.
    The above  method we have adapted for one of our client. This is done by a workflow consultant.
    Thanks
    regards
    kishore

  • On the iPhone, when the server rejects the email address and it sits in the outbox, why doesn't it automatically resend when the server is fixed?

    On the iPhone, when the server rejects the email address and it sits in the outbox, why doesn't it automatically resend when the server is fixed?

    Hi Razmee,
    Thanks for your response.
    The mail server worked when I originally set it up and continued to work for months afterwards.
    What would make the outgoing mail server not be set up correctly after all that time?
    Thanks again.

  • To set an error while saving the order when the item categor changed in CRM

    Hello SAP Gurus,
    As per our current system set up, whenever the order created in CRM once replicated to ERP should not change the item category in CRM .If the item category is changed( allows the system) and saved, it gives an error as u201CItem category should not be changedu201D. We have been encountering  this type of issue since long back
    To avoid this type of issue, an error should through while saving the order when the user changes the item category in CRM.
    Can someone help me to achieve this.
    Thanks in advance.
    Cheers
    Sreedhar

    Sreedhar,
    Can't you control it by Item Category determination?
    JD

  • Hello, the 'Save As' dialog box used to allow the backspace button to go up one level in the directory when the focus is in the folder contents box but it does not work any more, please help.

    Hello, the 'Save As' dialog box used to allow the backspace button to go up one level in the directory when the focus is in the folder contents box but it does not work any more, please help. BTW the same 'Save As' dialog in other applications still allow the backspace button to go up one level in the directory.

    cor-el,
    I kept forgetting and procrastinating about following your instructions, since I have internet access only for limited amounts of time and usually I am busy with important tasks when I am.
    Out of the blue, the problem corrected itself (the Save As box started to open full screen, then shrunk down to a normal size and the edges can now be dragged to a custom size).
    Even the copy and paste problem in the filenaming area seems to have been less troublesome lately even though there have been no updates to Firefox in a few weeks.
    Even though I marked the solution as not helpful, the problem has in fact been resolved. I will save the solution instructions in case the issue returns.

Maybe you are looking for

  • Date issue when downloading ....

    My Requirement is to display date in Text format  like 02-21-2009 in March 21 , 2009 I have done it sucesfully through the FM CONVERSION_EXIT_LDATE_OUTPUT which  it is sucesfully displaying as March 21 , 2009 but issue coming while downloading !! I a

  • Captivate 5.5 output to iPad

    I am using Captivate 5.5 and have created an eLearning module. I would like to know if there is an easy way to get the output file to play on an iPad. I have looked at the videos explaining how to get a developer account with Apple and convert the .x

  • I have a IMac and I want to email a video and it says its to big can i shrink it?

    how to send a email that is to big how to reduce it

  • Would like to change home page to google

    Each time I attempt to change my home page from bing to google, I'm either told server cannot be found, or it returns to bing.

  • Add aspx page to Page Library / U

    I am using SPO-D. I have a need where I have to accept user input and without persisting in SharePoint, pass the information to a web service. Curious which of the following solution options are supported and which is recommended.  1) With Server Sid