Read attachment in the email adapter in PI 7.11

Hello Experts
I am working on as scenario where I would be receiving source payload as an attachment in the email, and I need to read the attached payload and map it to the target structure
please let me know how can i read the attachment as part of the payload
Thanks
PR

Hi,
have a look at my article:
The specified item was not found.
Regards,
Michal Krawczyk

Similar Messages

  • Can read attachment of the email

    I installed Snow Leopard on my iMac.
    However, I found out that I could not read multi-page tif or jpg files attached to the mails.
    There is no problem for OS X 5.8 Leopard.
    I moved the files to the desktop and tried to open them by using preview, but still can't open them.
    How come to the OS X 6.0 Snow Leopard that it could not perform such simple function?
    Can any one tell me how to do?

    Hello and welcome to the Discussions.
    I know about multi-page PDF, but not sure what you mean by multi-page tiff or JPEG? Clarification, please, including the source of these files? Would they be something that would require Flip4Mac to open (don't know why) or something similarly incompatible until a new update?
    Ernie

  • Issue with reading attachment in sender mail adapter

    Hi, I am working on Email to file scenario, where I have to connect to exchange server and take the attachment of the email (xml file) and save it on to PI server. I have configured sender mail communication channel with following details:
    Protocol: POP3
    Message protocol: XIPAYLOAD
    Mail attributes: keep attachments
    Module:
    1     localejbs/AF_Modules/PayloadSwapBean     Local Enterprise Bean     1
    2     localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean     Local Enterprise Bean     mail
    1     swap.keyName     Content-Description
    1     swap.keyName     Content-Description
    1     swap.keyValue     attachment,filename="MailAttachment-1.xml"
    1     swap.keyValue     MailAttachment-1
    Also, configured receiver file adapter.
    Since I donu2019t have to read mail content , I havenu2019t created any design components in ESR. I have just refrred to dummy namespace, interface (both sender and receiver). in receiver determination, interface determination, sender agreement and receiver agreements.
    It was working fine, not sure what changes happened. Now I could see the attachment payload in message monitor.
    Under Inbound message->payloads->
    MailMessage ( text/xml;charset=utf-8 )
    MailAttachment-1 ( text/xml;name="****************")
    But the fille that is getting created doesnu2019t have the contents of the attachment (xml file) .  It has some other information, shown below:
    Directory:  ******
    Name:       ********.xml
          =NextPart_002_01CB2C5B.B033B325#
    content-type:text/plain;charset="us-ascii"#
    content-length:30#
    content-transfer-encoding:quoted-printable#
    <<**********.xml>>=20#
          =NextPart_002_01CB2C5B.B033B325#
    content-type:text/html;charset="us-ascii"#
    content-length:#
    content-transfer-encoding:quoted-printable#
          =NextPart_002_01CB2C5B.B033B325  #
    Can you please let me know what is going wrong here.

    using following parameters in module resolved my problem:
    MOdule name                                                                           Type                                                            Module Key
    AF_Modules/PayloadSwapBean                                            Local Enterprise Bean                                      transform sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean     Local Enterprise Bean                                      mail
    Module Key                                    Parameter Name                              Parameter value
    transform                                        swap.keyName                                Payload-Name
    transform                                        swap.keyName                                 MailAttachment-1

  • Attachment of the email and PDF

    When transfer the outllook emails to PDF package, the attachment of the email will not tranfer to PDF, but still keep as word format, how to transfer these attachment also to PDF?
    When print the PDF package which tranfered from the emails, only the first email could be print out, how to print out all pages of emails together with their attachment?

    Ok, so what do I do then? My Question is this. I am using Pages to create email flyers for my business. I have been Exporting them into a PDF File, but they as you say, send as attachements. I need to know how to send them in an email, as an email and not as an attachement.
    What do I do to save and send them differently. I know it can be done since I get craploads of Junk mail everyday that look like that. Please help, I have a deadline to meet approaching very soon. Thanks!!!!!!!!!!!!!!!

  • TS3899 Whenever I send a email from iPad mail app with an attachment from pages or numbers, the receiver is getting only attachment in the email. They are getting the email content. How to troubleshoot this issue.

    Whenever I send a email from iPad mail app with an attachment from pages or numbers, the receiver is getting only attachment in the email. They are getting the email content. How to troubleshoot this issue.

    Someone is probably sending spam with your address forged on the To: line.  Could be one of your old contacts with a Windows machine has a virus that's doing it.  It's also possible your e-mail account has been hacked, though I'd think such a hacker would be a bit more purposeful.
    For more information, see:
    http://www.reedcorner.net/guides/macvirus/is_it_malware.php#spam
    * Disclaimer: links to my pages may give me compensation, and should not be taken as endorsement of my services by Apple.

  • How can I print only the attachment without the email content

    How can I print only the attachment without the email content. Every time I send to print, It prints the email itself with the attachment- can I cancel that?

    Hello Riklama,
    When you first open the attachment (e.g. on your phone) than you can mail only that attachment. Works fine with my husbands blackberry.
    Elsy

  • We have to read the attachment in the email

    Hi All,
    We have requirement that we have to read the Email from particular Emailid we will get an XML as an attachment and we have to read the attachment with in the email and we have to store the values into database.
    Can any one help in this issue....urgent
    Thanks in advance,
    Regards,
    Nagaraju .D

    I think that is the default behaviour of pop, i do not know how to set a kind of 'leave copy on the server' option. You could switch to the imap protocol if there is an imap server available. You can then choose:
    <PostReadOperation>
    <MarkAsRead/>
    </PostReadOperation>
    or
    <PostReadOperation>
    <DeleteMessage/>
    </PostReadOperation>
    To change this edit your ns_emails.xml file and fill in the IncomingServerSettings section.
    The Reply To is the email address that the sender of the email indicates as address to use in case you would reply to his message.
    Kind Regards,
    Andre

  • Using Attachments in the Email Adapter

    Hi,
    I'm using an email adapter(Sender - XIPayload) to send message to XI. It was working fine when my mail content was the XML messsage. But now i have to use the content of an attachment file to do the mapping. The attachment is an XML file. I have checked the Keep attachments option and now i can see that the payload contains two sections. One is the mail content and the attachment content. But the mapping fails. How can i specify that the content of the attachment is to be used for mapping? Can somebody give some inputs on how to achieve this?
    Thanks,
    Sandeep

    Hi Sandeep,
    To use attachments in mail adapter, just do the following things:
    -     Set the Keep Attachments indicator.
    -     And you use the PayloadSwapBean module to swap the application payload with one of the attachments.
    Please also go thru the following links:
    http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/content.htm
    Regards,
    abhy

  • Duplicate enties getting attached in the email excel

    HI,
      When am trying to send the details in the excel duplicate entries are getting attached in the excel though the internal table has the correc value.The list is displaying the contents such as 1-255 are correct entries and 256-511 are the duplicate entries.
    Instead of attaching in the excel if am displaying in the contents of email the details are getting displayed correctly.Please help to correct this duplicate entries in the excel.Code is as follows
    TABLES: edidc,somlreci1.
    TYPE-POOLS: slis,sscr.
    TYPES: BEGIN OF gt_edidc,
           docnum TYPE edidc-docnum,
           status TYPE edidc-status,
           credat TYPE edidc-credat,
           idoctp TYPE edidc-idoctp,
           mestyp TYPE edidc-mestyp,
           rcvprn TYPE edidc-rcvprn,
           END OF gt_edidc.
    DATA:gi_edidc       TYPE  STANDARD TABLE OF gt_edidc.
    DATA:gw_edidc      TYPE gt_edidc.
    SELECTION-SCREEN:BEGIN OF BLOCK b01 WITH FRAME TITLE text-001.
    SELECT-OPTIONS:s_credat FOR sy-datum .
    SELECT-OPTIONS: s_mailid FOR somlreci1-receiver OBLIGATORY
                      NO INTERVALS.
    SELECTION-SCREEN:END OF BLOCK b01.
    INITIALIZATION.
      s_credat-low = ' '.
      s_credat-high = sy-datum - 2.
      APPEND s_credat.
    start-of-selection.
    SELECT docnum status idoctp mestyp rcvprn FROM edidc INTO CORRESPONDING
      FIELDS OF TABLE gi_edidc
         WHERE credat IN s_credat AND ( status EQ 64 OR status EQ 30 ).
    IF no idoc selected for the given idoc date give the error message.
      IF sy-subrc <> 0.
        MESSAGE e000 WITH 'No idoc selected for the given input'.
      ENDIF.
    DATA: lv_objpack LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
    DATA: lv_objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE.
    DATA: lv_objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE.
    DATA: lv_objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE.
    DATA: lv_reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINE.
    DATA: lv_doc_chng LIKE sodocchgi1.
    DATA: lv_tab_lines LIKE sy-tabix.
    data: lc_dsn_totals TYPE string.
    DATA: gv_date_mmdd(10) TYPE c.
    DATA: gv_message(50) TYPE c.
    lv_doc_chng-obj_descr = 'IDoc Error Status'.
        lv_objtxt = 'Please Find the Attached IDOC Error List'.
        APPEND lv_objtxt.
        lv_objtxt = 'Have a good day'.
        APPEND lv_objtxt.
    Mail Contents
      DESCRIBE TABLE lv_objtxt LINES lv_tab_lines.
      READ TABLE lv_objtxt INDEX lv_tab_lines.
    *attaching the data excel sheet to be sent as the email.
    CONCATENATE 'IDOCNUMBER'  'STATUS'  'BASIC TYPE'  'MESSAGE TYPE' 'PARTNER'
    cl_abap_char_utilities=>newline INTO lv_objbin-line separated by
         cl_abap_char_utilities=>horizontal_tab.
         append lv_objbin.
      LOOP AT gi_edidc INTO gw_edidc.
        CONCATENATE gw_edidc-docnum gw_edidc-status gw_edidc-idoctp
                      gw_edidc-mestyp gw_edidc-rcvprn
                      cl_abap_char_utilities=>newline INTO lv_objbin-line
         separated by  cl_abap_char_utilities=>horizontal_tab.
        APPEND lv_objbin.
      ENDLOOP.
      APPEND INITIAL LINE TO lv_objbin.
    lv_doc_chng-doc_size = ( lv_tab_lines - 1 ) * 255 + STRLEN( lv_objtxt ).
      CLEAR lv_objpack-transf_bin.
    *OBJPACK-TRANSF_BIN = 'X'.
      lv_objpack-head_start = 1.
      lv_objpack-head_num = 0.
      lv_objpack-body_start = 1.
      lv_objpack-body_num = lv_tab_lines.
    *OBJPACK-BODY_NUM = 1.
      lv_objpack-doc_type = 'RAW'.
      lv_objpack-obj_name = 'Mail'.
      lv_objpack-obj_descr = 'First Mail'.
      lv_objpack-doc_size = lv_tab_lines * 255.
      APPEND lv_objpack.
    Creation of the entry for the compressed document
      DESCRIBE TABLE lv_objbin LINES lv_tab_lines.
    CLEAR lc_dsn_totals.
      IF sy-langu = 'E'.
        CONCATENATE 'IDOC_TOTALS_' sy-datlo '_' sy-timlo INTO lc_dsn_totals.
        endif.
    *CLEAR OBJPACK-TRANSF_BIN.
      lv_objpack-transf_bin = 'X'.
      lv_objpack-head_start = 1.
      lv_objpack-head_num = 0.
      lv_objpack-body_start = 1.
    *OBJPACK-BODY_NUM = TAB_LINES.
      lv_objpack-body_num = lv_tab_lines.
      lv_objpack-doc_type = 'CSV'.
      lv_objpack-obj_name = 'ATTACHMENT'.
      lv_objpack-obj_descr = lc_dsn_totals.
      lv_objpack-doc_size = lv_tab_lines * 255.
      APPEND lv_objpack.
    *Create the list of recipients
    LOOP AT s_mailid.
        lv_reclist-receiver = s_mailid-low.
        lv_reclist-rec_type = 'U'.
        APPEND lv_reclist .
      ENDLOOP.
    Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = lv_doc_chng
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = lv_objpack
          object_header              = lv_objhead
          contents_bin               = lv_objbin
          contents_txt               = lv_objtxt
          receivers                  = lv_reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          operation_no_authorization = 4
          OTHERS                     = 99.
      IF sy-subrc = 0.
        MESSAGE s000 WITH 'Email succesfully delivered'.
        SUBMIT rsconn01 WITH mode = 'INT'
                          WITH output = 'X'
                          AND RETURN.
      ELSE.
        MESSAGE s000 WITH 'Error while sending email'.
      ENDIF.

    Your code is tough to understand in the way you posted .....
    make sure you are clearing the data in some internal tables.... or make sure you are using the correct table for email body and to excel
    if at all if you are using header line clear: itab[] will clear the whole table..

  • Message when opening the attachement in the email

    Hi,
    Am trying to send a attachement to mail.The contents of the email are fine but when i tried to open the attachement its poping up a information message as "Error has detected that "details.xls" is a SYK file but cannot load it.Either it has a error or it is not a SLK format.Click OK to open the file".How to get rid of this error?

    Hi,
    May be try checking this.
    In your system, in the CONTROL PANEL -> FOLDER OPTIONS.
    I am not sure but try this.
    Regards,
    Santhosh.

  • Since upgrading to Lion, my PC recipients are not receiving photos I attach to the email sent from iphoto. Why?

    Since I upgraded to Lion, my photos are not attached to emails. Example: I select photos in iphoto, click Share and send the email.
    Recipients tell me that there is 'nothing attached, no photo attached."  Can you help?

    This doesn't work for me at all. I tried entering exactly the same information that I used to set up my regular email account and I'm still getting an error message. I even tried switching to using my gmail account and neither one worked. Then it got hung up and had to repair my database! I have a lot of photos on my Mac (thank goodness they're backed up) and I was really sweating it for a moment.
    Apple is so easy until it's not. I find this to be really aggrevating and I'm irritated that it hasn't been fixed. In fact I did an online search and someone described this same problem in detail and it was exactly what was happening to me. Same error messages.
    I'm frustrated that Apple keeps updating it's operating system and then we go through these glitches.
    And while I'm at it, I have never had such a frustrating time using my login information as I have to get into this forum! Why do they make it so difficult? There's just something about the way it's worded that get's me messed up every time. Meanwhile, at least get iPhoto fixed!

  • I keep getting "undelivered mail returned to sender" that comes with an attachment. I have not opened the attachment but the email returned is usually from people that i have not emailed in a long time.

    I keep getting "undelivered mail returned to sender" that comes with an attachment. i do not open the attachment but i get email returned from people that i have not emailed in years. I also have current people that tell me they receive email from me and there is nothing on the email and it is a repetative thing for them and for me. I have scanned my computer and it keeps telling me there are no viruses but i keep getting these emails. can anyone help me please!

    Someone is probably sending spam with your address forged on the To: line.  Could be one of your old contacts with a Windows machine has a virus that's doing it.  It's also possible your e-mail account has been hacked, though I'd think such a hacker would be a bit more purposeful.
    For more information, see:
    http://www.reedcorner.net/guides/macvirus/is_it_malware.php#spam
    * Disclaimer: links to my pages may give me compensation, and should not be taken as endorsement of my services by Apple.

  • Is there a way to send the email notification as a PDF attachment and the email receipt as an email

    Has anyone found a way to send the email notification as a PDF attachment rather than email? I would still like to send the receipt as an email though? Any thoughts or experiences out there?

    Thanks for prompt response. Does this mean that there are future plans to do this?
    The forms received are used as part of a registration process into aonther system and aren't that User friendly in an email form. They have to be processed as received, so not efficiet to go in through the back end.

  • Can we have more than one attachement to the "Email with Attachment" activity

    Guys,
    I have a requirement  in which the process has n number of approvers in the flow, and each  approver can add attachments to the form in the list<document>  variable which carries the attahced documents.
    At the end of the process i am supposed to send a email with all the attached files to a help desk team.
    I know that the Email with attachment activity supports one attachment. is there any posibility or other  activity that i can use to send an email with any number of attachments?

    Hi Ashok
    The service you want is called "Send with Map of Attachments". This service is not on the toolbar.
    If you drag on the Define Activity step and type "email" in the Find box you will see under Foundation that there are 3 email services.
    Choose Send with Map of Attachments.
    For help on this service see: http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.htm?content=000570.html
    Diana

  • Some of the attachment in the email is not displayed in email app

    I'm unable to view attachments in some of the emails which are able to see in browser but not in email app. please help me on this i'm using macbook air with mac osx version 10.8.4

    Quit Mail. Force quit if necessary.
    Back up all data. That means you know you can restore the Mail database, no matter what happens.
    Triple-click the text on the line below to select it:
    ~/Library/Mail/V2/MailData/Envelope Index
    Copy the selected text to the Clipboard (command-C). In the Finder, select
    Go ▹ Go to Folder
    from the menu bar. Paste into the box that opens (command-V), then press return.
    A Finder window will open with a file selected. Move the selected file to the Desktop, leaving the window open. Other files in the folder may have names that begin with "Envelope Index". Move those files, if any, to the Trash.
    Log out and log back in. Relaunch Mail. It should prompt you to re-import your messages. You may get a warning that the index is corrupt and that Mail has to quit. Click OK.
    Test. If Mail now works as expected, you can delete the file you moved to the Desktop. Otherwise, post your results.

Maybe you are looking for

  • Creative mediasource organizer not recognizing zen microph

    I jusr recently had to restore my laptop to factory settings so I had reinstall creative. But now when I open the mediasource to try to get songs off of my microphoto on onto my laptop, it doesn't show my zen in the little dropdown where it shoes pc

  • N81: internet problem

    Hi...I have a big problem with my N81 2gb . From a couple of months when I try to surf on the internet, both by web of vodafone and by the wi-fi line at home, it doesn't work. My phone trys to open the internet page but the display images just disapp

  • Can I use .otf fonts in any iPad(3rd gen) word processing app?

    I am a newcomer to iPad usage,but I have been asked if I can use a .otf font in any iPad3 (word processing) app, but so far I have not been able to determine whether this is possible. All the apps I have looked at so far do not specify .otf compatibi

  • Compton shadows issue

    I use openbox WM with compton and when I move tab in google-chrome, I see ugly shadow: How to remove shadows from this? Last edited by LinX (2012-12-11 20:28:16)

  • Hierarchy  column display image(Triangle) format need to be changed in obiee11g

    Hi ALL, Hierarchy  column display image(Triangle) format need to changed For Mobile users of obiee11g, the triangle symbol image is big in size while viewing in mobile phone,i have two issues 1. I need to reduce the size of triangle image 2.Need to r