Sending an email to customer using VF02

Hi Experts
can anyone help me with the code sending an email to customer using TC:vf02.i already done with config .please help me.

Reddy,
Please search in SDN you will find lots of post pertaining to your issue.
Check this link you might get answers to your problem.
send email after save VA01
Cheers.

Similar Messages

  • I want to create a query to send auto email to customer while adding AR Invoice

    Hi
    Friends
    I want to create a query to send auto email to customer while adding AR Invoice in SAP Business One 8.82.
    using the following fields & Text like
    email ID from - BP Master
    ' Dear Sir '
    Invoice is generated on the name  ---  BPName
    Quantity                                     ---  22.5 Tones
    Invoice Value                              ---   85,000/-
    date & Time                               ---  12-07-2014 : 16:18
    Thanks & Regards
    XXXXXXXXXX
    Please tell me how to set this in SAP B1.
    Srinivas

    I want to to send email to customer automatically the current invoice details while adding AR Invoice in SAP Business One 8.82.
    using the following fields & Text like
    email ID from - BP Master
    ' Dear Sir '
    Invoice is generated on the name  ---  BPName
    Quantity                                     ---  22.5 Tones
    Invoice Value                              ---   85,000/-
    date & Time                               ---  12-07-2014 : 16:18
    Thanks & Regards
    XXXXXXXXXX
    Please tell me how to write query in stored procedure to send email automatically.
    Srinivas

  • How to Send an Email to Outlook using process type in RSPC?

    Hi,
    How to Send an Email to Outlook using process type in RSPC?
    We created lot of process variants, actually we want to send an mail to users if the DP Background job was succesfully finished.
    Actually i tried with create message its not happening...
    Plz let me know .. its urgent ...
    Regards,
    Satish

    Hello Satish,
    If you want to send a friendly message to your users, then you can do this by building an ABAP program that calls function module SO_NEW_DOCUMENT_SEND_API1 . You can then insert this ABAP program in your process chain (using the ABAP program process type) or as a second step in your background job. With this technique, you can send an email to SAP users, or to external users (e..g Outlook email addresses)
    Here's  a sample ABAP code:
      data: ls_docdata type SODOCCHGI1,
            lt_objcont type table of solisti1,
            lt_receivers type table of somlreci1,
            ls_objcont type solisti1,
            ls_receivers type somlreci1,
            ls_user type syuname.
    * Fill these variables with subject and msg lines that you need.
    data: MAIL_SUBJECT     TYPE STRING,
    MSG_LINE1     TYPE STRING,
    MSG_LINE2     TYPE STRING,
    MSG_LINE3     TYPE STRING,
    MSG_LINE4     TYPE STRING,
    MSG_LINE5     TYPE STRING.
      ls_docdata-obj_descr = mail_subject.
      ls_objcont-line = msg_line1.
      append ls_objcont to lt_objcont.
      ls_objcont-line = msg_line2.
      append ls_objcont to lt_objcont.
      ls_objcont-line = msg_line3.
      append ls_objcont to lt_objcont.
      ls_objcont-line = msg_line4.
      append ls_objcont to lt_objcont.
      ls_objcont-line = msg_line5.
      append ls_objcont to lt_objcont.
    * t_userlist contains the list of users to whom th email will be sent.
      loop at t_userlist into ls_user.
        ls_receivers-receiver = ls_user.
    "Change the type  here if email is for outlook users, See documentation
    " of function module in SE37
        ls_receivers-rec_type = 'B'.            
        ls_receivers-express = 'X'.
        append ls_receivers to lt_receivers.
      endloop.
      CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
        EXPORTING
          document_data                   = ls_docdata
        tables
         OBJECT_CONTENT                   = lt_objcont
         receivers                        = lt_receivers
       EXCEPTIONS
         TOO_MANY_RECEIVERS               = 1
         DOCUMENT_NOT_SENT                = 2
         DOCUMENT_TYPE_NOT_EXIST          = 3
         OPERATION_NO_AUTHORIZATION       = 4
         PARAMETER_ERROR                  = 5
         X_ERROR                          = 6
         ENQUEUE_ERROR                    = 7
         OTHERS                           = 8
    You can test out the function module first in SE37 (just put the name of the FM and click execute). Testing it in SE37 will help you get your parameters right.
    Hope this helps.

  • When I send an email the box use to be smaller. Now it is much bigger. What did I touch?

    When I send an email, the box use to be much small, like 4" X 6", but now it takes up the entire screen. How can I get it to go back to the smaller scree?. What did I accidentally touch?

    If you are in full screen mode you can exit. Double arrows in upper right corner,
    or the shortcut keys control command F

  • Issue in sending a email internet address using 'so_new_document_send_api1'

    Hi ,
        I am calling  'SO_NEW_DOCUMENT_SEND_API1' inside an user exit to send an email whenever the notification gets created..If the user exit is called in the same transaction IW21 then the mail is sending successfully.But if the transaction IW21 is called via another transaction say IW31 or IW32 to create a notification,then the mail is not going.instead the mail still in waitning stage in Outbox in SAP business work place.
    Note:I should not use commit as 'X in 'SO_NEW_DOCUMENT_SEND_API1' because it is written inside the user exit.
    Edited by: Vigneswaran S on Dec 24, 2009 10:17 AM

    Hi,
    One option is to call the FM using STARTING NEW TASK and then also use commit = 'X'.
    Since we are using NEW TASK, it will occur in new task (and will not affect the user exit).
    Also the commit will be done INSIDE the new task, and will not affect the current user exit. This will be independent and done paralelly.
    Regards,
    Amit Mittal.

  • How to send BULK email into INBOX using ASP

    Dear Gurus,
    I am using GOMAIL to send newsletter to 2000 of my subscribed
    users. but no
    one is getting their emai intheir inbox
    Only users other than yahoo,hotmail,rediff,gmail are getting
    in their inbox
    I want to know how can I make sure that users who has hotmail
    and yahoo
    accounts also get my newsletter into their inbox cos
    currently it goes to
    their JUNK email or bulk email folder.
    I know lots of companies who send newsletter to my HOTMAIL
    inbox.
    Please suggest as this is very important

    You can send email from javascript in an content editor web part or HTML Form webpart  (if someone is doing this interactively in the browser AND they have an email client installed) by changing the current page ref to a mailto: reference.
    location.href="mailto:"+emailTo+emailSub+emailBody;
    var emailSub = "?subject=xxxxx";
    var emailBody = "&body=xxxxx";
    That will pop up an email window. Build up the emailTo by using Javascript/JQuery to pick up selected people on the page, or all rows on the page, or use something like SPServices or web service calls to pick up all items in a specific view. Depends totally
    on how you want the UI to work. Not sure I'd do this on an external facing SP site since you wouldn't want any emails addresses in the clear to harvest, but inside a company intranet should be fine.
    For example, you could read all records in the Supervisors view, build up the emailTo var with the correct addresses or names that your email client needs, then set location.href to the correct mailto: link.
    Robin

  • Suddenly won't let me send/answer emails. I use AOL

    Keep getting a message "Cannot send message using server AOL - The sender address was rejected from the list below or Try Later to leave message in your Outbox until it can be sent".
    Don't know what to do to be able to send/ answer mail as I am a Senior & not tech savy.
    Had no problem before I hooked up a new monitor.

    The Password rejection can confuse people since it's a catch all meaning...
    This Password, Username, Authentication method... is not recognized on this Port to this Server.
    If WebMail works in a browser, it's not Name or Password, but one of the other ones.
    Try this in a Browser...
    https://my.screenname.aol.com/_cqr/login/login.psp
    Or Keychain has more than 2 entries for that account one incoming, one outgoing.
    The receiving email ports are:
    IMAP is port 143
    IMAP-SSL is port 993
    POP is port 110
    POP-SSL is port 995
    Outgoing ports are...
    SMTP and SMTP-SSL is on ports 25, 587 and 465. Port 587 has to be SSL, and port 465 is enforced TLS-wrapped and is generally used by Outlook users.

  • How do I send an email to customer support re consolidation of user names

    I wish to consolidate user names as I have had to delete one address I used some time ago

    Do you mean the email code to download Mountain Lion for free?
    Report the issue to Apple using the email form here  Apple - Support - Mac App Store - Contact Support

  • Sending an email to customer care - can you please send me the contact email.....

    I really want to email Ketan - but his phone message to me is a little difficult to deciper his email address from (ke???[email protected]) -   can Adobe please help????

    You aren't addressing Apple. As explained in the forum Terms of Use you agreed to when you joined, this is strictly a user-to-user tech support site. Apple doesn't participate or respond here.

  • 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

  • I would like to send an email to customer service

    Duplicate post - please see:
    https://community.verizonwireless.com/thread/823587
    Message was edited by: Admin Moderator

    Hi, Fredstrong3,
    No need to circle back here to the Community; continue past this step. 
    You will need to proceed through each step, one at a time. Sign on to the Skype website as requested.
    Choose the subject and topic which most closely matches the item you need assistance with. Then, continue past Step 2 of the instruction where several articles from the FAQ library will appear for you to review, and
    Proceed to Step 3, Continue Support Request (the blue "button" appears at the lower right corner of the website page).
    You may also skip through Step 4 where you will be referred back here to the Community; no need to do this as the Community is where you started.
    When you complete the webform and click Submit, your information is relayed to Skype and you will receive a reply via e-mail. If you are a Skype Premium or other eligible customer, you will be routed to start an instant message chat session with a Customer Service agent.
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • Is it possible to send HTML Email through Flash using navigateToURL()

    Hey,
    I was trying to pass html content to the email body, but looks like it is not doing that.
    var request:URLRequest = new URLRequest('mailto:');
                var variables:URLVariables = new URLVariables();
                variables.subject ="Subject";
                variables.body = '<b>hello</b>';
                request.data = variables;
                request.method = URLRequestMethod.GET;
               request.contentType = "text/html";
                navigateToURL(request, "_self");
    current output inthe email:   <b>hello</b>
    Expected result : hello
    Please let me know if anybody knows the solution
    Note: I even tried these but didn't work.
    variables.body = encodeURIComponent('<b>hello</b>');

    is there any other object or an alternative solution available in Flex or AIR to do this from client side. my goal is, open the system default email client and pass the html content to it's body.

  • Send Dunning Letter to Customer thorugh Email ID

    Hi anybody,
       Please explain to me how to send dunning letters into customer using Customers Mail IDs . My users asked to me once do Dunning letter F150  all customers dunning letter send corresponding customer mail address.
    How do I setup in SAP send mail to customer. Please explain steps of send mail to customer.
    I will appreciate goods answers to me.
    Thanks
    Regards,
    S.Muthu

    Sending dunning letters by email
    Hope this thread is useful.
    Regards,
    Ravi

  • How to send SD Invioce by email to customer?

    Hello friends,
    Since every day we need to spend 4 hours to collect invoice(SD) and send it by outlook manually, lot of time is wasted.
    Requirement: when invoice (SD) is processing, or when invoice is saved, the invoice is converted to a pdf file and send it to the creater automaticlly, then the creater can edit and review the email, then creater sends the email to customer.
    Could you please give me some suggestion or solution?
    Thank you very much.
    If really helpful, lots points will be given. Thanks again.

    just take this example code and try to understand the scenario of converting the otf to pdf and then attaching the document in pdf format .
    REPORT zmail2 LINE-SIZE 250 LINE-COUNT 250 .
    TABLES : vbap.
    SELECT-OPTIONS: s_vbeln FOR vbap-vbeln.
    DATA : BEGIN OF itab_data OCCURS 1,
           vbeln LIKE vbap-vbeln,
           posnr LIKE vbap-posnr,
           matnr LIKE vbap-matnr,
           END OF itab_data.
    DATA : v_date LIKE sy-datum.
    DATA: tlines type i,
          len_in like SOOD-OBJLEN,
          len_out like SOOD-OBJLEN.
    SELECT vbeln posnr matnr
           FROM vbap
           INTO TABLE itab_data
           WHERE vbeln IN s_vbeln.
    PERFORM send_mail.
    *       FORM SEND_MAIL                                                *
    FORM send_mail.
      DATA: objpack   LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
      DATA: objhead   LIKE solisti1 OCCURS 1 WITH HEADER LINE.
      DATA: objbin    LIKE solisti1 OCCURS 10 WITH HEADER LINE.
      DATA: objbin2    LIKE solisti1 OCCURS 10 WITH HEADER LINE.
      DATA: objtxt    LIKE solisti1 OCCURS 10 WITH HEADER LINE.
      DATA: reclist   LIKE somlreci1 OCCURS 5 WITH HEADER LINE.
      DATA: doc_chng  LIKE sodocchgi1.
      DATA: tab_lines LIKE sy-tabix.
    * Creation of the document to be sent
    * File Name
      doc_chng-obj_name = 'MAIL'.
    * Mail Subject
      doc_chng-obj_descr = 'Mail Has Been Delivered'.
    * Mail Contents
      objtxt = 'Check the orders along with the material numbers'.
      APPEND objtxt.
      DESCRIBE TABLE objtxt LINES tab_lines.
      READ TABLE objtxt INDEX tab_lines.
      doc_chng-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
    * Creation of the entry for the compressed document
      CLEAR objpack-transf_bin.
      objpack-head_start = 1.
      objpack-head_num = 0.
      objpack-body_start = 1.
      objpack-body_num = tab_lines.
    *  objpack-doc_type = 'XLS'.
      objpack-doc_type = 'PDF'.
      APPEND objpack.
    * Creation of the document attachment
      LOOP AT itab_data.
      move itab_data-vbeln to objbin .
      move itab_data-posnr to objbin+18 .
      move itab_data-matnr to objbin+40.
      append objbin.
      clear objbin.
      ENDLOOP.
    *CONVERT the output of itab from raw to OTf format.
      CALL FUNCTION 'SX_OBJECT_CONVERT_SCR_OTF'
        EXPORTING
          format_src            = 'RAW'
          format_dst            = 'OTF'
          devtype               = 'POSTSCPT'
          funcpara              = ' '
          len_in                = LEN_IN
       IMPORTING
         LEN_OUT                = LEN_OUT
        tables
          content_in            = OBJBIN
          content_out           = OBJBIN2
       EXCEPTIONS
         ERR_CONV_FAILED       = 1
         OTHERS                = 2
      IF sy-subrc <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    **convert the format from otf to PDF
    CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
      EXPORTING
        format_src            = 'OTF'
        format_dst            = 'PDF'
        devtype               = 'POSTSCPT'
        FUNCPARA              = ' '
        len_in                = LEN_IN
    IMPORTING
       LEN_OUT                = LEN_OUT
      tables
        content_in            = OBJBIN2
        content_out           = OBJBIN
    EXCEPTIONS
       ERR_CONV_FAILED       = 1
       OTHERS                = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    REFRESH OBJBIN2.
      DESCRIBE TABLE objbin LINES tab_lines.
      objhead = 'ORDERS'.
      APPEND objhead.
    ** Creation of the entry for the compressed attachment
      objpack-transf_bin = 'X'.
      objpack-head_start = 1.
      objpack-head_num   = 1.
      objpack-body_start = 1.
      objpack-body_num   = tab_lines.
      objpack-doc_type   = 'PDF'.
      objpack-obj_name   = 'WEBSITE'.
      objpack-obj_descr  = 'Sales ORDERS'.
      objpack-doc_size   = tab_lines * 255.
      APPEND objpack.
    * Completing the recipient list
    * target recipent
      CLEAR reclist.
      reclist-receiver = '[email protected]'.
      reclist-express  = 'X'.
      reclist-rec_type = 'U'.
      reclist-rec_date = v_date.
      APPEND reclist.
    * copy recipents
      CLEAR reclist.
      reclist-receiver = '[email protected]'.
      reclist-express  = 'X'.
      reclist-rec_type = 'U'.
      reclist-copy     = 'X'.
      APPEND reclist.
    * Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                document_data              = doc_chng
                PUT_IN_OUTBOX              = 'X'
           TABLES
                packing_list               = objpack
                object_header              = objhead
                contents_bin               = objbin
                contents_txt               = objtxt
                receivers                  = reclist
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                operation_no_authorization = 4
                OTHERS                     = 99.
      CASE sy-subrc.
        WHEN 0.
          WRITE: / 'Result of the send process:'.
          LOOP AT reclist.
            WRITE: / reclist-receiver(48), ':'.
            IF reclist-retrn_code = 0.
              WRITE 'The document was sent'.
            ELSE.
              WRITE 'The document could not be sent'.
            ENDIF.
          ENDLOOP.
        WHEN 1.
          WRITE: / 'No authorization for sending to the specified number'.
        WHEN 2.
          WRITE: / 'Document could not be sent to any recipient'.
        WHEN 4.
          WRITE: / 'No send authorization'.
        WHEN OTHERS.
        WRITE: / 'Error occurred while sending'.
      ENDCASE.
    ENDFORM
    .                    " SEND_MAIL
    try to run this and see the mail in tcode SBWP in the outbox documents ..
    regards,
    vijay

  • How do we Send a noop in imap using javamail?

    Hi all,
    I am running into a situation where I need to keep the session open and using noop to query for any new email, but I couldn't find a command to send NOOP.
    Thanks,
    Grace

    hi
    You can define a o/p and the program will send a email to customer. The program can pick the emails from the customer master or invocie header and send the email.
    The o/p can be connected to the form which wil define the layput of the email.
    Also u can define the condition records and the requirements at output determination so that u can control auto proposing of the o/p
    Reward if helpful
    Kind Regards
    Sandeep

Maybe you are looking for

  • Photos in some emails don't display they will with live mail

    Some emails don't download photos and these photos don't come as attachments they are part of the original email. I checked that the photos have been sent in live mail which i want to move away from.It has not happened a lot. I can see no difference

  • How to perform LOV auto completion

    Hi, I want to be able to leave the LOV text box empty and press tab to the LOV flashlight and the all the values corresponding to the LOV should appear automatically. I have set Disable Validation --> False and Selective Search Criteria --> False. So

  • How do I get my DVDs to play full screen on a second screen?

         I downloaded OS X Lion a few days ago and went to watch a movie on the second screen that is hooked up to my macbook pro.  Instead of going to full screen on my TV, the movie moved itself back onto my computer and filled my second screen with a

  • IPhone has broken links in mail

    I receive several mail with links from forums I visit. On my iPad I can just tab the links, but on the iPhone the links are broken, and when I tab them, the path to the forum thread is not existing. This has been a problem very long, please help.

  • ICloud - iphone,  One way Sync contacts Only

    hello everyone please help me, my synchonisation of contacts between iPhone and iCloud is one way only. Contacts created on my iPhone do not sync with iCloud but contacts created in iCloud sync ok wth iphone. Calendar entries sychronise ok between iP