Inbound Email using SAP ECC5

Hi Folks,
I have a customer who would like to put in place a process for sending a pdf file from within SAP to an external email address (Easy, using SO_NEW_DOCUMENT_ATT_SEND_API1!).  The customers also want to check once an email has been returned (not so easy) and, to my knowledge, they are not using workflow, XI, or web-dynpro.
So can anyone tell  me, is there an RFC or BAPI that can be used to interrogate an external inbox (say in MS Office), and if there is an email, to read the details into an internal table for analysis.  Similarly, if the process cannot be done in one step, is there a process which can be executed from within SAP to send the emails from MS Office to a SAPOffice email address for analysis (and if so, which RFC/BAPI to use in this scenario to read the SAPOffice email address)?
Thanks in advance - useful suggestions will be rewarded.
Cheers,
Steve

Hi Steve,
Check below thread. May help you.
SAP Inbound email related query (from Outlook to SAP)
Regards,
Atish

Similar Messages

  • Inbound Email configuration - SAP CRM with MS Exchange Server

    Dear Pundits,
    We are implementing SAP CRM and one of the requirement is to configure the Inbound email functionality.
    As of now, we have successfully configured the outbound mail functionality.
    The inbound email functionality to a Single client:
    Our MS Exchange Server Domain is ITAstute.com.
    Where as, on the CRM system, under SCOT transaction --> Settings --> Default Domain, we have entered the Domain name as
    crm-dev.itastute.com
    We are planning to receive emails for different email id's like service, complaints, and so on into our SAP system.
    How will the exchange server can direct the mails from above external emails from domail itastute.com to onto CRM server domain crm-dev.itastute.com????
    Thank you,
    Nikee

    Then you need to define the routing rule in the exchange server.
    Exchange server config is outside the SAP scope and you should contact your exchange admin to get it done.
    Also they might force you to use the port 25 if you have any policy such in your company.
    We used the routing rule from exchange to BIGIP and BIGIP to our SAP server, that way we could use different port.
    You could search in google for the steps and i come accross the link given below.
    See if its useful.
    Link: [exchange rule|http://www.petri.co.il/forums/showthread.php?t=13120]
    Additional input related to the rule.
    you need to define the virtual host if you have more than one client that need to be configured for inbound routing.
    *@crm-dev.itastutecom => * applies to any user in your system and crm-dev.itastutecom should be your virtual host.
    janus.itastute.com => is your hostname and define port number for each client that need to configured.

  • Issue with sending an image in the body of email using SAP ABAP

    Hello All,
    We have a requirement to send an email to our external clients that contains an image in the body of the email. We are using cl_bcs class in ABAP to send the email and the mail is sending in html format.
    We have uploaded the image in the SAP system using the transaction u2018SMW0u2019 and we are using the Function Module 'WWW_GET_MIME_OBJECT' to retrieve the image while sending the mail. But image is not displayed in the mail by using this approach.
    When we tried to use the image URL from the company website with <img> tag of the html code in the ABAP Program, the image is displayed in the mail. But, to display the image we need to use the download option and also it is taking time to download.
    Our aim is to download the image automatically in the mail. I have searched sdn but couldn't find complete info.
    If anyone worked on the similar functionality, kindly reply.
    Thanks in advance for your help.
    Best Regards,
    Ravi.

    Are you trying to send the e-mail with the image embedded? I did it with PHP and Phython... Never done it in ABAP, sadly to say... but I guess it should be possible. You'll need to play with the way the HTML code of the e-mail is being created, using MIME and the right headers. I'm guessing the result of WWW_GET_MIME_OBJECT will be your 'Content-ID'.
    Do some google with "Send an HTML email with embedded image". Even if it's related to another programming language it might give you some clues about how to compose the e-mail and you'll be able to replicate the logic by using CL_BCS.
    An alternative would be to just attach the image to the e-mail.
    Cheers,
    Andres.

  • Counting inbound emails (including those automatically deleted using ERMS)

    Hi all,
    I have a requirement to be able to count all inbound emails in SAP CRM (5.0).  This includes all emails that have been automatically deleted using ERMS after the creation of an Interaction Record and Service Ticket.  Can anyone think of an easy way of doing this in SAP CRM?  The Email Workbench and Agent Inbox do not display deleted email Workitems.  The best option that I have been able to come up with is to export the Workitem Selection Report from transaction SWI1 into a spreadsheet and filter column Workitem ID for unique entries.  Does anyone know of a better way of achieving this?
    Thanks,
    Onkar.

    By using POP3, mail is automatically deleted from the server once downloaded by the client without further user intervention (granted, not immediately due to BTYahoos recent non-standard implementation of the POP3 protocol). By contrast, the whole point of IMAP is that mail is left on the server to be available to multiple devices and requires user intervention to delete. Why would a system which is designed to be used for leaving mail on a server be recommmended to someone who wished it to be deleted? If you wish to be pedantic, I agree the OP didn't ask for mail to be automatically deleted, but then nor did he specify immediate deletion either. I interpreted the request as the former, you the latter. Perhaps if we understood the underlying reason why he wished the mail to be deleted in the first place it would help in providing a solution.
    There seems to be a recurring theme on this forum to promote IMAP as a universal panacea to overcome all mail problems which is diverting attention away from fixing BTYahoo's broken POP3 servers which have to my knowledge at least 4 problems. Two are deliberate by BTYahoo, lack of secure login and moving read items to the Trash folder temporarily before deletion. Two are faults which they seem either unable or reluctant to fix, intermittant authentication problems and inabilty to download even modest sized attachments on a slow connection.
    Correction, he did ask them to be deleted automatically.

  • Send error logs email through SAP workplace

    Hi,
    I need to send 4 different error log files to a unique user's email using SAP workplace, from my program. Plz provide a solution.
    Thanks.

    Hi,
    I need to send 4 different error log files to a unique user's email using SAP workplace, from my program. Plz provide a solution.
    Thanks.

  • Enable SAP Inbound email through IMAP, POP3 & MAPI instead of SMTP

    Hi,
    I am trying to configure SAP Inbound email in CRM 6.0 and would like to know if I can use IMAP, POP3 or MAPI instead of SMTP due to our company's legal policies and maintenance purposes.
    If there is a way, please let me know how to?
    I have checked other options but none of them talk about IMAP, POP3 or MAPI
    *) ICI (Integrated Communication Interface)
    *) Agent Inox based on SAP Connect Interface via SAP Business WorkflowCheck
    http://help.sap.com/saphelp_crm60/helpdata/en/46/23e545c17b5872e10000000a11466f/content.htm
    PI Mail Adapter  - http://help.sap.com/saphelp_nw04/helpdata/en/ad/bf93409c663228e10000000a1550b0/frameset.htm
    Configuring the Sender Mail Adapter - http://help.sap.com/saphelp_nw04/helpdata/en/ad/bf93409c663228e10000000a1550b0/frameset.htm
    Configuring the Receiver Mail Adapter  - http://help.sap.com/saphelp_nw04/helpdata/en/ad/bf93409c663228e10000000a1550b0/frameset.htm
    Thanks in advance

    Hello,
    As far as I am aware, SMTP is now the only supported option for configuring inbound emails through the SAPConnect interface into the Interaction Center agent inbox.
    [SAP Note 455140|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=455140]
    [SAP Note 1236270|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1236270}
    Best regards,
    John

  • Non SMTP inbound email doesn't reach to SAP

    Hi Experts,
    Currently we are trying to implement offline approval in SRM for Shopping Cart. So approver will approve and reject through email.
           i) Approver receive an email from SRM system which has two buttons approve and reject , This email is sent from SAP using SMTP protocol.
          ii) Approver takes an action by clicking approve button at this point automatic reply is triggered out to SAP with an approval note in the body.
         iii) Approver Mail in  step c) doesn’t reach to SAP , but it comes to mail box which we have in outlook exchange server.
    Problem: The email doesn't reach SAP because for inbound emails we have configured SMTP protocol however the client's outbound email config is non SMTP. SAP doesn't support any non SMTP protocol for inbound emails. 
                One way to achieve this is by consuming EWS in ABAP for moving mails in exchange mail box to SAP mail box.
                Has anyone tried this before? Please suggest if there is a alternate solution to achieve this.
    Regards,
    Gowri           

    For a US based mail service like Comcast, your best bet is to run through your mail account settings and verify that it is configured properly. Quickest way to check would be to drop your email address into the iPhone mail helper, located at http://www.apple.com/support/iphone/mailhelper/ , also linked at the top of this section. Often times it is an SSL setting toggled the wrong way, or a port number assigned incorrectly.
    If everything looks to be in there properly, remove and then enter in the account manually using the steps from the mail helper. And always verify that you are using the correct user name & password combination by logging in to your Comcast webmail. Hope this helps.
    Message was edited by: X_oran

  • 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

  • Inbound email configuration is not working in SAP CRM 7.0

    We have issue with the Inbound mail in SAP CRM 7.0, the emails from external ID (eg *@gmail.com) unable to receive in SAP Mailbox.
    SMTP Settings as per the note : 455140 have been done and its working fine, we are able to send email from SAP to external server.
    Also as per the note 607108 telnet test was successful and we can see the email in SOIN,
    However if we send a mail from Gmail to SAP it is not visible in SOIN and it is bouncing back with error
    said: 553 5.1.8 <[email protected]>... Domain of sender address
        [email protected] does not exist (in reply to MAIL FROM command)
    I have attached screenshot of the SOIN.

    Hi Garcia,
    I have checked with the Network team who manages Exchange server and they have mentioned that it is bouncing back from our CRM host with the error as below,
    said: 553 5.1.8 <[email protected]>... Domain of sender address
        [email protected] does not exist (in reply to MAIL FROM command)
    Regards,
    Arpit

  • Could you let me know how to enable and use ITS on SAP ECC5  and ECC6

    Could you let me know how to enable and use ITS on SAP ECC5  and ECC6

    Hello Tina,
    please see here
    in tree select "Installation and Activation"
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/4f/2e6a52c3cdc44d83169b181a9c62ba/frameset.htm">http://help.sap.com/saphelp_nw70/helpdata/en/4f/2e6a52c3cdc44d83169b181a9c62ba/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/b8/2a8d65be7eee4eb66067f8a33d1c8b/frameset.htm">http://help.sap.com/saphelp_nw70/helpdata/en/b8/2a8d65be7eee4eb66067f8a33d1c8b/frameset.htm</a>
    best regards

  • 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

  • Send email on external email address using sap workflow

    Dear All,
    I wat to send email( on external email address) to all users on under one position in org unit using sap workflow.
    I have retrived all users under given postion using FM   'RH_OM_GET_HOLDER_OF_POSITION'.
    Please let me know how to get their email ids.
    Thanks & Regards
    Rajshree

    Hi Rajasree,
    You can get the email address by passing the PERNR of employee and read the infotype '0105' (communication) with subtype '0010'.
    DATA: lt_p0105 LIKE p0105 OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'HR_READ_INFOTYPE'
       EXPORTING
    *   TCLAS                 = 'A'
        pernr                 = pernr
        infty                 = '0105'
        begda                 = sy-datum
        endda                 = sy-datum
    *   BYPASS_BUFFER         = ' '
    *   LEGACY_MODE           = ' '
    * IMPORTING
    *   SUBRC                 =
       TABLES
         infty_tab             = lt_p0105
      EXCEPTIONS
        infty_not_found       = 1
        OTHERS                = 2.
    IF sy-subrc <> 0.
    * Implement suitable error handling here
    ENDIF.
    READ TABLE lt_p0105 WITH KEY subty = '0010'.
    email = lt_p0105-usrid_long.
    Regards,
    Pipit

  • Inbound email in to sap

    Hi gurus,
    Has anyone directed inbound email to a public folder or know how that can be achieved?
    Any ideas or help is appreciated.
    Thanks in advance
    kumar

    Hello,
    to answer my own questions:
    Question 1: Yes it is possible. Take the document Id and insert a dataset into the table SOFM with the id of the public folder.
    Question 2:
    DATA:  lcl_doc         type ref to cl_document_bcs,
               ls_object_id   type soodk.
            lcl_doc ?= document.
            ls_object_id-objtp = lcl_doc->get_doctp( ).
            ls_object_id-objyr = lcl_doc->get_docyr( ).
            ls_object_id-objno = lcl_doc->get_docno( ).
            concatenate ls_object_id-objtp ls_object_id-objyr ls_object_id-objno into lv_docid.
    Regards
    Friederike Braun

  • Inbound emails stripped of .FAX attachments

    G'day all,
    I'm on a 620 system up to basis patch 60.
    When an inbound email contains an attachment with extension .FAX the attachment disappears!!
    Any other extensions are fine. The .FAX files in my case are actually .TIF files but the software creates them with .FAX extension.
    If I rename the file to have a .FOX extension for example, the attachment makes it into SAP just fine, as does any other extensions I've tried (.TXT, .DOC, .ZIP, .PDF, .XLS etc)
    This happens whether I send to a normal SAP users inbox or whether I handle the inbound request using my own SO50 configured class.
    We've turned on the Inbound and General trace in SCOT and there is nothing too exciting. The log does show there is a .FAX attachment present (so it's not stripped by the external mail system) but it doesn't indicate that it's been removed.
    Please note!! This is NOT inbound Fax handling. It's just a mail that happens to have an attachment which ends with the extension .FAX.
    Any ideas??
    Thanks,
    Mark

    Hello,
    Can you please check SAP note:
    813619
    make sure the customizing of the type .FAX is correct.
    Best regards,
    Dezso

  • Send Email  within SAP

    In the email type i give 'INT' for specifying internet email address. Can anyone let me know the value that should be given to send mail to SAP user ids..
    Thanks,
    Kevin

    I am not able to understand your question.
    You want to send a mail to sap userid within sap system .
    You  want what shall be the reciepient type
    You should use sap logon name
    reciepient
    internal user
    Hope it works.
    The INT type is for internet mail type and shall work for SAP userid's also if you have defined mail id's in user master records.
    if you want to send the mail from internet to sap users then you have to define the internal distribution list under SCOT-settings -Inbound distribution
    Hope it helps.
    Amit

Maybe you are looking for