Mail to NWBPM Scenario

Hello Experts,
We are working on NetWeaver 7.4 – Process Orchestration.
We have a scenario where on arrival of mail a bpm process gets triggered.
We are using PI mail adapter to trigger the BPM on receiving mail from mail server.
We are able to map process context with mail – sub, message body, from address and other attributes.
Only attachments are missing. We know bpm does not support attachments we need to retrieve the attachments from “pi mail interface’ and save to ECM.
Could anybody help in this matter please?
Thanks

Hi,
how to use mail adapter
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb1551f05
XI: Dynamic name in the mail attachment - pseudo "variable substitution"
The specified item was not found.
XI: Sender mail adapter - PayloadSwapBean - Step by step
The specified item was not found.
XI: HTML e-mails from the receiver mail adapter ?
The specified item was not found.
Mail Adapter (XI) - how to implement dynamic mail address
The specified item was not found.
S/MIME Security for the MAIL-Adapter within XI
S/MIME  Security for the MAIL-Adapter within XI
Configuring sender mail adapter
http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/frameset.htm
XI-MAIL ADAPTER
Basic Spam Protection for XI Mail Adapter
The specified item was not found.
XI Mail Adapter: An approach for sending emails with attachment with help of Java mapping
XI Mail Adapter: An approach for sending emails with attachment with help of Java mapping
Regards,
Phani

Similar Messages

  • Receiver Determination Problem In Mail to File Scenario.

    Hi All,
    I am trying to do Mail to File Scenario. I defined two business systems, one s/w component in SLD and in IR I defined a DataType , MessageType and Two MessageInterfaces. In ID these are mail adapter settings I gave :-
    Message Protocol :- POP3
    Message Protocol :- XIPAYLOAD
    MAIL ATTRIBUTES -- Enabled checkbox for "Use Mail Package"
                                    Content Encoding - "base64"
                                    Enabled checkbox for "Keep Attachments"
    DEFAULT XI PARAMTERS --
                                    Default Interface Namespace -- http://mtf
                                    Default Interface Name         --  mtf_mi1
    And in Modules Tab I also defined the "PayloadSwapBean" module and swap.keyName and swap.keyValue.
    Infact I followed all the steps specified in /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    But in SXMB_MONI this is the error I am getting :-
      <b><?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Identification
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_BE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error></b>
    Please help me out.
    Thanks All,
    Madhu.

    Hi,
    Please verify letter by letter if you haven't make a typo here:
    Default Interface Namespace -- http://mtf
    Default Interface Name -- mtf_mi1
    please also make a test of your scenario in integration directory
    please also do not use best efort quality of service
    /wg
    Message was edited by:
            Wojciech Gasiorowski

  • Mail to Proxy scenario with attachment. AF channel error.

    Hi,
    We are running SAP PI 7.1. I am experiencing the following problem in a Sender Mail adapter.(POP3).Mail to Proxy Scenario.
    I have configured a sender mail adapter channel as POP3. This channel is configured to use the Mail Package and to Keep attachments. When I send a mail with an attachment to the mailbox that is being monitored by this channel, then the channel collects it from the mailbox.
    In channel monitoring it indicates that the message was successfully delivered. However when I click on the message ID the view the audit Log it gives an error: u201CTransmitting the message to endpoint http://HOSTNAME:8101/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error transmitting the message over HTTP. Reason: java.io.IOException: Error writing to server.u201D The message never arrives at the integration sever to be view in sxmb_moni.
    Also when I sent a message without an attachment the message does go through. Or if I send a message with a text attachment the the message goes through, but not the attachment.
    Any help would be most welcome.
    Regards
    Willie Hugo

    Hi Willem,
    I'm coming back to your original problem: "com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error transmitting the message over HTTP. Reason: java.io.IOException: Error writing to server.u201D
    Actually I had the same problem here and found a solution for it. In this case it was a file to Proxy scenario. The file send was large. After structure conversion the file size was more then 100 MB as indicated in the Audit Log of the message "2009-03-02 09:27:06 Information Send binary file "<File_Name>" from ftp server "<ftpuser>", size 106706248 bytes with QoS EO.
    The ICM restricts all HTTP requests larger then 102 MB via the parameter icm/HTTP/max_request_size_KB which has a default value of 102400 (100 MB). Therefore it rejects the requests and your error is thrown.
    There are two ways of avoiding this:
    1) Increase the parameter:                                         
    Increasing the parameter implies a risk since large messages can overload the system (e.g. during the mapping). Therefore it is good to have these safety measurement in place.                                                                               
    2) Split the request:                                                    
    Depending on the scenario it might be possible to split the request  to restrict the max. number of records for a given file. This is the prefered option because it ensures better stability of the system and also better performance.                                                           
    I think this situation applies to you as well - but I'm not sure since you did not specify the request size and the size of the attachement.
    Best regards,
    Mike

  • Mail to proxy scenario with condition

    Hi Experts,
    I am using mail to proxy scenario.
    The mail box is having differnt files suppose:
    BOOKING_REF_DELIVERYNO_WB.pdf
    BOOKING_REF_SALESORDER_WB.PDF
    BOOKING_REF_CUSDECNO_WB.PDF
    DELIVERYNO_WB.pdf
    SALESORDER_WB.PDF
    CUSDECNO_WB.PDF
    BOOKING_REF_WB.pdf
    BOOKING_REF_DELIVERYNO_BOLCOPY.PDF
    BOOKING_REF_SALESORDER_BOLCOPY.PDF
    BOOKING_REF_CUSDECNO_BOLCOPY.PDF
    BOOKING_REF_BOLCOPY.PDF
    DELIEVERYNO_BOLCOPY.PDF
    CUSDECNO_BOLCOPY.PDF
    SALESORDER_BOLCOPY.PDF
    BOOKING_REF_AWB.PDF*
    DELIVERYNO_AWB.PDF
    SALESORDER_AWB.PDF
    CUSDECNO_AWB.PDF
    Depending upon the file name in the mail box, the file needs to be attached via proxy with particular code:(x for case 1, y for case 2 , z for case 3)..for attachment abap code wrtiiten for proxy.
    how to compare the file name from the mail?
    DO i need to write a UDF..mapped with filename field of the sender XSD?How to do that?
    Please suggest.
    Thanks,
    Sushama

    You can use the other UDF
    public String Get_Input_File_Name(Container container) throws StreamTransformationException
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String SourceFileName = conf.get(key);
    return SourceFileName;
    the previous one was for XI 3.0 , may be some differnt requiement I am not sure.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/content.htm
    regards
    Ninad

  • Mail to proxy scenario design

    Hello,
    In the new requirements, i need to set up mail to proxy scenario in sap PI. The mail comes in with a txt attachment. I can set up a sender mail adapter to fetch the mail and attachment. There are 5 columns in this file attachment. I need to read and map each record to the target message in message mapping. How do I do it? Any helpful answer would be really apprecaited.
    Cheers,
    Bai

    This piece of java code will remove the TAB
       //write your code here
      StringTokenizer st = new StringTokenizer(record,"\t",false);
      String t="";
      while (st.hasMoreElements()) t += st.nextElement();
      return t;
    Edited by: Bai Li on Dec 17, 2010 4:49 AM

  • MAIL TO FILE SCENARIO--3 MAILINBOX configured in the same Outlook

    Hi All,
    I have  a  below requirement :
    A vendor is sending an e-mail with attached an invoice (PDF, TIF, etc) to a common Outlook (But can have several mailboxes: eg abc@xxx. com ; xyz@xxx .com)
    When a new email arrives in these inboxes (Note : Same Outlook Server ), XI needs to pick up the attachment of the  unread mails and place it in  the network folder.
    I did go through this SDN Link (Mail to File Scenario ) : http://wiki.sdn.sap.com/wiki/display/XI/StepbyStepMailToFileScenario , but  have few queries:
    - Mail Sender CC should be configured as IMAP4 to read the unread mail , pick up the attachment and place it in network folder.
    -Here , how do we configure for several inboxes of same Outlook..?
    -Secondarly i believe , mapping is not required in this case  as xi just picks up the attachment and place in File location.
    Could you please me any info that  meets this requirement .
    Thanks,
    Vara

    Here , how do we configure for several inboxes of same Outlook..?
    Configure as many sender mail channels as the number of mailboxes.....each pointing to a different mailbox.

  • Filter mail account in MAIL to PROXY scenario

    Hi all,
    I have a MAIL to PROXY scenario, and i would like receive emails only from specific adress.
    I try using Mail Package and add a condition in the receiver determination but it doesn´t work.
    Is there any way for do this?
    Regards,

    use xpath in RD to allow only the mail address you want to follow through.
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers

  • Problem during mail to file scenario

    Hi all,
    I ve done all configurations but it is showing an error in the Modules tab....
    ModuleProcessorException: Error during processing local bean: localejbs/AF_Modulews/PayloadSwapBean caused by:

    Hi Sathish,
    Go through the links  for ur  developments.
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    Mail-XI-file scenario
    Email Adapter Throwing Error
    Error during configuration of Sender Mail Adapter
    regards
    sreeni

  • Is it possible Mail - PCK -File Scenario?

    Hi all,
    i want to try the scenario in PCK  where the mail adapter of PCK will pick the mail from mail server address and it will pass through PCK to the File receiver adapter.
    anyone have a related document for this scenario.
    Thanks
    Ashwin

    Hi
    PCk -with out XI???
    PCk is nothing but enables smaller companies to exchange xml documents with business parter's SAP XI
    Business system environment of small business partner is connected via PCk to integration server  by means of XI
    check this for PCK info
    /people/siva.maranani/blog/2005/08/30/pck-cross-sectional-analysis-part-1
    /people/siva.maranani/blog/2005/08/30/pck-cross-sectional-analysis-part-2
    http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/content.htm
    Message was edited by:
            Anu Ram
    Message was edited by:
            Anu Ram

  • IDoc to Mail (with attachment) scenario

    Hello,
    I have a simple IDoc to Mail scenario. The payload is send as mail attachment.
    The IDoc is mapped to a structure representing the attachment-file format.
    The <b>mail adapter</b> is set up as follows:
    Transport-Protocol: SMPT
    Message-Protocol: XIALL
    <i>Use Adapter-Specific Message Attributes</i> and <i>Variable Transport Binding</i> are checked.
    I also use Modul <i>StrictXml2PlainBean</i> to convert the Payload into FlatFile-Format.
    And I use the Modul <i>MessageTransformBean</i> to set up the Payload as attachment and to set up the name of the attachment. I use these parameters:
    Transform.ContentDisposition = attachment;filename=test.txt
    Transform.ContentType        = text/plain
    The result is an Email with two files as attachment.
    The first file contains the payload in FlatFile-Format as expected, but there is also a second file (XML-Format) with information about the message.
    Now:
    1. How can I get rid of the XML-File?  I dont need it and it doesn't help the receiver of the Email, its just confusing.
    2. How can I set up a dynamic name for the attachment from the paylaod ?
    Thanks for your help.
    Elko

    HI,
    I think your problem is solved.
    Refer the weblog which does the same thing.
    /people/michal.krawczyk2/blog/2006/02/23/xi-dynamic-name-in-the-mail-attachment--pseudo-variable-substitution
    I hope this is what you want.
    Thnx
    Chirag Gohil

  • Mail-XI-file scenario

    Hi,
    I am using a scenario mail(as sender) to XI to file(as Receiver).
    i am getting an error in the adapter monitoring ""error occured: exception caught during processing mail message; java.net.ConnectException: Connection refused: connect""
    Plz tell me any thing gone wrong in my scenario.i did:-
    1)In IR, i have created 2-DT's,2-MT's,2-MI's of same type(for receiver(file) and sender(Mail)) and 1-MM,1-IM.
    2)In ID,I have created a comm channel for sender mail adapter and i have given
    URL:- imap://192.168.236.113(my comp mail server address)
    user:- 511531
    Password:- xxxxxxxx
    and created comm channel for receiver file adapter,sender&receiver agreements Interface&receiver Determinations.
    I have one doubt, plz clarify:-
    1)Is the XI server will hit the mail server to pick the mails?
    2)If not the above case,then i have to send a mail to xi server.how can i send for testing.
    3)what is the story behind the error i am getting.
    thanks in advance
    Sridhar Raju

    Hi sridhar,
    From whatr you ve described it looks like the problem is in your configuration of your mail adapter as a sender. Check the parameters for the mail adapter that have been entered and also check if XI has acces to your mail server.
    This link might help you,
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

  • Mail to File Scenario

    HI,
    The scenario is like I am reading data from the attachment of an email using mail sender adapter and creating a file at unix server.
    Please provide me any good links which gives step by step configuration.

    Hi Priya,
    Did u try out with Adapter Modules to get these attachment info ?
    Else try out with that option..
    check out this thread [if you did not go thru before]:
    Re: sender mail adapter - attachment name
    Hope this helps, Regards, Moorthy
    Edited by: Krishna Moorthy P on Dec 20, 2007 10:15 AM

  • Download & save pdf file (mail to file scenario)

    Hi All,
    I have a simple scenario (mail to file), in which pdf file is being attached to incoming mail message. Attachment is "downloaded" (using localejbs/AF_Modules/PayloadSwapBean adaptor module(.
    Since no mapping required, the used "Integrated Configuration".
    my scenario works fine, no ERR and pdf file is created at target directory.
    When I'm trying to open the file the adobe is showing to following err msg:
    "Adobe Reader could not open 'xi_output.pdf' because it is either not a supported file type or because the has been damaged.."
    What can be done, to bypass the problem? Please advice.
    Regards,
    Uri

    Hi,
    >>>The only difference is that my current scenario is based on "Integrated Configuration", does it make sense?
    hmm this should work in the very same way with ICO but I never tested it with it frankly speaking
    but the adapter module works on the same adapter as without ICO so why should there be a difference
    (the swaping is done before the message is delivered to the IE or AAE processing)
    but you can try writing a note to SAP to crosscheck if this module works with local AAE
    Regards,
    Michal Krawczyk

  • Sync mail to rfc scenario

    Hi,
    I've implemented a simple scenario in which incoming mail msg is "pushed" to R/3 by rfc (i.e., mail to rfc). is it possible to config this scenario so returned answer (from rfc call) will be send back to the original mail sender?
    Regards
    Uri

    Mail and RFC both support sync behavior....the above mentioned scenario is very much possible...below should be the setting in your sender Mail channel:
    Transport Protocol: IMAP/ POP3
    Message Protocol: XIPAYLOAD
    Quality of Service: Best Effort.
    Have a doubt on the working......Sender Mail channel picks up any new mail that comes in the mailbox....so if the response from RFC comes back to the mailbox it will be a new mail.....sender mail channel will pick it up....may error out.....let us wait for experts to comment if this scenario (sync mail) is really possible.
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Dec 28, 2009 10:58 PM

  • Mail with attachment scenario

    Hi everyone.
    Once i've develope the adapter module with NWDS, next step is to develop a scenario sample.
    Scenario must be easy. Sender file that pass through XI and sends an email.
    Because i'm using a adapter module, i have some doubts.
    1) Do i have to use sap mail definition?
    2) If i don't use mail package, how can i give the email in a dynamic way?
    Regards,
    Inigo.

    hi,
    >>>2) If i don't use mail package, how can i give the email in a dynamic way?
    you can use dynamic adapter parameters (sp14 or more):
    /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
    just use: THeaderTO parameter :
    http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Maybe you are looking for

  • Mid 2012 13 inch MacBook Pro  - Repairs

    Hi, I am getting very bad experience with MID 2012 MacBook Pro. I am not sure how many you are getting. I brought this mac 08/2012 and spend 1200$ ( its big money). First year, I am happy this mac and nothing was happened (because it has warranty). I

  • My ipad showed a blue screen and shut down.

    My ipad showed a blue screen and shut down.  I cannot restart it.  A soft restart did not work.  I tried connecting to iTunes on the PC but it did not detect the device

  • HT3964 Mac keeps crashing constantly green blocks on screen

    Turn on mac and open any app and almost instantly it becomes unresponsive and crashes , green blocks then appear on screen and stays like it Help please!!

  • System Accepting for Making PO based on Un-released PR

    Dear gurus, We have activated PR Release stategy without classification. Even though PR was not released, system allowing to create a PO with reference to that PR. Please look into this and guide me, where we need to check/ verify the settings for no

  • Isolated Wave too small to work with, how do I increase size

    I use wave files I record myself. In the old version of Garageband when I double clicked on the wave in the track window it came up larger and editable. Now it comes up too small and impossible to work with. How can I increase the size of the wave?