How to bring attachement in BPM

Hello,
We are on XI3.0 SP10.
This question concerns an RFC to SOAP scenario.
we are sending purchase order from EBP to XI by RFC (bapi).
Inside XI we use a BPM for mapping.
RFC doesn't support attachements.
How can we catch the attachement in the BPM in order to join it to the final message sent by the soap adapter?
Hoping for your answers,
Best regards,
Laurent.

Hi Matias,
Thanks for these helpful answers.
For me i have now two solutions :
1. Change the RFC adapter with a Proxy to send the bapi (BAPI_POEC_XML_SEND) that sends po to XI. Is this possible?
2. "in the trigger program before the sending of this bapi, there is a step that you can configure to send the full content of the attachement to a webserver. (spro settings.) below is the module function that sends the attachement."
        CALL FUNCTION 'HTTP_PUT_COMPONENT'
          EXPORTING
            absolute_uri     = lv_attach_url_write
            proxy            = lv_proxy
            user             = lv_user
            password         = ls_att_pub-i_password
            component_length = lv_filesize
          IMPORTING
            status_code      = lv_statuscode
            status_text      = lv_statustext
          TABLES
            component_data   = ls_attach-phio_content
          EXCEPTIONS
            connect_failed   = 1
            timeout          = 2
            internal_error   = 3
            tcpip_error      = 4
            OTHERS           = 5.
The phio_content is binary data sent with type RAW - 1022.
In the bapi sending step (second step of trigger program) there is no standard way to send the phio content but only url."
My first reaction was to add the phio_content to the bapi and send it with it.
But is there a way to rebuild the attachement afterwards in xi or in marketplace?
The other solution like you said is to follow standard that sends attachement to webserver. send the url by the bapi with rfc adapter.
Add a 'receive step' in the BPM that will look for the url on the webserver with a file or soap adapter and then bundle the two messages together to send it with the soap adapter.
Which solution should be the best?
Thanks for all.
Regards,
Laurent.

Similar Messages

  • How to send attachment(file) in javamail via JSP ?

    Dear Friends,
    Please guide me for :
    (1) my e-mail client is using JSP. So, hoW to send file-attachments via jsp ?
    Please specify example for attaching file(s) to a message object in JSP ( and only in JSP ).
    I have used HTML <input type="file" .... > control , but don't know how to bring that file to the jsp file and then attach it to the message object.
    Thank u.

    I wouldn't recommend using JSP to do that. I would use a servlet instead. Then you are just writing Java code, and to answer your two questions you need to learn about JavaMail (1) and get some already-written classes to do file uploads such as this one: http://www.servlets.com/cos/index.html (2).

  • Hello I would like to know how to bring up the option to share internet on my iPhone 5 disappeared from the settings option

    hello I would like to know how to bring up the option to share internet on my iPhone 5 disappeared from the settings option

    I did have all addresses downloaded through icloud when I first purchased my iphone 5 but since then I have attached various photos to people in my address book on my imac and would now like those details to be shown on my iphone.
    Mac OS X version 10.7.5
    Iphone 5.

  • How to bring the data from application server to presentation server

    hi,
    i have one problem,i have written the program which will open the files in the application server when we run the program in the background(sm37),the same data from application server i want to bring into presentation server in the format of (.csv),how to bring the data from application to presentation server can any body help me on this  topic.folowing is the code .
    *& Report  ZPFA_HIER_LOAD
    REPORT  ZFPA_HIER_LOAD.
    *---- Declaration of Oracle connectioN
    DATA con_name LIKE dbcon-con_name VALUE 'COMSHARE'.
    DATA: MFL1(9),MFL2(5),MFL3(9),MFL4(2),MFL5(8) TYPE c.
    DATA : mfilename type string.
    data: begin of matab1 occurs 0,
          MFL1(9) TYPE C,
          MFL2(5) TYPE C,
          MFL3(9) TYPE C,
          MFL4(2) TYPE C,
          MFL5(8) TYPE C  ,
         end of matab1 .
    data: setid(8) type c.
    data: begin of source occurs 0,
          setid(8) type c,
          end of source.
    *PARAMETERS : p_pfile LIKE filename-FILEEXTERN.
    *PARAMETERS : m_bsenty(8). " type c obligatory.
    *mfilename = P_PFILE.
    EXEC SQL.
      SET CONNECTION :con_name
    ENDEXEC.
    EXEC SQL.
      CONNECT TO :con_name
    ENDEXEC.
    EXEC SQL PERFORMING get_source.
      SELECT set_id FROM UNIT_SET INTO
      :setid
      ORDER BY SET_ID
    ENDEXEC.
    start-of-selection.
    LOOP AT SOURCE.
      REFRESH matab1. CLEAR matab1.
      EXEC SQL PERFORMING evaluate.
    SELECT TO_CHAR(MEM_ID),TRIM(TO_CHAR(MEM_PID)) FROM UNIT_TREE INTO :MFL1,
    :MFL5
    where set_id = :SOURCE-SETID ORDER BY MEM_ID
      ENDEXEC.
      if SOURCE-SETID = '80000000'.
       mfilename = '/tmp/aesorg'.
      elseif SOURCE-SETID = '80000006'.
       mfilename = '/tmp/Consolidation_Manager'.
      elseif SOURCE-SETID = '80000010'.
       mfilename = '/tmp/10org'.
      elseif SOURCE-SETID = '80000012'.
       mfilename = '/tmp/20org'.
      elseif SOURCE-SETID = '80000018'.
       mfilename = '/tmp/30org'.
      elseif SOURCE-SETID = '80000025'.
       mfilename = '/tmp/40org'.
      Endif.
      mfilename = '/usr/test.dat'.
    ************************This was i tried***********************
      open dataset mfilename for output in text mode encoding default." IN
    *TEXT MODE ENCODING DEFAULT.
    if sy-subrc <> 0.
    exit.
    endif.
    close dataset mfilename.
    CALL FUNCTION 'GUI_DOWNLOAD'
       EXPORTING
         FILENAME         = MFILENAME
         FILETYPE         = 'ASC'
       TABLES
         data_tab         = matab1
       EXCEPTIONS
         file_write_error = 1
         invalid_type     = 2
         no_authority     = 3
         unknown_error    = 4
         OTHERS           = 10.
    loop at matab1 .
    transfer matab1 to mfilename.
    endloop.
      clear matab1.
    ENDLOOP.
    loop at matab1 .
    transfer matab1 to mfilename.
    endloop.
    close dataset mfilename.
         MFL5 = '0'.
       CLEAR MFL5.
    FORM evaluate.
      if MFL5 = -1.
        MFL5 = ''.
      ENDIF.
      concatenate MFL1 ','   into MFL1.
      concatenate MFL1 ','   into MFL3.
      matab1-MFL1 = MFL1.
      matab1-MFL2 = 'ZBUE,'.
      matab1-MFL3 = MFL3.
      matab1-MFL4 = ' ,'.
      matab1-MFL5 = MFL5.
      append matab1 .
      CLEAR MFL1.
      CLEAR MFL2.
      CLEAR MFL3.
      CLEAR MFL4.
      CLEAR MFL5.
    ENDFORM.
                     "evaluate
    *&      Form  GET_SOURCE
          text
    FORM GET_SOURCE.
      source-setid = setid.
      append source.
      clear source.
    ENDFORM.                    "GET_SOURCE

    Hi Rammohan,
    You cannot use OPEN DATASET to transfer data from application server to presentation server.
    You can do the following :
    <b>Do 1st point in BACKGROUND</b>
    1. Read the data file from application server into an internal table using OPEN DATASET
    <b>Do 2nd point in Foreground</b>
    2. Once you get the data into an internal table, then use FM GUI_DOWNLOAD to download it on presentation server
    You cannot use the above 2 point together in Background because its not possible. Hence you need program it partially in background and partially in foreground.
    Best regards,
    Prashant

  • In mail, how do I attach pictures or documents as icons that open full size

    in mail, how do I attach pictures or documents as icons that will open full size?

    Try Option + click the picture and choose Show as Icon

  • How to bring in the Open Sales Orders while performing Sales Order Conv

    Hi,
    Could you give some suggestions on the below:
    How to bring in the Open Sales Orders while performing Sales Order Conversion in R12.
    Thanks
    Pravin

    See http://ramugvs.wordpress.com/2011/08/27/how-to-stage-and-import-an-order-using-order-import-api-apps-wms-ebiz-11i-r12/
    Sandeep Gandhi

  • TS3899 Hi. How do I attach more than one document to an email on the iPad, especially if they come from different apps? When writing an email on the iPad there's no option for attachments.

    Hi. How do I attach more than one document to an email originating from my iPad, especially if the documents come from different apps? When starting an email there's no option for attachments, unless you send the document from inside an app like iBook and then you can only send one at a time.

    How to add, send and open iPad email attachments
    http://www.iskysoft.com/apple-ipad/ipad-email-attachments.html
     Cheers, Tom

  • How do I attach more than one photo to an email?

    How can I attach more than one photo to an email?

    Yes. With the mail you want to attch the photos to open, tap and hold in the body of the email. One of the Menu ittems will be Insert Photo or Video. Tap that, Select the photo, Tap Use. Repeat for each photo.

  • How do I attach a form to my Wix website....I tried and everything works EXCEPT payment options.

    How do I attach a form to my Wix website.  I was able to attach a form (through link a document) but the payment options do not work.  Payment options work when I use the preview on the Adobe site.

    Hi,
    Please see this link on how to embed a form into a webpage:
    http://forums.adobe.com/docs/DOC-1991
    Please see this link on how to setup the form for payment collection:
    http://forums.adobe.com/docs/DOC-1632
    Hope this helps, if you still have questions, please write back.
    Thanks,
    Lucia

  • How can I attach j-pegs and other documents to an email unopened and stop each them taking up a whole page of my email ?

    How can I attach j-pegs and other documents to an email unopened and stop each them taking up a whole page of my email ?

    In addition to the last poster's suggestion  -  just so you know, it also depends on the email program the recipient uses as to how they will see any attachments - for instance, when I am using my Yahoo Mail, I am absolutely unable to view any attachment within the browser window - Yahoo forces me to download it; there is no way for me to check it (like a preview) to see if I want to download it or not.
    And, FWIW: the window shown in the screenshot does not show on my version of Mail 5.1 (which is the latest for 10.7.2); the only one similar shows when viewing a message received with an attachment, not while sending one. So that must be a different version.

  • How can I attach a PDF file to an email I am replying to?

    Hi!
    How can I attach a PDF file already saved on my iPad to an existing email I am replying to from my inbox??

    If you have the PDF stored on the iPhone as a separate file you obviously also have a third party app for reading it, so you should be able to e-mail it from there.
    If it's on an existing e-mail, forward the e-mail and just change the contents but include the pdf

  • How can I attach a photo to an email,using Photoshop Elements9,without going through the Revel cloud

    How can I attach a photo to an email using Photoshop Elements 9, without going through the Adobe Revel cloud?

    Adobe user wrote:
    I'm using Windows 7.  I have no email clients.
    You don't need an Email client nor Adobe Revel account to send email and photos as attachment.  All you need is an email account (could be free web-based account such as Gmail, Outlook, Yahoo, AOL or whatever including from your own ISP.  And of course an Internet Connection.
    Now the most obvious requirement is out of the way so you need to go in to your Organizer and click on Share button and choose Photomail. Select the photo you want to send and follow the instructions that are on your screen.
    You also need to request an Adobe Verification Code to enable you to use Adobe's Mail Servers to send the photos for you.  To do this go to:
    Edit >> Preferences>> Sharing
    Look for something like this and fill out the red boxes where indicated (click on this image to see it clearly).
    Hope this gets you started.

  • How can I attach my form to an email?

    How can I attach my form to an email?

    Go to the distribute tab - you can either email a link to a web form or create a PDF form to send.
    Randy

  • How can I attach a PDF in an email, using javascript in PDF document?

    How can I attach a PDF in an email, using an interactive button in the PDF-document?
    I tried to create a form button with the menu action 'attach this PDF in an email'.
    This Send.to-action doesn't work with Microsoft.
    Does anyone has a solution by implementing a javascript-code for this in the PDF?

    Dick,
    Thanks for your replie.
    Nice alternative, but it still doesn't work on a Windows machine when the
    mail software from Microsoft doesn't react on PDF actions.
    You can do many things in Acrobat, but it is a problem when it doesn't work
    on Windows and iPad.
    So now I am looking for alternatives like  interactive magazine software
    (based on html5).
    2012/5/11 dick the flash <[email protected]>
       Re: How can I attach a PDF in an email, using javascript in PDF
    document?
    created by dick the flash <http://forums.adobe.com/people/dicktheflash>in
    JavaScript - View the full discussion<http://forums.adobe.com/message/4395927#4395927

  • How can I attach a picture to an email in file format not as a picture

    how can I attach a picture to an email in file format,

    Please pardon the intrusion…
    Hi, Leroy! 
    Congratulations on advancing to Level 6!
    At the Water Cooler in the Level 6+ Lounge, we are throwing virtual confetti in celebration of your attainment of Level 6-dom. Would you care to join us at the Water Cooler?
    Towards the bottom of the index on the Apple Support Communities Home Page you soon will find the Lounge link available to you. It should work for you within the next 24 hours if all goes as it should.
    Hope to see you there soon!

Maybe you are looking for

  • Keynote slideshow on my website?

    Anyone know if there's a way to put a Keynote '09 (which is compatible w/ Mountain Lion OS) presentation directly on my website other than by a link to a YouTube video of the presentation? Thanks in advance for any responses.

  • Database Migration MS Sql Server 2008 to Oracle

    I have downloaded the latest updates for SQL Developer and am attempting to migrate my SQL Server 2008 DB to Oracle 11g. I get the following error when attempting to test my Sql Server connection: Status : Failure - Test failed: I/O Error: SSO Failed

  • Replace Color(s)

    I couldn't figure out how to use the Replace Color function in Photoshop, so I checked out Fireworks and was pleased to see it's user friendly in the extreme. The only problem is it doesn't work! First, I opened an image with a .png extension. (It on

  • Firefox prints garbled text no matter what, from my XP-SP3 HT-P4 to my HP LJ 1200 PCL

    I am using FF 3.6.13 on a HT-P4, 3 GHz, with XP-SP3, 4Gig RAM lots of HD space. Every other application on my machine prints fine to my HP LaserJet 1200 PCL (even MS Explorer and G-Chrome) but no matter what I do in terms of changing settings or font

  • Upgrading to Which Version?

    Hi All, I've been away from LR for a while and have V1.1. When I open the program, it asks to update to V1.4.1 . Is there a way to upgrade to a previous version? I have the individual version downloaded seperately. Do the upgrade program files overwr