Generating email from SAP

Hi Experts,
I am facing some issues while sending an email from SAP GUI 720 to the external email destination.
This problem is reported by one of our customers.
Customer is trying to generate a email from SAP. As apart of body of mail he is generating the contents which 
contains single/double quotes by typing it from MS word.If that content having quotes is passed as body of mail ,the email
generated from SAP is successful but the content was replaced with "#" instead of single /double quotes.
NOTE:If we use the contents that was typed from vi editor or textpad, and passing it as body of mail. Single quote
and double quotes works fine and can also view the entire body of mail .
I would like to know the following points to analyze this problem:
1. Is it the known issue? Is anyone has faced the same problem?
2.As per my understanding, when we send email for SAP UI ,the request gets queued up and then sent to the SAP gateway.
SAP gateway then sends it to the external email destination.
Is there any way to check the what is the data sent to SAP gateway?
I tried to check the Gateway traces but it does not log any data related to the email body message.
3. Whether the data will get logged in SAP log files?If yes, what is the location?
4. Whether we need to explicitely enable the SAP logs?
Looking for some inputs from experts.
Thanks,
Aarati

Found it
I can see I can usr Fm SO_DOCUMENT_SEND_API1 for this
Regards
Morten Nielsen

Similar Messages

  • Cannot Send Email from SAP Business One

    Hi Experts
    I have configured SAP Email Services from the Mailer Service and Customer can send emails all the while,
    Now I have an Issue for One User,
    Iam using the Same Machine, Same Database with Manager Login, I can send Email from SAP with Attachments
    But When I use another Super user the system is not delivering the Email and it Goes to the Sent box (but not delivered)
    Have anyone encountered the Issue before
    Please hep to solve this issue permanently
    Thanks and Regards
    Vinodh Kumar Mohan

    Hi Vinodh Kumar Mohan,
    If the email can be found in Sent box, it must be delivered already.
    The problem could be on the email recipient side. It may go to the junk mail.
    Thanks,
    Gordon

  • Send email from SAP to External User ..........

    hiii
    <b>Is it possible to send mail from SAP to External user??????if possible does BASIS people had to do something???</b>
    I want to send the email from sap to external user([email protected]).My mail will consist of some changes made in production order(CO03). for which i had created the BADI. That part is over now i want to send the mail.
    <b>I got many sample programs in sdn but when i enter the email address it execute but mail is not sent.....I want to know by just executing Zprogram mail will be sent or there is some role for BASIS also..............</b>
    Thanking you.
    Regards.

    There is a transaction called SCOT that needs to be configured
    http://www.sap-basis-abap.com/sapbs035.htm
    http://www.sap-img.com/basis/basis-faq.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/frameset.htm

  • Send email from SAP using SMTP-AUTH

    Dear all,
    I would like to send email from SAP to external SMTP server using authenticated method.
    Can I set up this scenario with SAPConnect?
    Or are there any other methods to set up this scenario?
    Thanks, Regards,
    Fendhy

    Hi,
    You dont need anu authentication to be set :
    Just follow below steps :
    Simple steps to do the SMTP configuration :
    1. Use transaction SCOT
    3. Double Click on SMTP
    4. You will get a window and fill in description
    5. Tick the "Node in use" box
    6. Enter the hostname of the email exchange server
    7. Mail port will be 25
    8. Click on the button next to Internet called "Set"
    9. You will get another window, in the "address area" box, enter *
    10. Click the green check button to exit the second window
    11. Click the green check button to exit the main window
    12. From top menu: Settings -> Default Domain
    13. in the small box that appears enter the domain name which is the last part after the @ sign. The domain name would be company.com
    14. You need to define a job to process the email, from top menu: View -> Jobs
    15. From top menu: Job -> Create
    16. Enter a name
    17. Click on "INT" in the list then "Schedule job" button
    18. Enter start date and time, then click on "Schedule Periodically" button
    19. Enter something like every 10 minutes.
    20. the configuration is now complete. To test it, you need to have an email defined in your user id properties. Use SU01 for that.
    21. Use transaction SO00
    22. Put Title, and text in the body, then enter your email address below, the recepient type would be "internet address"
    23. After a maximum of 10 minutes you should get the email address.
    Regards,
    Nirmal.K

  • Hi.....I want to send outbond email from SAP ERP to Gmail useing SBWP Tcode

    I want to send outbond email from  SAP ERP to Gmail  useing SBWP transaction , for that i want standered BADI or BAPI or RFC to send an outbond mail.i want to send a email from sbwp t-code in that t-code we have title text box and body text box and receipent  and receipent type,after entering alll those values i want trigger my badi /bapi/rfc and also that mail goes to receipent Gmail indox and also sap user outbox in sbwp t-code
    Moderator message: Welcome to SCN!
    Moderator message: this is considered "spec dumping", please work yourself first on your requirement.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Jul 13, 2011 9:25 AM

    Check note 455140 - Configuration of e-mail, fax, paging or SMS using SMTP
    Markus

  • Sending external email from SAP with following requirements...

    Hi All,
           I need to send external emails from SAP by meeting following requirements.
    1) With subject line more than 100 characters.
    2) No attachments, only body which has specific format (blueprint/layout) and would be amended often, hence code shouldn't be touched during amendments.
    3) Should be able to know the success/failure of mail sending at program level.

    Hi,
    The code below demonstrates how to send an email to an external email address
    *& Report  ZSENDEMAIL                                                  *
    *& Example of sending external email via SAPCONNECT                    *
    REPORT  zsendemail                    .
    PARAMETERS: psubject(40) type c default  'Hello',
                p_email(40)   type c default '[email protected]' .
    data:   it_packing_list like sopcklsti1 occurs 0 with header line,
            it_contents like solisti1 occurs 0 with header line,
            it_receivers like somlreci1 occurs 0 with header line,
            it_attachment like solisti1 occurs 0 with header line,
            gd_cnt type i,
            gd_sent_all(1) type c,
            gd_doc_data like sodocchgi1,
            gd_error type sy-subrc.
    data:   it_message type standard table of SOLISTI1 initial size 0
                    with header line.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    Perform populate_message_table.
    *Send email message, although is not sent from SAP until mail send
    *program has been executed(rsconn01)
    PERFORM send_email_message.
    *Instructs mail send program for SAPCONNECT to send email(rsconn01)
    perform initiate_mail_execute_program.
    *&      Form  POPULATE_MESSAGE_TABLE
          Adds text to email text table
    form populate_message_table.
      Append 'Email line 1' to it_message.
      Append 'Email line 2' to it_message.
      Append 'Email line 3' to it_message.
      Append 'Email line 4' to it_message.
    endform.                    " POPULATE_MESSAGE_TABLE
    *&      Form  SEND_EMAIL_MESSAGE
          Send email message
    form send_email_message.
    Fill the document data.
      gd_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      gd_doc_data-obj_langu = sy-langu.
      gd_doc_data-obj_name  = 'SAPRPT'.
      gd_doc_data-obj_descr = psubject.
      gd_doc_data-sensitivty = 'F'.
    Describe the body of the message
      clear it_packing_list.
      refresh it_packing_list.
      it_packing_list-transf_bin = space.
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 0.
      it_packing_list-body_start = 1.
      describe table it_message lines it_packing_list-body_num.
      it_packing_list-doc_type = 'RAW'.
      append it_packing_list.
    Add the recipients email address
      clear it_receivers.
      refresh it_receivers.
      it_receivers-receiver = p_email.
      it_receivers-rec_type = 'U'.
      it_receivers-com_type = 'INT'.
      it_receivers-notif_del = 'X'.
      it_receivers-notif_ndel = 'X'.
      append it_receivers.
    Call the FM to post the message to SAPMAIL
      call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           exporting
                document_data              = gd_doc_data
                put_in_outbox              = 'X'
           importing
                sent_to_all                = gd_sent_all
           tables
                packing_list               = it_packing_list
                contents_txt               = it_message
                receivers                  = it_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.
    Store function module return code
      gd_error = sy-subrc.
    Get it_receivers return code
      loop at it_receivers.
      endloop.
    endform.                    " SEND_EMAIL_MESSAGE
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          Instructs mail send program for SAPCONNECT to send email.
    form initiate_mail_execute_program.
      wait up to 2 seconds.
      if gd_error eq 0.
          submit rsconn01 with mode = 'INT'
                        with output = 'X'
                        and return.
      endif.
    endform.                    " INITIATE_MAIL_EXECUTE_PROGRAM
    Hope this helps.
    Reward if helpful.
    Regards,
    Sipra

  • General users can not send emails from SAP themselves except sap_all user

    Dear experts ,
    General users can not send emails from T-CODE: SO00 themselves except the users
    which Assigned SAP_ALL Authorization Profiles .
    We hit SAPconnect trace Error : SO_OBJECT_MIME_GET Exception: 2 .
    No MIME Document Received. Error Code: UNKNOWN .
    How to can i solve the problem ?
    Thanks a lot in advance .

    Thanks for your Reply .
    I had set default domain in SCOT ,and email address in su01 .
    we can send email successful only SAP_ALL users .General users can not send emails from SAP themselves
    Is anybody else to help me ?
    Thanks a lot in advance .

  • Sending emails from SAP

    Hi Experts,
        I am sending an email from ABAP program using the function module SO_NEW_DOCUMENT_ATT_SEND_API1. But, it is in pending when we see the transaction code SOST. In that T-code if we select that particular mail and press execution button, it is sent to the email id. Do we have any function module which will trigger the mail directly to mail server or to work with the tcode SOST. Do we have any other mechanism.
    Thanks and regards,
    Venkat

    Hi
    After calling the function module : SO_NEW_DOCUMENT_ATT_SEND_API1
    check sy-subrc.
    If it's 0,the code will sent the emails from SAP.
    otherwise there will be the problem.
    SOST will send the mails with some delay in some cases.
    Regards,
    Sreeram

  • Deleting email from SAP inbox

    Hai All,
    I want to delete a  email from SAP inbox, without  logging into SAP with that person's userid.   Please let me know how to do it.
    Regards,
    H.K.Hayath Basha.

    Hi Hayath Basha ,
      You can do if you have a Workflow Administrator role and have access to Tcode : SWI5 (WorkLoad Analysis).
    Following is the procedure :
    1. Go to SWI5
    2. Provide the required parameters ;
       Resposibility :
         Type  US
         ID    User ID of whom you want to delete the WI.   
       Period :
          Choose To be processed by
    3. Execute the Report..
       Now you will see all the workitems in his inbox.
    4. Select the workitem you want to delete from the list.
    5. Double click on the workitem selected.
    6. select the menu  Goto -> Technical work item display
           You will be taken to Display workitem screen
    7. In Display workitem Screen  select the menu
           Edit -> Change
       Now you will be give a option to Delete Logically.
    8. Click on Delete Logically button to actually delete the mail from the SAP inbox.
    Let me know if this works.
    Thank you
    Srinivas

  • Components required for sending Email from SAP [Kernel Release 46D]?

    Hi All,
    Can somebody please tell me the components and the Configuration settings required for sending Emails from SAP system[Kernel Release 46D] to the mail server[Win NT] using SMTP.
    From note 455127, I understood that "Sap Internet Mail Gateway" is required and there are other settings to be done. (SAPconnect with RFC can only be used as the Kernel version is 46D)
    It will be great if somebody can explain me in simple steps if He/She has done this before.
    Thanks,
    Varun

    Varun,
    sendmail comes with UNIX OS, there are versions of sendmail programs available for Windows too, but i guess you have to purchase them.
    Another alternative is a discontinued product called SAP Exchange connector, if you have a Windows environment and MS Exchange server as your mail server, you could use a SAP exchange connector and get your SAP Email config done.
    Regards,
    Siddhesh

  • Regarding Sending email from Sap system

    hi experts,
    i have developed one object for sending email from sap its working fine onlt to send TO option
    HOW TO SEND MAIL TO CC option
    thanks adv
    reg
    GOPI

    Use:SO_NEW_DOCUMENT_ATT_SEND_API1
    CC field in email using SO_NEW_DOCUMENT_ATT_SEND_API1
    How can I send mail to CC recipients
    Reward points..

  • How can I generate email from report 6i.

    Dear Sir,
    When I click on e-mail button on report 6i (Win2k User) Generate following error:-
    Rep-4203 error occurred while a mail message.
    Rep-4220 There is a problem with the email subsystem.
    When I generate report from administrator then email generated no error occurred.
    Please help me how can I generate email from report 6i without administrator rights.
    Thanks and Regards
    Brij

    You can try this at form that calling your report;
    add_parameter(p_id,'DESFORMAT','HTML');
    hope this helps...
    defne
    ps: raporu cagiridigin form program units'ine, bu add_parameter'i eklersen, HTML olarak raporunu emailleyebilirsin...

  • Sending emails from SAP system

    Hai everybody,
    for sending emails from SAP system , what are all the configuration we have to made & what are all the cheks we have to perform at BASIS level .
    Pl guide me.
    Ramesh

    Hi,
    Configurations need to be done with Tcode : SCOT
    and RFC need to be established using SM59.
    SO_NEW_DOCUMENT_ATT_SEND_API1 is the Function Module used for sending Emails from SAP System.
    The Email ID's are maintained in XK02 , XD02 For Vendors and Customers in the Basic Data.
    You need to write the code to fetch the ID's from the Vendor Master dataor customer master data based on the Vendor/Customer Numbers.
    You can always monitor the Emails in SOST.
    This is all you need to do.

  • Securing your Email from SAP with security signatures from exchange server

    Hello
    I have been exploring a solution for the following requirement:
    Important Emails such as HR payslips which are being generated from SAP need to be encrypted using security signatures stored at an exchange server.
    I have looked at Secure email proxy but I believe that is a more standard functionality, the payslips are being generated, being converted into pdfs and are being sent as an attachment in emails,all custom coding.
    Is there a way to utilize the secure email proxy feature using custom code?
    Are there other ways to use the existing signatures at the exchange server. Help.sap.com also mentions a badi - SX_secure_email - would this suffice for my needs?
    Thank you

    Generating the request with a particular user who has the parameter set to on gets the trick done.

  • Send emails from SAP BPC is disabled?

    Hello,
    I want to send emails from the SAP BPC, I have configured everything. But I have read that this part is disabled in SAP BPC 5.1.
    Is that true??
    Thank you very much.
    Pablo Mortera.

    Hi Pablo,
    Are you talking about any specific emails to be generated from BPC or emails in general? For example, if you are alluding to automatic generation of emails to the owners of BPF or the reviewers of BPF, then that feature is available in BPC7M (Microsoft version of BPC7.0).
    Regards
    Pravin

Maybe you are looking for

  • Why is my internet slow on my desk top

    I am in the midst of changing servers- Wirless internet- previous ok,except kept blowing away on windy days - this one can not keep the speed up.  The tech dude thinks something up with my desk top - since the pad can stream youtube a bit faster. All

  • Functional upgrade

    Hi Can somebody please explain what is the consultant's do in fuctional and technical upgrade from 4.6c to ECC 6.0 They have existing system 4.6 C and how to move to ECC 6.0 ? Thanks, Nivi

  • Strange scale on movie clip

    I have a MovieClip object (let's call it "Background") right on my main stage, which is attached to a class in code. I am adding several MovieClip objects as children of the Background object, but positioning them is difficult because the Background

  • BI Roles conflict.

    Hello Friends I am upgrading BW 3.1 to BI 7.0. I have a problem.Can any one give me solution. Appreciate help. Problem is when i open Bex Analyzer and navigate to roles folder i find two roles menu role and Analyst Role  which should not be seen.Only

  • Video Compression in CS6??

    hello out there... I need help i am trying to compress a video from 7 gb to fit onto a dvd with main title that is only 4.7 gb... im new to adboe so i can do certain things i have my video eddited in premiere pro and it has been moved to encore where