Inbound Email to update SAP directly

Hi
I'm busy writing an interface between a supplier and our SAP system. They send a file via e-mail and my interface/function imports/upload it into SAP. Can someone give me a step by step  overview how to get a file from an inbound e-mail directly into SAP without manually dropping the file onto a server or pc folder.
Thanks
Gio

Hi,
Try using below function modules to read attachment data
SO_ATTACHMENT_READ_API1 - This fm will read the attachment and will give in the binary format.
SCMS_BINARY_TO_XSTRING - This fm will convert the binary format to xstring format.
Kr Jaideep,

Similar Messages

  • 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 email update data in R/3 46C?

    I know that Interactive Forms has the possibility of having an inbound email update data in R/3?
    I also know that Interactive Forms is not possible with version 46C.
    Can I get an inbound e-mail to update data in R/3 if I am on version 46C???
    -Ken

    Dear Relaxed Surfer,
    The link you give is great to handle basis setup.
    Is there a place to handle application setup?  Suppose I want an inbound e-mail to execute a transaction, call a BAPI or simply do a direct update to a Zee table.  Is there documentation on this?
    -Ken

  • 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.

  • 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

  • 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

  • UPDATE SAP USER EMAIL

    Hi,
    I'm trying to update sap user email by using BAPI_USER_CHANGE BAPI. This is the code:
          CLEAR it_return.
          v_address-e_mail = ls_salida-smtp_addr.
          v_addressx-e_mail = 'X'.
          CALL FUNCTION 'BAPI_USER_CHANGE'
            EXPORTING
              username = lv_bname
              address  = v_address
              addressx = v_addressx
            TABLES
              return   = it_return.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    When the execution finish everything seems OK but when I check in SAP user master data, email address is not updated.
    Can you tell me how can i do to make it works? or there is another way to update sap user email address?
    Thanks
    Andres

    example
      DATA: lv_addcomx    TYPE bapiadcomx,
            lt_bapiadsmtp TYPE TABLE OF bapiadsmtp,
            ls_bapiadsmtp LIKE LINE OF lt_bapiadsmtp,
        MOVE: 'X'               TO lv_addcomx-adsmtp,        "Update Flag
              ls_list-smtp_addr TO ls_bapiadsmtp-e_mail,
              ls_list-smtp_addr TO ls_bapiadsmtp-email_srch,
              001               TO ls_bapiadsmtp-consnumber.
        APPEND ls_bapiadsmtp TO lt_bapiadsmtp.
        CALL FUNCTION 'BAPI_USER_CHANGE'
          EXPORTING
            username = lv_name
            addcomx  = lv_addcomx
          TABLES
            return   = lt_return
            addsmtp  = lt_bapiadsmtp.
    You can change.. and check the su01

  • Updating SAP table field directly?

    Hi all,
    The client is using SAP for 2-3 years and this will be replaced by new SAP system ( same version - 4.6c) in few months.
    So as to get data from old system we are doiong conversion right now. In this client, PO creator name is very important and it drives so many things. When we will do conversion and convert old PO into the PO in the new system, the username ( created by) will be "batch user".
    Client somehow want to retain the username, the original username of old POs.
    For this, they are asking to update the EKKO-ERNAM field directly once the new POs are created ( we will have old PO - new PO mapping and user name).
    In my view, it is not advisable to update the SAP standard table directly. But i want the opinion from you guys that what are the implications of updating field directly. Is it advisable? Is there any other way to meet this requirement?
    Thanks,
    Pratik

    Hi palaniappan,
    1. Good question and good concern !
    2. Your concern is absolytely correct.
    3. Sap does not advise to
       update SAP standard tables directly
       thru any z program
      (It may stop support in future)
    4. But for your requirement,
       it the po user will be "batch user",
       then
       thru some Z program,
       u may do so.
    5. BUT
       Please take care that
       a) u have signed specifications of this logic
          and concern from the FUNCTIONAL CONSULTANT !
         (only after that one should do)
    regards,
    amit m.

  • 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

  • Updating SAP Questions - Newbie Need Some Direction

    I have some questions on updating SAP systems.
    We went live on SAP back in May and we have not really updated our systems since we did the initial installation in January.  (They wanted a stable environment for testing/config).  But I would like to start updating SAP before it gets too out of data and become difficult to update.
    We are running a ECC 6.0 system on Windows 2003 x64 servers with SQL 2005 databases.
    They way I see it, there are 3 areas I need to update:
    1.)     The OS and Database (Microsoft Service Packs and Patches)
    2.)     The SAP kernel
    3.)     SAP support packages
    What is the best way to approach this?  Are my steps even correct?
    I would just appreciate some input on how to approach updating SAP.  I know that lots of testing will be necessary after each update.
    Any tips?

    Hi Drew,
    I think you are looking for applying support packs . SAP usually release Support pack stacks every quarter, So you can go by the latest stack or one behind. SAP prefer to go by stacks now and not by individual packs.
    You can get this information from
    http://service.sap.com/sp-stacks
    Procedure will be
    1) Upgrade SAP Kernel
    2) Update SPAM/SAINT to latest level.
    3) Apply Support packs using SPAM.
    If you have dual stack , update Java components using JSPAM , Now you can upgrade your Kernel using JSPAM ( In case you have dual stack ) .
    Before doing Support packs , Make sure you read all notes related to  Know issues/problem with your release and also make sure you have a valid back up. So if something go wrong you can always restore
    Thanks
    Prince Jose

  • INBOUND MAIL PROCESSING in SAP for Offline ADOBE FORM Concept

    Hi to all,
    Please can anyone tell me, what INBOUND MAIL PROCESSING in SAP for Offline ADOBE FORM?
    What is concept and how to use it, is any program need to write for that or only need to configure it.
    I have searched the SDN, but only get topic how to configure inbound mail processing.
    I am new to this area; please any one put some light on it.
    I shall be thankful to you for this.
    Regards
    Pavneet Rana

    Hi Pavneet,
    Inbound processing of an offline adobe form consists of several things -
    a) an email id to be created on the server (to accept the mail & process the adobe form - this needs to have the right roles)
    b) the smtp config needs to be done by basis
    c) the abap developer needs to create a handler class that gets called when an email is recd in SAP. This handler class has 3-4 methods (first to read the mail and extract the pdf, convert data in pdf to the abap variable, process the form to do the specific function in sap (which will vary from requirement to another).
    I found this blog very useful when I was getting my adobe form done -
    /people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher
    Hope this helps.
    Cheers, Liz
    (ps: you might get more help in the adobe form specific forum in sdn)

  • Inbound Email process issue

    Hi,
    we have a issue with inbound email process. inbound emails are not coming and showing inbox undeleverable message
    showing below message in undeleverable mail
    "There was a SMTP communication problem with the recipient's email server"
    please help me how to solve this issue. i am working on CRM 7.0 version.
    Thanks & Regards
    Kishore kumar

    Hi,
       If you posted the Document through VL32N.. Then you cannot try reversal using MIGO, becaouse it will not update "delivery document flow". For more reasons please see the Note  "199703"
    If you have created any reversal material document. then cancel it. you can reverse the Inbound delivery only using VL09
    Regards
    GK.

  • 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

  • Error in workflow mailer configuration - Inbound Email Server

    Hi
    I have Windows 2000 SP4.
    I have installed Oracle Workflow 2.6.3 Standalone as below
    I have installed Oracle Database 10gR1 and Oracle Workflow Server 2.6.3 in same oracle home.
    I have installed Apache HTTP Server 9.0.4 and Workflow Middle Tier in the same oracle home.
    I have finished installation and configuration successfully.
    Now I want to configure mailer parameters.
    I have started Workflow Component Container and Workflow Management Container.
    When I try to enter paramters for mailer I get error in Inbound EMail Account Server Name.
    The error says: Unable to make a network connection.
    I do not want to configure Inbound Mail Server but I need to enter these parameters as they are mandatory.
    I set Inbound Thread Count = 0 so that configuration does not consider parameters for IMAP server.
    My mail server is SMTP server.
    Any idea how to overcome this error and continue with notification mailer configuration?
    Thanks

    You would need to modify all the parameters listed in this script. This script updates each of the mailer and agent listener parameter. You may edit the script to remove all API calls OTHER THAN those for "Workflow Notification Mailer".
    Then update ALL the parameters for "Workflow Notification Mailer" with appropriate values with Inbound Thread Count to 0 and Outbound Thread Count to 1. Inbound Server Name, Account, Inbox, Discard and Processed values can be ignored. Make sure Outbound Server Name is valid SMTP Server name.
    Values like From, HTML Agent should point appropriately as per your env.
    Hope this helps
    Vijay

  • Server Alerts reports "Virus Detected in inbound email" for spam

    I receive hundreds of email every day that a Virus was detected in inbound email.  When checking the contents of /Library/Server/Mail/Data/scanner/quarantine these messages are only spam message, not viruses.  Virus infected messages seem to get placed in /Library/Server/Mail/Data/scanner/virusmails
    I am running on Mavericks Server 3.1.2 (1354517)
    serveradmin -v = Version 10.8 ($revision: 1.13 $ -- May 13 2014)
    Does anyone know how to tune the Server Alerting to properly handle the files in /Library/Server/Mail/Data/scanner so that virusmails are reported as virus's but quarantine is not reported?
    I have searched high and low, and cannot find where this is controlled.  With Mavericks, I no longer see Virus Alerts under the alerts management menu of Server.app
    I checked amavisd configs, as well as many other files under /Library/Server for any references to "quarantine" text, to no avail.
    I dumped all of serveradmin settings, and do not see anything that references quarantine except for the quarantine recipient addresses for spam and viruses.
    Is anyone else experiencing this, or does anyone know how to solve this?
    Thanks in advance.

    I received over 200 spam messages yesterday that got reported as viruses to me, and out of frustration, I discovered a work around.  I don't know if this is the result of a past update, or the steps I used trying to reset the server, but I performed the following and was able to suppress the email alerts.  At the time of my original posting, the Alerts section of the Server.app did not offer any option for disabling the alerts for virus..
    1) Launch Server.app
    2) Select Mail in left pane
    3) Turn off Virus filtering
    4) stop/start Mail server
    5) Turn on Virus filtering
    6) stop/start Mail server
    7) Turn off Spam filtering
    8) stop/start Mail server
    9) Turn on Spam filtering
    10) stop/start Mail server
    11) Select Alerts in left pane
    12) clear all active alert
    13) Under notifications tab, I now saw "Mail" as an option
    13.1) Turn off the alerts for Mail
    Now I don't get spammed with Virus alerts for spam messages.  This is not a fix for the configuration error in the alerting service, but it does stop the admin mailboxes from being flooded with virus alerts for all spam messages.  I cannot confirm if it was the enable/disable of the filtering that added the Mail entry under alert notifications or if it was an update, as I did not check the alerts notifications at the time.  I was frustrated, and desperate for a fix, so I did the first thing that came to mind.  But now my Mail system alerts can be enabled/disabled through server.app so I am happy.  Lets just hope for a classification fix in the Yosemite update coming this fall.

Maybe you are looking for

  • Can't seem to find my jsp

    i'm a first timer here and thanks to kevin yank, i am able to get the message "Apache/1.3.22 (Win32) running ..." and "Starting service Tomcat-Standalone Apache Tomcat/4.0.1 Starting service Tomcat-Apache Apache Tomcat/4.0.1" when starting the server

  • Negaive asset value in AS91

    Hi , Could any one expalin me how to make subsequent postings if we maintain negative asset values in AS91? How to do write up postings? What should be the transaction type for write up? Please share your valuable knowledge. Thanks in advance. Smruti

  • IOS6 bug in music app

    After upgrading to iOS6 on my iPhone4 the music app no longer has a "Add all" option on the playlist/album/tracks screen. Bug or feature?

  • Retention field is missing on Payment Processing Tab - Purchase order

    Dear Experts, I have configured retention and also activated the switch LOG_MMFI_P2P ..Payment processing tab is now appeared in PO but Retention field is missing. Please check below screen shot. There are many posts related to Retention config, i ha

  • I can't use Yahoo messenger (it doesn't open the dialogue window), but in other PCs with older versions of Firefox I don't have problems

    I can't use Yahoo messenger (it doesn't open the dialogue window), but in other PCs with older versions of Firefox I don't have problems As stated earlier even though when I have an incoming message I hear the "Beep" Firefox does not open the dialogu