Multiple MailAttachment  to File   -   How to store as multiple files ?

Hi Friends ,
                  Can you please tell me  How to Store as Multiple files which i read as attachements  from Mail Sender Adapter .
                     In My scenario i can able to bring the Multiple attachement in the Paylod using PaylodSwapBean .<b> I wan to store these attachements to a file system.</b>   ie. Whatever attachements i am reading i have to store in a file .             
           For eg., In my scenario i have designed the Data Type as DT_Test--> Row --- > Details .
                 Details can able to hold each line of Each File . One file contains multiple Line data .
               <b>  If i use Message Transform Bean</b> , first attachement only getting Tranformed rest of them as it is . Not getting tranformed to required format.
                 Please give some suggestions !
Regards .,
V.Rangarajan

Oops didn't observe abt the message transform bean usage... .....
check with these
3.2.3 Changing the Name and Type of the Payload................................. 6
3.2.4 Sending a Mail with Attachment ...................................................... 7
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb1551f05
SAP Note 793922
http://help.sap.com/saphelp_nw04s/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/frameset.htm
<b>Cheers,
*RAJ*<b>

Similar Messages

  • How to store the flat file data into custom table?

    Hi,
    Iam working on inbound interface.Can any one tell me how to store the flat file data into custom table?what is the procedure?
    Regards,
    Sujan

    Hie
    u can use function
    F4_FILENAME
    to pick the file from front-end or location.
    then use function
    WS_UPLOAD
    to upload into
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'F4_FILENAME'   "Function to pick file
        EXPORTING
          field_name = 'p_file'     "file
        IMPORTING
          file_name  = p_file.     "file
      CALL FUNCTION 'WS_UPLOAD'
       EXPORTING
         filename                       = p_file1
        TABLES
          data_tab                      = it_line
    *then loop at it_line splitting it into the fields of your custom table.
    loop at it_line.
              split itline at ',' into
              itab-name
              itab-surname.
    endloop.
    then u can insert the values into yo table from the itab work area.
    regards
    Isaac Prince

  • How to store an Excel file in InfoPath for users to edit

    Hello,
    I need an example on how to store an Excel file within InfoPath 2010 so that every time a user opens the InfoPath form they can make changes and can save as part of the form. The next user opens the form and another Excel files (blank) where they make changes and
    saves. Thanks

    Streamlining this would require a bit of custom work I imagine. However if you don't mind giving the users some extra clicks, there are probably a few ways to get the job done.
    You could upload the excel file to SharePoint, make sure it's read-only and link to it within the InfoPath form. Then the process would be that users open the InfoPath form, fill it out, download the excel doc to their desktops and fill it out, and then
    attach it to the IP form.
    Or you could set up a separate, sister library where the New Item defaults to your Excel template. Then from within the InfoPath form you could have a hyperlink that creates the new item, saving it to the library. The caveat here is finding a way to link
    to the two items together with a unique identifier. The benefit though is being able to browse and interact with Excel docs independent of the forms they are attached to, if necessary.

  • How to store the zip file in oracle table?

    hi,
    How to store the zip file in oracle table ?
    is it possible to unzip and read the file ?
    Thanks
    Rangan S

    SQL> DESC BLOB_TABLE;
    Name Type Nullable Default Comments
    A INTEGER Y
    B BLOB Y
    SQL> INSERT INTO BLOB_TABLE VALUES(5,BLOB('MWDIR_TST','TEST.ZIP'));
    INSERT INTO BLOB_TABLE VALUES(5,BLOB('MWDIR_TST','TEST.ZIP'))
    ORA-00904: "BLOB": invalid identifier
    SQL> INSERT INTO BLOB_TABLE VALUES(5,('MWDIR_TST','TEST.ZIP'));
    INSERT INTO BLOB_TABLE VALUES(5,('MWDIR_TST','TEST.ZIP'))
    ORA-00907: missing right parenthesis
    SQL> INSERT INTO BLOB_TABLE VALUES(5,('\\MWDIR_TST\TEST.ZIP'));
    INSERT INTO BLOB_TABLE VALUES(5,('\\MWDIR_TST\TEST.ZIP'))
    ORA-01465: invalid hex number
    SQL> INSERT INTO BLOB_TABLE VALUES(5,('\\MWDIR_TST\TEST.ZIP'));

  • How to store character in file and display result on front panel

    hi
    currently i m working on FPGA project.i want to aquired data from FPGA board.i want to know about how to store character to file and contineous display each character on front panel in string format.
    i have complete up to character display on front panel but only single character display when i want all character in string format.
    Solved!
    Go to Solution.

    I don't see how this question is at all related to Digital I/O but it sounds like you just need a shift register with the concantanate string function.

  • How to store preferences in file system on Windows?

    I have 2 questions related to preferences using.
    1. How to store preferences in file system (not in registry) on Windows? I see file system implementation of Preferences (java.util.prefs.FileSystemPreferences). But this implementation is linux-specific (use native methods). Does universal implementation exist?
    2. How to store custom files in preferences? I need to store some user-specific files (XML files, for example) somewhere. These files are naturally user preferences. So my idea is to store it using Preferences. But it seems like there is no such posibility in standard preferences. I believe many peoples have the same problem. Does anyone have solution?
    Please help me!
    Thank you in advance.

    Preferences is supposed to keep all this data
    handling away from you, so you shouldn't bother. If
    you'd like to write a file, just write a file. You
    could create a "Settings" object and serialize it.I understand your reasonings. But unfortunately I have requirements to use file system preferences both on Linux and Windows. My bosses think there are many problems because of registry. Don't ask what problems, they didn't say. I cannot change their requirements. I must to implement it.
    Maybe somebody already solved this proplem. I will very grateful for help.
    Once again: simply write and read a custom file. Why
    do you use Preferences at all costs when they don't
    do what you want to?I have requirements to implement saving of files in the same manner as saving of preferences. It may be different code from Preferences. But it will be the best to have the same code if it possible.
    Any way I believe the need to save user-specific files as preferences is quite widespread.

  • Multiple BPEL/ Mediator payloads how to store in DB using DB adapter.

    I have huge XML which is XSD define for the same and have complex types which required around > 50 DB tables to store the entire XML.
    Have one parent table which has reference ID to child tables.
    Now first I want store the parent table and get the ID and use the same ID to store child tables (it has parent child relationship up to 5 or 6 levels)
    How can I define / use the BPEL process.
    I want to use the file adapter to read the XML file.
    And I need to define BPEL process with mediators if required?
    And use the DB adapter to store the data.
    My questions are how can I define BPEL process with huge XSD which had multiple elements?
    How can I use db adapter to store more than 50 tables and getting parent ID for child tables?
    Any help is appreciated.
    Edited by: user8539507 on Feb 29, 2012 7:35 AM

    Sridhar thanks for replay,
    I did the same, Few mapping tables i have ,
    say A-->B , A-->C-->D (Master Child relations) map is B-->E & D-->E (map table) for this type of tables i have following error.
    Exception [EclipseLink-48] (Eclipse Persistence Services - 2.1.3.v20110304-r9073): org.eclipse.persistence.exceptions.DescriptorException
    Exception Description: Multiple writable mappings exist for the field [TABLE5_MAP.ID]. Only one may be defined as writable, all others must be specified read-only.
    And also other question i have by doing this is - won't it be heavy pay load, due to complex transformation don't we get any issues in long run?
    is there way to insert sequentially from the XSD element parts wise?
    Say i have File XSD(#1P1) to DB xsd(#2T1). return the ID next sequence
    File XSD(#1P2) to DB xsd(#2T2,T3,T4,T5).
    File XSD(#1P3) to DB xsd(#2T6,T7,T8).
    File XSD(#1P4) to DB xsd(#2T9,T10,T11,T12).
    File XSD(#1P5) to DB xsd(#2T13,T16,T14,T15).
    from Leftside(exposed service) Fileadapter have the XSD(#1) and rightside External Refences(DB adapter(s)) have the XSD(#2)
    In this scenario would it be possible to use one DB adapter? do i have use multiple ? if i use multiple how the transaction will work?
    Thanks

  • How to store a JSP file in the SAP Application server ?

    Hello All,
    My reqt. is as follows :
    1. I need to store a JSP File on the SAP Application server .
    How can I do this ?
    2. I want to call the uploaded jsp file from the server and call this jsp from abap to view the result of it .
    How can I achieve this ?
    First of all is this possible ?
    Regards,
    Deepu.K

    Hello Mike,
    Thanks for ur reply.
    I've imported the JSP as a mime object into the BSP.
    Now I've created the page to show that Mime Object as an image.
    But nothing is coming as an output.
    But then,there is an option for that mime object. i.e when I right click on the mime object there is an option called " convert to BSP".
    I selected that option and it created a view in my BSP .( My BSP is a page with flow logic application )
    Now how should i make this view to be an output ?
    I guess this shud be posted in the BSP Forum ...but still taking a chance here :)-
    Regards,
    Deepu.K

  • How to store a word file in MS SQL server

    Hi,
    Am new to java, I want to store a Word File into MS SQL Server, pls tell me how to do this.
    What should be Data type I should choose in the MS SQL Server.
    rgds
    Ravi Bharathi

    You will have to simply load the file as a chunk of binary data in a blob (Binary Large Object) type column.
    In MS SQL Server the blob type is known as 'Image'

  • How to store a text file in a hash table in C#?

    I am fairly new to c#. I am creating a console application project for practice. I am supposed to create a program that reads a text file (it's a poem), store it in a hash table, have two different sorts, and unhash the table. I managed to get the poem read
    by using streamwriter, but now I am not sure how to store it in a hash table. 
    I'm not sure if I am doing this hash table correct, but I made my hash table like this to store the text file: 
          Hashtable hashtable = new Hashtable();
                hashtable[1] = (@"C:\\Documents\\Datastructures\\Input\\Poem");

    Hi,
    Hashtable in C# represents a collection of key/value pairs which maps keys to value. Any non-null object can be used as a key but a value can. We can retrieve  items from hashTable to provide the key . Both keys and values are Objects.
    Here is a sample about Hashtable,
    Hashtable weeks = new Hashtable();
    weeks.Add("1", "SunDay");
    weeks.Add("2", "MonDay");
    weeks.Add("3", "TueDay");
    weeks.Add("4", "WedDay");
    weeks.Add("5", "ThuDay");
    weeks.Add("6", "FriDay");
    weeks.Add("7", "SatDay");
    //Display a single Item
    MessageBox.Show(weeks["5"].ToString());
    //Search an Item
    if (weeks.ContainsValue("TueDay"))
    MessageBox.Show("Find");
    else
    MessageBox.Show("Not find");
    //remove an Item
    weeks.Remove("3");
    //Display all key value pairs
    foreach (DictionaryEntry day in weeks)
    MessageBox.Show(day.Key + " - " + day.Value);
    >>I managed to get the poem read by using streamwriter, but now I am not sure how to store it in a hash table
    Hashtable hashtable = new Hashtable();
    hashtable[1] = (@"C:\\Documents\\Datastructures\\Input\\Poem");
    But follow your scenario above, you just store a string path to hashtable not a file.
    About saving data to a file, you can use the following code.
    // Write the string to a file.
    System.IO.StreamWriter file = new System.IO.StreamWriter("c:\\test.txt");
    file.WriteLine(lines);
    file.Close();
    Best wishes!
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to store a signature file in database oracle 8.0

    hai,
    please send a sample code how to store a signature stored in a flat file a.gif,b.tif into oracle database please send me the script to [email protected]
    please help me any one

    Hi,
    Read the Articles in the Documentation regarding BFILE. There is a Beautiful example on the docs.
    You can also BLOBS to store these images in the database.
    Best of Luck.
    regards,
    Ganesh R

  • How to store my mp3 files into my database

    Hello,
    I am having some trouble with a database i am creating to store my mp3 files. I have created the following sql statement so far using what research i did on the subject.
    CREATE TABLE music
    ( Artist CHAR(30),
    NameOfSong CHAR(30),
    Song BLOB);
    But i have no idea how to do a INSERT statement for the BLOB datatype. I am trying to use a location on my hard drive to upload the song to the table. All help is welcomed.
    Thank you,

    http://forums.oracle.com/forums/search.jspa?threadID=&q=insert+blob&objID=f75&dateRange=all&userID=&numResults=15
    Message was edited by:
    jeneesh

  • How to store streaming video file

    Hello friend
    Am streaming video file with use of VLC player,while streaming the video file i want to receive and store the video file.

    You first need to know, how VLC streams the data. If you know that, you have to write client code, which can connect to VLC and receive packets. The next step would be to analyze the packets and extract the video/ausio data from it and write it to a file. But all depends on what video format is streamed with which protocol.

  • How to store a bitmap file in the table

    i am using oracle 8i. i dont know how to save the bitmap file in the table, is long raw datatype should be used.
    thanks

    try to use the datatype of that feild as longraw...
    if u need more help then ask..
    tariq.

  • How to store ASO dat file in different location

    Hello Everyone,
    i have a requirement where I need to store the .dat(ASO) file in a location other than the folder where the application artifcats are stored. In BSO, We can right click the database, edit, properties and in Storage tab we can choose where Data and Index files have to be stored. Do we have similar option for ASO too? because, the space we have for the application folders are limited and we have a separate SAN drive for storing data and index file and thats where BSO .pag files are stored. Since our ASO cube is growing I want to move the data to a location where BSO data is stored, i mean to the designated drive for data. Any suggestions will be much appreciated.
    Thanks.

    Yes, ASO has the concept of 'tablespaces'. There are four (default, temp, log and metadata) but you probably just want to move the 'default' and 'temp' tablespaces to your SAN location. Temp will look really small (i.e. empty) until you run a restructure or aggregation and then it'll explode to the size of the default tablespace so it's important not to miss.
    See the section on 'Managing Storage for ASO Databases' here http://docs.oracle.com/cd/E17236_01/epm.1112/esb_dbag/asysadmn.html, or the 'alter tablespace' MaxL command here http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/maxl_alttabl.html.
    EDIT: Actually, looking at the documentation, I see that you can't move the metadata or log tablespaces. But you're probably only going to care about 'default' and 'temp' anyway.

Maybe you are looking for

  • Creative Zen stone with speaker not recognized by Vista 32

    My creative zen stone with speaker is not recognized by computer. Downloaded starter pack and it worked, but the first time i disconnected it and connected again, the device is not in "my computer". It is listed as working properly under "safely remo

  • Unacceptable delay in provision of BT broadband

    Warning, this is going to be a bit of a rant, but the whole story involves both BT phones and BT broadband. It all started with BT's Homemove facility. I have recently moved from North Wales to Northern Ireland. On 20th January whilst still living in

  • Turning off Keep Options in InDesign CS5

    I'm having a real nightmare with Keep Option in ID CS5. I was hoping I could use them to stop orphans but they seem to create them unnecessarily. I turned on some Keep Options in my style sheet for my body text and I couldn't get them to work the way

  • Mail successfully sent but nothing received in inbox

    Hi experts, I am doing (at least trying to) a file to mail scenario. The configuration seems to be correct and is as follow for my receiver adapter : Transport protocol : SMTP Message protocol : XIALL Adapter Engine : Central Adapter Engine URL : smt

  • Template problem on Intel Mac

    Hi All, I just jumped ship,and have started developing on and working with Mac's, so go easy on me! I am trying to use the "Wedding Classic Cover" template (First of three) and when I drag an asset to the "Content Here 1" area on the menu, it will no