Multiple files in zip folder

Hi
I am working on a scenario File-> XI-> BW
<b>Question 1.</b>
I would be getting a zip file which will have 3 files, I know how to unzip the file. Once file is unzipped then I will create three different data types and message types as the layout is different. So now how would file be mapped to each data types correctly?
<b>Question 2.</b>
How can I map three data types to one target message type calling BAPI by using ABAP proxy in target system(BW).
Regards
Rinku

Rinku,
As you said that you will unzip the files, I want to know whether it will be placed in any File System? If yes please follow the below steps.
Since you are receiving 3 files ,I would suggest you to go for BPM. Please follow the below help, to achieve the part 1
http://help.sap.com/saphelp_nw70/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm
You have already created 3 DT& MT right? Create one more DT & MT with the combined structure of those three inputs, so this is part 1, you can see the help and achieve the same.
Now you got all the combined structure inside BPM, the part 2 is map this combined MT to your reqd BAPI structure inside BPM Transformation step.
Hope it helps!!!
Please reply back , if not.
Best regards,
raj.

Similar Messages

  • How can I upload multiple files or whole folder structures in one go to the Cloud?

    How can I upload multiple files or whole folder structures to the Cloud in one go? Uploading lots of files singularly does not help my workflow.
    All help is much appreciated.
    Paul.

    Hi,
    Uploading multiple files is browser specific.
    Internet explorer won't allow to select and upload multiple files on the cloud.
    If you want to upload multiple files then you have to login to Cretaive cloud using Firefox or Chrome web browser, then you can select multiple files in the Browse window to upload.
    You can't upload folders directly.
    Thanks,
    Baljeet

  • Illustrator CS6 Running an Action on Multiple files in a folder

    I'm having trouble getting this to work and was hoping someone could shed some light for me.
    I created a action in Illustrator CS6 (on a PC) which opens PNG files, scales them onto a 8.5 x 11 page, saves them as a PDF into a output folder on my desktop and then closes the page. The action works great and does exactly what I had hoped for.
    Here is my issue:
    I now have a need to do this on multiple files at the same time. Using the Illustrator Help menu, I found out about Batch processing. The tutorial says that a batch can be run on a single file or on a folder of files. Bingo! That's what I want. Problem is, I can't get it to work.
    After setting up the batch with the following settings: (note: I didn't use a destination folder because I have the action saving the pdf into an output folder on the desktop).
    According to the help page, it said to use Override Action "Open" commands which Opens the files from the specified folder and ignores any Open commands recorded as part of the original action. I thought this is what I needed to open all the files in the folder, because when recording my action, I had to use the open command to open a png file. It wouldn't just let me choose a folder. If I don't have the open command in the action, nothing happens.
    My main issue is getting multiple files from within my input folder to open when running the action. The only file that opens is the file that I recorded while creating the action. If I remove that file from the folder, nothing happens at all.
    Please help!
    Thank you,

    I need to create a Action in Illustrator CS6 where i have to open set of files from the desired folder and convert the files to eps format. but i need to save as CS5 version instead of CS6.
    I tried creating the Action it works perfectly except the CS6 to CS5 conversion.
    Is there any way to achive converting to CS5 in Action?
    please help.

  • Changing multiple file permissions - Applications folder

    After using migration assistant in Snow Leopard and then changing the username of my primary user, all third party apps in my Applications folder require me to enter the admin password when moving, updating with Sparkle, etc. They don't seem to have a primary owner.
    I saw the steps outlined here: http://discussions.apple.com/thread.jspa?threadID=1778969 for changing permissions on multiple files but I'm wary of doing this on the Applications folder.
    Does anyone have any advice on how to fix this? I went through files individually and i'm still getting messed up permissions all over the place. Thanks!

    DO NOT use "apply to enclosed items" on the main Applications folder! Do not use it on any system created folders. they often have hidden ACLs and using this button would propagate the ACLs to everything inside. this is the case for the main Applications folder. there is no easy way to do what you want because Apple changed the permissions structure in Snow leopard and the default applications no longer have read+write access by admin users by default. I would suggest you don't mess with permissions on Applications. if you ever need to update a 3rd party application simply delete the existing copy in /Applications and put the new one in. it will have correct permissions.

  • To read multiple files in sample folder

    How to read multiple files in a same folder?.
    can you give me some guidance?.

    Additionally,
    1. Use methods of the File class to create an array
    of the file names
    2. Stop reading when at the end of the array.That assumes you want all the files in the directory.
    If not, just pass in an array containing the names of the desired files.

  • Is it possible to download multiple files as zip from Amazone S3 directly

    We need to download multiple files from Amazone S3 at a time in a zipped format. We use flex 3 and coldfusion 8 for development.

    Of course it is. Try it. Or, asked differently, what did you try that did not work?

  • Using script on multiple files in a folder.

    THis has GOT to be easy, but I can't figure it out.
    Walgreens wants you to email photos to them, but I usually do like 50 photos at a time. So, I created a script that takes an object and emails it. The problem is, I don't know how to do it to one photo, then the next, etc. It will do all the photos, but that is one HUGE email!
    So that's my question. How do I get the script to run individually on multiple files?
    Thanks in advance.
    Dave

    Copy, paste, edit (where appropriate), and save - the code below as an application (AppleScript applet):
    -- Code starts here --
    property toAddress : "[email protected]"
    property tSubject : "Please process my photo(s)."
    on run {}
    my send_Photos(choose file with multiple selections allowed)
    end run
    on open (dItems)
    my send_Photos(dItems)
    end open
    on send_Photos(tItems)
    with timeout of 0 seconds
    tell application "Mail"
    repeat with i in tItems
    try
    set tMessage to make new outgoing message with properties {visible:true}
    tell tMessage
    make new to recipient at end of to recipients with properties {address:toAddress}
    set subject to tSubject
    tell application "Finder" to set fname to displayed name of i
    set content to ("Attached is the photo: '" & fname & "'." & return & return)
    tell content to make new attachment with properties {file name:i} at end of last word of last paragraph
    send
    end tell
    end
    end repeat
    end tell
    end timeout
    end send_Photos
    -- Code ends here --
    Double click on the applet and select the desired file(s), or drag the desired file(s) onto the applet - for further processing.

  • Can i run a script on multiple files in a folder

    i have a folder where i have 60 files. Each file takes about 45 to 1 hr to go through the script and the script is same for all files. So I was thinking to create a script that can run over night and next morning i can come and distribute all my files. It’s a simple script that looks for some specific words and highlights them.

    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/wwhelp/wwhimpl/common/html/w whelp.htm?context=Acrobat9_HTMLHelp&file=BatchSeq_BatchSequences.96.1.html
    http://acrobatusers.com/tutorials/2008/06/a9video_using_batch_processing_for_tasks/
    http://acrobatusers.com/tutorials/2006/batch_process

  • Reading multiples files from a folder and processing

    Hello everyone,
    Im working on a project to analyst and process Acoustic Emission Signals. My problem is that I have a folder that containts several files .txt. Every file contains 16 waveforms (16 channels) that I need to process with an equation to detect the arrival times of the waves.
    I have been working in this way : Running the labview code that open the file that I select .. then the processing happens on every wave and I click stop to select the file where I want to save the solutions. The solutions is only a vector of the 16 arrival times detected. Then I have to stop the code (by clicking Abort Execution) and repeat the process ... Run the code and bla bla bla .. and save on the same solution file that I used before.
    The ideal situation is to read the files whitout stoping the execution of the code .. For example clicking a buttom to pass to the next file and saving all the solutions to the same file. That is beacause sometimes Im going to have more than a 100 files and this will give me a hard time if a forget in which file I was working. The idea is to make an automatic process.
    Please .. I have been trying to find a solution to this while Im working in other part of the code. If someone could suggest me a solution it would be great.
    Thanks.

    Hello everyone,
    Well Im sorry if I didn't post my .vi ... I was working on it ... and I found a solution (whit some help that I found on the forums) but Im not happy at all ... because I still have to give the last part of the file name.
    For example at the beginning I have to input the file name without the final number of the event ...
    C:\Users\Irish\Desktop\Hydraulic Fracturing\E1_evento
    then I finish adding the file number that I want to process on the folder
    C:\Users\Irish\Desktop\Hydraulic Fracturing\E1_evento2.txt or 9.text or ... just the number ...
    This is the case when I want to process every file specifying the file .. but what could you suggest me to do process all the data file by file ?
    I attached the part of the code that Im using for this specific problem ...
    Im using Labview 8.5
    Thanks ...
    Message Edited by Alvaro_Ortiz on 08-26-2009 03:14 PM
    Attachments:
    MultReadFiles.vi ‏58 KB

  • Getting download multiple files in zip format.

    Hi
    I am trying to read a zip file on c drive and send it for download on clients browser.
    My problem is that when I am trying to read zip file form my system drive and copying it(Using NIO) on another location on my drive itself its working fine( working code is attached as Code 1)
    but when I try to read zip file in MappedByteBuffer using NIO and append them in a string buffer after converting them to string and get them downloaded at client side, a zip file of same size as that on server is created but it doesn't open up. (Code attached as Code2)
    Code1:
    package com.pine.test;
    import java.io.*;
    import java.nio.*;
    import java.nio.channels.FileChannel;
    class copyFileUsingNIO{
         public static void main (String args[]) throws Exception{
              FileInputStream FIn;
              FileOutputStream FOut;
              FileChannel FIChan, FOChan;
              MappedByteBuffer mBuf;
              long FSize;
              try{
                   FIn = new FileInputStream("c:\\Favorites.zip");
                   FOut = new FileOutputStream("c:\\outfile_new.zip");
                   FIChan = FIn.getChannel();
                   FOChan = FOut.getChannel();
                   FSize = FIChan.size();
                   mBuf = FIChan.map(FileChannel.MapMode.READ_ONLY,0,FSize);
                   StringBuffer sb = new StringBuffer();
                   //System.out.println(mBuf.limit() + mBuf.toString());
                   int len=0;
                   byte[] b = new byte[1];
                   while(len<mBuf.limit()){                     
                        b[0] = mBuf.get();
                        //System.out.print(b.toString());
                        String s = new String(b,0);
                        System.out.print(s);
                        sb.append(s);
                        //System.out.print(len);
                        len = len+1;
                        //System.out.print(s.toString());
                   FOChan.write(mBuf);
                   FIChan.close();
                   FIn.close();
                   FOChan.close();
                   FOut.close();
              }catch(IOException ioe){
                   System.out.println(ioe);
                   System.exit(1);
              }catch(ArrayIndexOutOfBoundsException exc){
                   System.out.println(exc.getStackTrace() + " hi");
                   //System.exit(1);
    //Code 2:-
    package com.pine.test;
    import java.io.*;
    import java.nio.*;
    import java.nio.channels.FileChannel;
    class copyFileUsingNIO{
         public static void main (String args[]) throws Exception{
              FileInputStream FIn;
              FileOutputStream FOut;
              FileChannel FIChan, FOChan;
              MappedByteBuffer mBuf;
              long FSize;
              try{
                   FIn = new FileInputStream("c:\\Favorites.zip");
    FIChan = FIn.getChannel();
                   FSize = FIChan.size();
                   mBuf = FIChan.map(FileChannel.MapMode.READ_ONLY,0,FSize);
                   StringBuffer sb = new StringBuffer();
                   //System.out.println(mBuf.limit() + mBuf.toString());
                   int len=0;
                   byte[] b = new byte[1];
                   while(len<mBuf.limit()){                     
                        b[0] = mBuf.get();
                        //System.out.print(b.toString());
                        String s = new String(b,0);
                        System.out.print(s);
                        sb.append(s);
                        //System.out.print(len);
                        len = len+1;
                        System.out.print(sb.toString());
                   FIChan.close();
                   FIn.close();
                   FOut.close();
              }catch(IOException ioe){
                   System.out.println(ioe);
                   System.exit(1);
              }catch(ArrayIndexOutOfBoundsException exc){
                   System.out.println(exc.getStackTrace() + " hi");
                   //System.exit(1);
    Can anyone tell me where I am wrong?
    Thanks

    but when I try to read zip file in MappedByteBuffer using NIO and append them in a string buffer after converting them to string and get them downloaded at client side, a zip file of same size as that on server is created but it doesn't open upSo don't do it that way.
    BIJ001 is correct.

  • Possible to process multiple files from one folder?

    Hi All,
    I have a scenario where four files with different structures will generarted at a folder and these four files need to pick up and process them to find dublicates and merge them... Is it possible? How BODS will identify these four files as they have different strucutres?? Please suggest.
    Thanks
    RAJEEV

    Hi Rajeev,
    Only if the structures are the same then you can use wildcards in the filename.  Do your files have a header record ? If yes, then it's a really quick and easy job to create four file formats since BODS will generate most of the field names and datatypes using the header récord and sample data, once it locates the file and you specify to skip the header record.
    If you really wanted to have only one file format then you would need to define it with a single very long varchar field and then do the parsing of the single long string manually in a Query for each file, using the filename to identify which file structure it is.  Way more work and not an elegant solution.

  • Multiple files while preserving folder hierarchy

    My problem: Over the past number of years I have been converting old VHS home videos to digital formats. My workflow has changed over time and this results in some file formats that are inefficient or not supported by many devices. The videos are in a special folder hierarchy that I would like to preserve.
    I'm looking for something similar to Photoshop's Image Processor script.
    I understand AME doesn't support scripting or command line interface. Is there any other way to accomplish what I wish to do? I have around 500 files at about 100GB and would prefer to not do things manually.

    Hi Bob,
    Just put 'em where you want 'em to be (if they're not already), then if you don't already have the root folder in Lightroom - import one photo from the top-level - that way you get the root folder created in Lightroom - even if its a fake photo just to get things going.
    Then just do a folder-sync on the root - it'll get all of 'em in place. (hint: Right/Ctrl-click the root folder, then select 'Synchronize Folder' - I recommend not showing the import dialog box or you may be there all day...)
    Rob

  • How to Upload Multiple Files from a folder at a single go?

    Hi friends,
    My requriment is to Upload many txt or excel files in a single shot.
    If its a single file i can upload through Ws_upload or Gui_upload.
    in the same way is there any function modules to upload many files at a time.
    Regards
    Venkatesh.S

    Hi Venkatesh,
    Try this code..
    data: l_filename type string OCCURS 0 WITH HEADER LINE.
    l_filename = 'c:\temp1.xls'.
    APPEND L_FILENAME
    l_filename = 'c:\temp2.xls'.
    APPEND L_FILENAME
    LOOP AT L_FILENAME
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    FILENAME = l_filename
    FILETYPE = 'ASC'
    HAS_FIELD_SEPARATOR = '#'
    TABLES
    DATA_TAB = itab1.
    OPEN DATASET <applicationfilename> FOR OUTPUT IN TEXT MODE.
    IF sy-subrc = 0.
    LOOP AT ITAB1
    TRANSFER ITAB1 TO pt_infil .
    ENDLOOP.
    ENDIF.
    CLOSE DATASET pt_infil.
    ENDLOOP.
    OR
    use CL_GUI_FRONTEND_SERVICES->DIRECTORY_LIST_FILES
    Regards,
    Goutham.

  • Zipping multple files and sending the Zipped folder to target location using Biztalk

    Hi all,
    I have requirement like
    Seperate Xml files will be coming as incoming message to Biztalk
    Biztalk need to send a zipped folder contining all these xml to target location
    any link or component i can use to meet this requiremant  plese help
    regards,
    Vineeth

    Create or use the publicly available custom component for unzipping the received message and for send use another component to replace all attachments of a multi-part message
    (multiple parts to multiple files to zip) for its zipped equivalent. If not multiple message use any zipping API to zip the multiple 
    files to zip file and send the zipped file in send port.
    BizTalk Pipeline Custom Component Message Unzippper
    Zip Files in a Custom Pipeline Component
    Multi-Part Message Attachments Zipper Pipeline Component
    BizTalk Multipart Message Attachments Zipper is a pipeline component
    List of custom Pipeline component you can use
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Multiple input files to multiple file outputs

    I have a workflow that can select multiple files and zip them into a single zip file.
    What modification should I do to get a workflow that zips each of the files separately into separate zip files?
    So I can select multiple files but each file is zipped into a separate file.

    You can use a Run AppleScript action do do it - the following action can be used instead of the Finder's Create Archive action:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 335px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;"
    title="this text can be pasted into an Automator 'Run AppleScript' action">
    on run {input, parameters}
    -- create a PKZip archive of the selected Finder item(s)
    -- if no destination folder is specified, the archive will be placed in the same location
    -- input: a list of Finder items to archive
    -- output: a list of Finder items archived
    set output to {}
    set SkippedItems to {} -- this will be a list of skipped items
    set DestinationFolder to missing value -- a Finder path to a destination folder if different
    repeat with SomeItem in the input -- step through each item in the input
    try
    set SomeItem to SomeItem as text
    if the last character of SomeItem is in {":", "/"} then set SomeItem to text 1 thru -2 of SomeItem
    set ArchiveSource to POSIX path of SomeItem
    if DestinationFolder is missing value then -- save the archive to the same location
    set ArchiveName to ArchiveSource & ".zip"
    else -- save the archive to the specified folder
    set TheName to name of (info for SomeItem as alias)
    set ArchiveName to (POSIX path of DestinationFolder) & TheName & ".zip"
    end if
    do shell script "ditto -ck " & (quoted form of ArchiveSource) & space & (quoted form of ArchiveName)
    set the end of the output to (POSIX file ArchiveName) as alias -- success
    on error ErrorMessage number ErrorNumber
    log ErrorMessage
    set the end of SkippedItems to SomeItem
    end try
    end repeat
    if SkippedItems is not {} then -- handle skipped items
    set TheCount to (count SkippedItems) as text
    display alert "Error with Archive action" message TheCount & " items(s) were skipped - workflow will continue"
            choose from list SkippedItems with title "Error with Archive action" with prompt "The following items were skipped:" with empty selection allowed
    if result is false then error number -128 -- user cancelled
    end if
    return the output -- pass the result(s) to the next action
    end run
    </pre>

Maybe you are looking for

  • Unknown Error (-50) after syncing then attempting to update my IPod Touch

    After syncing my device and making sure everything was saved I clicked the update to the new OS for the IPod Touch and it downloaded it in about 6 mins then turned off and on a few times and then when it tried to reconnect to Itunes I recieve the -50

  • Using Interactive Report Selection In A Procedure

    I want someone to be able to select a set of rows using the interactive report filtering capabilities. Then I want to use the data from the selected rows in a procedure. Is there some way to obtain the query being used by the report; or, in some othe

  • Running a crystal report xi in batch mode (C# runs a crystal report xi in batch mode)

    <p>Does anyone know if it is possible in a C# program to submit a Crystal Report XI? </p><p>Our design is to use C# front end to prompt the user for the parameters for the report.  These parameters would be stored in a table.  At night the C# program

  • Flash in Quicktime Pro

    I have quicktime pro. Is there any way to get it to convert videos to .flv without buying Adobe Flash? If I download the Flash trial, will the capability to convert videos to flash stay with me?

  • Qualified links to Relative links

    Hi All- I have created a course with links to pdfs in two if the scos. They work fine when tested on my computer but when tested in the LMS the pdfs won't come up: I need to change it from being a fully qualified link to my hard drive, to being a rel