Email Attachment to iDoc

Hi All,
I have a very interesting requirement and need help to complete the interface.
Requirement
1. Pickup the Email Attachment (attachment contains ORDERS05 XML)
2. Do the mapping (ORDRES05 -
> ORDERS05 with minor changes)
3. Send the iDoc to an ERP System.
AND
1. Pickup the Email Attachment (attachment contains ORDERS05 XML)
2. Send the Attachment along with the same file name to the FTP Server.
Can somebody please help me in this.
Thanks,
Iqbal

Hi,
i did not yet do it, but just in few minutes, you have at least that:
[Read the attachments of the input XI message in the message mapping|Read the attachments of the input XI message in the message mapping]
[http://wiki.sdn.sap.com/wiki/display/XI/AdapterModulePI7.0GetAttachmentName|http://wiki.sdn.sap.com/wiki/display/XI/AdapterModulePI7.0GetAttachmentName]
regards
Mickael

Similar Messages

  • Receive an email attachment and process it

    Hello all,
    could you please explain me, how can I process an email attachment, that comes into XI? My scenario is follows: I receive a mail with attachment into XI, search in attachment to which email this message should be forward and forward the modified message to receiver.
    I' ve done successful the similar scenario with java mapping, where an incoming IDOC was parsed and mapped to mail message with attachment. Outgoing mail structure was in this case follows:
    <?xml version="1.0"; encoding="UTF-8"?>
    <ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
        <Subject>=?utf-8?Q?Subject?=</Subject>
        <From>"mailSender"&lt;[email protected]&;gt;</From>
        <To>"mailReceiver"&lt;[email protected]&;gt;</To>
        <Content_Type>multipart/mixed; boundary="--AaZz"</Content_Type>
        <Content>----AaZz
            Content-Type: text/plain;         charset=UTF-8     
            Content-Disposition: inline
            Confirm with attachment.
            ----AaZz
            Content-Type: application/xml;
            name=Auftrag.xml
            Content-Disposition: attachment;
            filename=confirm.xml
            <?xml  version=&quota;1.0&;quot; encoding="UTF-8>
    </Content></ns:Mail>
    Now I try to repeat this, but I don't get such incoming structure from pipeline. I always see there two payloads: mailMessage and mailAttachment. Could anybody tell me, how have I to configure send channel to get such structure by receiving a mail into xi in xi payload? Is it possible? if no, than how can I handle with attachment of incoming mail message?
    thanks in advance

    Hi Anna !
    Try to do this:
    Send an email to the email account configured in the mail sender adapter, but avoid XI to pick it up. Instead, downloaded with your mail client (webmail or something like outlook). There should be an option to see the mail in RAW format, with all headers and content, sometimes refered as "original message". And try to find the headers related to the attachment, like the ones below as stated in the blog. Maybe in your case the header is a different one and payloadswapbean should be configured differently. And also be sure that your attachment is already in XML, if not, XI will not be able to send it to the integration engine for mapping.
    Regards,
    Matias.
    ps: please award points if helpful.
    --SAP_1c3f0981-6fe8-11da-82b2-000d601c4c42_END
    Content-ID: <[email protected]>
    Content-Type: text/xml;name="=?iso-8859-2?Q?abcdefg.xml?="
    Content-Disposition: attachment;filename="MailAttachment-1.xml"
    Content-Description: MailAttachment-1
    ?<?xml version="1.0" encoding="UTF-8"?>
    <ns0:inside xmlns:ns0="http://frik.com">
       <name>
          <nameone>somename</nameone>
       </name>
    </ns0:inside>
    Edited by: Matias Denker on Jan 4, 2008 11:44 AM

  • I have files that have been on my computer for over a year and all of a sudden they wont open and an error message comes up saying they were improperly downloaded or came in an email attach which is not the case

    I have files that have been on my computer for over a year and I have used them several times and all of a sudden they wont open.  I received an error message saying they are improperly downloaded or came as an email attachement which is not the case.  Please advise

    They seem to be word files - they will open if I choose "open with" microsoft word, but if I double click they don't open they are appearing as PDF on my screen.  I even opened one and then tried to "save as" making sure I chose .doc and they still appear as PDF
    I just created a new document response.doc in word and when I saved to my desktop it appears as a PDF file and I absolutely did not create a PDF or save as PDF it was a simple word
    doc.
    The message says "Adobe reader could not open response.doc because it is either not a supported file type or because the file has been damaged (for example attached in an email and not properly decoded)
    The reader version is I believe the most current, I always update when prompted.  OS is Windows 8

  • Email attachment name in sender mail adapter to the receiver file adapter

    HI ,
    Ths is regarding email to file scenario. I am trying to create file (in rceiver file adapter) with the same name as the email attachment that i read from mail sender adapter. I want ro use adapter module for this. I could find from blogs that there is module - GetAttachmentName - available that i can use for this in sender mail adapter.
    Can you please let me know what whetehr i neeed to mention any module key and parameters for this.
    I assume , i need to do following steps :Please confirm.
    1. i can use this module - after payload swap module and before standard mail adapter module in sender mail adapter
    2. select ASMA option in advanced tab in sender mail adapter
    3. In receiver file adapter select ASMA option in advanced tab in sender mail adapter
    4. Also select file name option in ASMA in sender mail adapter
    Thanks,
    Vamsi

    Hi Vamsi,
    your scenario is also described here: Re: sender mail adapter - attachment name
    If you use the Module getAttachmentName, which is described here,
    http://wiki.sdn.sap.com/wiki/display/XI/AdapterModulePI7.0GetAttachmentName
    your scenario should work as you described it.
    You just need to make sure that the Attachment Name that you read in the first place, is mapped to the Filename Attribute of the
    Fileadapter (http://sap.com/xi/XI/System/File/FileName).
    regards,
    Daniel

  • I bought an iphone 4 from my friend and he do not know his apple ID and we are trying to know the email attached to is apple ID so we can rest it cause he forgot them as well and the reset button in the 2 steps always says that the email is always sent !

    i bought an iphone 4 from my friend and he do not know his apple ID and we are trying to know the email attached to is apple ID so we can rest it cause he forgot them as well and the reset button in the 2 steps always says that the email is always sent ! ( even if you wrote a worng ID like ( asdasdasd ) it will say sent !! how come and now am trying to know or need a hint on that email so my freind could try to remember it !
    to those who will think that this phone is stolen , no its not and i would love to go to apple store if there is 1 in jordan so they can help us ,
    i have everything with this iphone the box the catalog its serial number , everything but the ID and the (and apple ID is everything as you know)
    so please if anyone have any suggestion to help me , and even apple it self if the can help me to get a support from them cause i tried everything to contact them by mail or any other option since as i said there is no apple store in jordan

    he knows his ID , if he did all whats in the link he can get his password back ?
    how can i make him call applecare ? is there a way to speak to them from jordan ??
    i have been trying to reach any1 in apple so they can communicate and help my friend (us) to make him remember it .
    am not asking for the password or trying to get into the phone without using it , and i can take my money back though i need to help my friend as well since now he cant use it as well.
    thanks kil

  • HT5275 When I download an attachment, it doesn't open in a new window.  It goes to my finder, but I must click on an email attachment at least 3 times in order to find it there.  Is there a way to change the preferences to simply open attachment in a new

    When I download an attachment, it doesn't open in a new window.  It goes to my finder, but I must click on an email attachment at least 3 times in order to find it there.  Is there a way to change the preferences to simply open attachment in a new window?

    http://www.apple.com/feedback/kaywerty wrote:
    A rather long winded way of asking if anybody knows if it's possible to have multi-windows open
    It's not possible.
    Suggestions here -> Apple Product feedback

  • I have an email attachment that I would like to be able to access when NOTconnected.  I found one suggestion that I should open the attachemtn iniBooks and save it there.  Unfortunately, I have no idea how to do that.

    I am trying to store an email attachment (an Excel spreadsheet) somewhere on my iPhone 5 to be able to access it easily in the future.  I do not need the ability to work on it, just to access it, although it would be convenient if i could load updated versions over it on a regular basis.  The spreadsheet was created in Excel on a laptop with Win 7.  I read one posting that said I should save the document to iBooks and then could open it whenever I wanted.  The same posting refered to something in the upper right corner of the attachment that enabled me to save it to iBooks.  Unfortunately, there is no such option showing when I looked at the file, which I did email to myself.  I was able to open the attachment, but can't get beyond this point.  My tech ability doesn't go much beyond being able to power up my phone, so I need a really simple solution, if one exists.

    First of all, Excel file can't save to iBook.  (iBook only can view PDF files). That's why you don't see it in "open in" options.  In order for you to save excel, you will need a third party app like Numbers, Office2.  There are a few free apps that can use to view.  I used Office2 from Byte2, because I can not only store and view later, I can do some edit too.  Especially when you want to edit a few numbers and re send them to my office or clients will be very useful for me. 

  • Mac won't open some files MasterPlan.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).

    I had this problem of not being able to open some files a couple of years ago and eventually was able to fix it but i can't remember how. Any help would be grateful.

    The following document should help: Error: Adobe Reader could not open '*.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and was not correctly decoded.)
    Please update this thread if your issue is resolved.
    Thanks,
    Shashi

  • Email attachment in PDF problem with Images

    Hi All,
    Can any one tell me how to solve the problem with Email attachment in PDF. If i remove the logo of the client in the Smartform i am getting the Email attachment fine but when i put back the image in the smartform the PDF is giving error and not opening the attachment.
    Regards,
    Lakshmikanth.

    Hi All,
    Can any one tell me how to solve the problem with Email attachment in PDF. If i remove the logo of the client in the Smartform i am getting the Email attachment fine but when i put back the image in the smartform the PDF is giving error and not opening the attachment.
    Regards,
    Lakshmikanth.

  • How to convert a workbook into PDF and broadcast as Email attachment

    Hello Gurus,
    i have installed the ADS (Adobe Document services). I would like to broadcast workbooks as a pdf file to some user.
    When i open the workbook and go to Broadcast --> Setup a broadcast setting for this workbook. The distribution type is
    Broadcast E-mail; Broadcast E-mail (Bursting); Broadcast Portal; Broadcast Multichannel and Output Format only MS Workbook and Link to current Data. Here i miss the possibility as PDF.
    Where can i set up that the workbook should be broadcast as PDF.
    Any help appreciated.
    Thanks and kind rgerads,
    Murat

    Thanks all for your answers,
    i also read that with changing the format in Report designer then broadcasting via PDF. Is there no possibility for PDFs for MS Excel Workbooks? How does it work when opening the query in Report designer? What do i have to do there but it is no solution for us because in the workbooks we use GET BEX DATA formulas and just show parts of the analyisis grid. I need a proper solution how to use broadcaster converting workbooks into PDF an send them as email attachment
    Thanks,
    Murat

  • I bought an ebook but when I  try to download it I receive a message stating 'Adobe reader could not open .....acsm because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wa

    Can anyone assist me? I keep receiving this message when I download my ebook ''Adobe reader could not open .....acsm because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't decoded).'
    Much appreciated

    I think you should ask in the Digital Editions forum, Adobe Digital Editions

  • Deleted the email attached to old Apple Acc & forget password. Still registered to my iPod? How do I use a new Apple ID in App Store for my iPod?

    I have deleted the email address attached to my Apple ID. I know what the email address is but it is non-existant. I thought I remembered the password but apparently it is incorrect? When I go to the App Store on my iPod and click my account to try and sign out. It does nothing and the button is faded out. When I try to download a free app it asks for the password for the old account with a deleted email attached to it. How do I sign out of this account on my iPod so I can sign in to another Apple ID to download apps?

    - Go to settings>Store and sign out and sign into another account.
    NOTE:
    - Apps are locked to the account that purchased them.
    - To update apps you have to sign into the account that purchased the apps. If you have apps that need updating purchased from more than one account you have to update them one at a time until the remaining apps were purchased from one account.
    Try recovering access to your account by using the secret question methosd
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.
    Then
    I no longer have an email address that was also my Apple ID. Can I still use the email address as my Apple ID?
    Apple recommends you change your Apple ID to your current, working email address. This will not create another Apple ID, it will only change it to your working email address. See Changing the name you use for your Apple ID if you'd like more information.

  • How to set up link on icon to forward PDF file as email attachment

    HI,
    I need urgent help.
    I know this used to work but cant find it in Acrobat XI.
    We created a file for a client, on the last page is a twitter, facebook and linkedIn icon which are set as links in Indesign to forward to the matching social network. Works fine when I created PDF with Hyperlinks.
    We also set up an envelope symbol which shall get, now where it is set up as PDF,  a link, so the PDF itself can get forwarded as a email attachment.
    I can not find this function on a MAC nor on PC Acrobat XI.
    Hope you can help, much appreciated!!!!
    THANKS

    Have a look at this thread:
    http://forums.adobe.com/thread/1275490?tstart=0
    where there is a script for submitting the PDF by email.

  • Acrobat XI email attachment does not appear to work with Outlook 2013 64 bit

    When attempting to send email from Acrobat, the following Microsoft Office Outlook 2013 64 bit error message is received: 
    "Either there is no default mail client or the current mail client cannot fulfill the messaging request.  Please run Microsoft Outlook and set it as the default email client."
    Naturally, Outlook was set as default client and then reset for good measure.  I did both Outlook and Acrobat repairs and have the latest 11.0.2 installed.  All other internal Office 2013 email applications work as well as seemingly all other embedded Acrobat funcitions with Office 2013 work well.  Office 2010 64 bit and Acrobat X worked fine.  I upgraded to Office 2013 64 bit and had the problem with Acrobat X.  I then upgraded to Acrobat XI and the issue remained.
    Most importantly, I intalled Office 2013 64 bit on my laptop with Acrobat X.  An the email attachment function works perfectly. 
    So, is there some sort of corrupt MAPI file that I have to overwrite on my desktop that the Ofice and Acrobat repair functions do not fix?
    Thanks,
    Joe

    I am sorry.  In my haste, not only did I attach the link the wrong way, but I also did not specify which solution worked.  My problem was a Click to Run issue.  The portion of the thread that deals with the problem is:
    "HurdleRemove replied on May 16, 2013
    I created a solution for this problem for 64 bit Windows 8 where Outlook 2013 was installed as Click-To-Run.......
    ......A  registry edit will fix the problem with Outlook 2013 click to run  installations and enable Outlook to be set as the default mail client.  This registry edit will for many third party programs eliminate the error "Either  there is no default mail client or the current mail client cannot  fulfill the messaging request. Please run Microsoft Outlook and set it  as the default mail client." It  worked to resolve the problem where Adobe Acrobat was generating this  error.
    The registry edit is here for Office  2013 64 bit click to run installations that will enable Outlook 2013 to  be recognized by third party applications:
    1. Create registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\15.0\Outlook
    2. Create String value:
    Bitness
    3. Set the String value for Bitness to:
    x64
    This registry edit is an essential element  necessary to resolve the click to run problem that prevents Outlook 2013  from being set as the default mail client. Although it worked with  Adobe Acrobat, it will not completely resolve the  problem for some third party applications like Kerio Outlook Connecter  where the software developer has a web site that includes extra steps  necessary for a full resolution for the Kerio product. The Kerio web  site includes this registry edit in the context  of resolving the Office 365 problem. However, the registry edit works  with Office 2013 desktop as well. A similar register edit could likely  be made for 32 bit versions but the registry path would not include Wow6432Node. I do not have a 32 bit machine and cannot test a 32 bit solution."

  • HT201077 How do I move an email attachment to photo stream?

    I have a great photo from my daughter and would like to view it full screen on my iPad.  I understand it has to be added to the Photos app.  It is currently in an email as an attachment.  How to I get this photo from my email attachment to Photos and presumably to Photo Stream?

    Open the email, tap ad hold the image, in the window that opens tap Save Image.

Maybe you are looking for