FTP to IDOC : multiple source files

Hi experts,
I finished designing my File-FTP to idoc scenario.
I still have one question left, I did tests with my FTP by putting one file in the directory called test.xml
In the case I would have multiple source files (i.e. test2.xml, test3.xml, ...testn.xml), how can I handle these different files to be sent to SAP ???
Thanks a lots, any help would be appreciated.
Regards,
Jamal

hi,
  If you want to process all the ".xml" files in the folder then just give the file name "*.xml".It will process all
  the xml file in the folder.
  Advanced Selection for Source File:
   If you want to process only the file name will start "a" , "b" and extension is xml then,
   ".xml" is the file name and "a" ,"b*" is the Exclusion Mask.
Regards,
Prakasu
Edited by: prakasu on Aug 7, 2008 12:15 PM

Similar Messages

  • Any Tutorial / Sample to create Single PDF from multiple source files using PDF assembler in a watched folder process.

    Any Tutorial / Sample to create Single PDF from multiple source files using PDF assembler in a watched folder process. I have a client application which will prepare number of source files and some meta data information (in .XML) which will be used in header/footer. Is it possible to put a run time generated DDX file in the watch folder and use it in Process. If possible how can I pass the file names in the DDX. Any sample Process will be very helpful.

    If possible, make use of Assembler API in your client application instead of doing this using watched folder. Here are the Assembler samples :  LiveCycle ES2.5 * Programming with LiveCycle ES2.5
    Watched folder can accept zip files (sample : Configuring a watched folder to handle multiple input files and write results to a single folder | Adobe LiveCycle Blog ). You can also use execute script to create the DDX at runtime : LiveCycle ES2 * Application Development Using LiveCycle Workbench ES2
    Thanks
    Wasil

  • Howto deal with multiple source files having the same filename...?

    Ahoi again.
    I'm currently trying to make a package for the recent version of subversive for Eclipse Ganymede and I'm almost finished.
    Some time ago the svn.connector components have been split from the official subversive distribution and have to be packed/packaged extra. And here is where my problem arises.
    The svn.connector consists (among other things) of two files which are named the same:
    http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/features/org.polarion.eclipse.team.svn.connector_2.0.3.I20080814-1500.jar
    http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/plugins/org.polarion.eclipse.team.svn.connector_2.0.3.I20080814-1500.jar
    At the moment makepkg downloads the first one, looks at its cache, and thinks that it already has the second file, too, because it has the same name. As a result, I can neither fetch both files nor use both of them in the build()-function...
    Are there currently any mechanisms in makepkg to deal with multiple source files having the same name?
    The only solution I see at the moment would be to only include the first file in the source array, install it in the build()-function and then manually download the second one via wget and install it after that (AKA Quick & Dirty).
    But of course I would prefer a nicer solution to this problem if possible. ^^
    TIA!
    G_Syme

    Allan wrote:I think you should file a bug report asking for a way to deal with this (but I'm not sure how to fix this at the moment...)
    OK, I've filed a bug report and have also included a suggestion how to solve this problem.

  • Compile multiple source files

    sorry, this is maybe a newbie question.
    but iI have a problem compiling an application that use multiple sources files
    for exemple
    the class A is in the file 1
    the class B is in the file 2
    class A uses an instance of the class B
    class B uses an instance of the class A
    so i'm unable to compile these files coz each one tells me he doesn't know about the other
    Is there a way to define prototypes of class or fonctions before their use like in C/C++?
    Or is there another way i didn"t pay attention
    thanks all

    This is a minimal explanation of packages. For a full explanation of packages and how to compile and run Java programs, see this page:
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/tools.html
    and read the Setting the Classpath and the How Classes are Found topics.
    Assume that your programs are part of a package named myapp, which is specified by this first line in each source file:
    package myapp;
    Also assume that directory (C:\java\work\) is listed in the CLASSPATH list of directories.
    Also assume that all your source files reside in this directory structure: C:\java\work\myapp\
    Then a statement to compile your source file named aProgram.java is:
    C:\java\work\>javac myapp\aProgram.java
    And a statement to run the program is:
    java myapp.aProgram
    (This can be issued from any directory, as Java will search for the program, starting the search from the classpath directories.)
    Explanation:
    Compiling
    A class is in a package if there is a package statement at the top of the class.
    The source file needs to be in a subdirectory structure. The subdirectory structure must match the package statement. The top subdirectory must be in the classpath directory.
    So, you generate a directory structure C:\java\work\myapp\ which is the [classpath directory + the package subdirectory structure], and place aProgram.java in it.
    Then from the classpath directory (C:\java\work\) use the command: javac myapp\aProgram.java
    Running
    Compiling creates a file, aProgram.class in the myapp directory.
    (The following is where people tend to get lost.)
    The correct name now, as far as java is concerned, is the combination of package name and class name: myapp.aProgram (note I omit the .class) If you don't use this name, java will complain that it can't find the class.
    To run a class that's NOT part of a package, you use the command: java SomeFile (assuming that SomeFile.class is in a directory that's listed in the classpath)
    To run a class that IS part of a package, you use the command java myapp.aProgram (Note that this is analogous to the command for a class not in a package, you just use the fully qualified name)

  • Best Practive - One mapping reading multiple source files

    I want to develop a solution for one single mapping reading multiple similar source files that are stored on different directories on my OWB server. I want to be able to determine on runtime of my mapping from what location to load the source file from.
    Example:
    Mapping: Load_test_data
    source file 1: c:\input\loc1\test.dat
    source file 1: c:\input\loc2\test.dat
    When I run the mapping I would like to use an input parameter specifying the location loc1 or loc2. I would also like to use this input parameter in my mapping to populate one column in my target table with the value of this input parameter. This design would make it possible to dynamically load source files from different directories and also being able to see after loading where the data came from.
    Questions:
    - Is there a way to create such a design
    - If not, what alternative would be appropriate.
    Thanks in advance for the feedback

    Thanks for the feedback. Unfortunately I do not use workflow together with my OWB.
    I now indeed specified the file name and file location in the configuration of my mapping. However I am not able to change then upon executing the mapping. Data file name and file location are empty and greyed out when I execute my mapping. It always takes the values I specified in the configuration of my mapping
    What I would like to do is specify the location upon runtime when I execute my mapping, but I don't know if this is possible. In addition I'd also want to use the data file location as an input parameter for one of the columns I populated in my target table.
    Then in the end I would be able to use one mapping and read multiple sources files from different locations and also be able to check in the end where the data was loaded from.
    Hope you can give me some more feedback on how to set this up in OWB.
    Many Thanks!
    data file name parameter to ma

  • How to create a blu-ray disc with multiple source files

    Hello,
    How is it possible to create a blu-ray disc, AVCHD recordable DVD with multiple source files from Final Cut Pro 10. Is it possible to create a menu with several chapters corresponding to the sequences (source files)?
    Thank you in advance for your support.

    Assume you're talking about using the Create Blu-Ray batch template. It's not possible to do with multiple source filles. But if I understand your objectives, you could pretty much get what you think want – discrete movie segments on a single disk with navigation.
    The way I'd approach it is by making multiple projects in FCP and then copying the finished versions into a new project, separated by gaps. (You could also use compound clips but I'm not a fan except for very short sequences, which is why I'm suggesting the copy route.) Then export and bring into Compressor.
    In Compressor mark your chapters at the gaps between your individual sequences. Then choose the AVCHD option in job actions.
    Bear in mind that you'll have to keep the recording time under roughly 30-35 minutes @a5 Mbts/sec
    Good luck.
    Russ

  • Multiple source files to 1 source structure

    Hi Gurus,
    Is grouping of multiple souce files to create one source structure possible?
    EX.
    AAA.csv
    BBB.csv
    CCC.csv
    Then the contents of these files will be merged into one source structure. Can this be done without BPM?
    Thanks!

    Check the wiki page below in addition to above replies.
    http://wiki.sdn.sap.com/wiki/display/XI/MessagemergeusingtheBPM

  • Multiple source files

    Hi,
    My client has given me two files for HEADER and ITEM as source
    and receiver has only one structure . can anyone guide my how to  proceed with mapping .Please help me
    FULL POINTS WILL BE AWARDED
    thank u
    Bhasker

    Hey,
        According to your scenario you have two source and one target.
    This is N:1 mapping.
    You need to have a BPM for this.Because without BPM you would be able to configure your message mapping and interface mapping successfully but you will face problem in iterface determination in ID.
    what you need to do is create two DT(structures) for the two source files.
    create two message type.
    refer to both of them in you message mapping(i.e. your message mapping will have two source structure)
    create  a  DT and MT for target file.
    refer to this structure as target in your mapping.
    Do your mapping.
    Now create a BPM.
    you must have two recieve steps.one for each source file.
    you must have a trasnformation step for your mapping (as your mapping is in the transformationstep you dont need an interface determination.)
    then you must have a send step for target file.
    As you have two recieve step you should have a correlation between them.
    refer to this link for correlation.
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    i hope the other configuration steps need not be explained.
    reward points if useful,
    regards,
    milan.
    Edited by: Milan Thaker on May 23, 2008 6:15 AM
    Edited by: Milan Thaker on May 23, 2008 6:26 AM

  • File to IDOC - multiple source fields to 1 field

    Hello,
    I implement scenario from file to IDOC.
    In source side I have 2 fields (in different levels) that I want to map to 1 field in the IDOC.
    Is it possible to do it? And how?
    Regards
    Elad

    Hello,
    The sorce file is xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <PLM_Out_MT>
       <Quotation/>
       <TransactionHeader>
          <TransDateTime/>
          <Sender/>
          <Receiver/>
       </TransactionHeader>
       <QuotationHeader>
          <DocTyp/>
          <ContractNo/>
          <PurcNo/>
          <PurcDat/>
          <ValToDate/>
          <GenHeadText/>
          <PlmUser/>
       </QuotationHeader>
       <QuotationLines>
          <QuotationLine>
             <ItemNum/>
             <ItemCat/>
             <Quantity/>
             <ReqDelDate/>
             <OrgReqDate/>
             <Version/>
             <QuotationTexts>
                <QuotationText>
                   <TEXT_ID/>
                   <TEXT_LINE/>
                </QuotationText>
             </QuotationTexts>
          </QuotationLine>
       </QuotationLines>
    </PLM_Out_MT>
    The target is:
    <?xml version="1.0" encoding="UTF-8"?>
    <ZCUSTQUOT_WITH_REF01><IDOC BEGIN="1"><Z1ZCUSTQUOT_WITH_REF SEGMENT="1"><E1BPSDHD1 SEGMENT="1"><DOC_TYPE></DOC_TYPE><PURCH_DATE></PURCH_DATE><PP_SEARCH></PP_SEARCH><REF_DOC></REF_DOC></E1BPSDHD1><E1BPSDITM SEGMENT="1"><ITM_NUMBER></ITM_NUMBER><MATERIAL></MATERIAL></E1BPSDITM><E1BPSCHDL SEGMENT="1"><ITM_NUMBER></ITM_NUMBER><REQ_QTY></REQ_QTY></E1BPSCHDL><E1BPSDTEXT SEGMENT="1"><ITM_NUMBER></ITM_NUMBER><TEXT_ID></TEXT_ID><TEXT_LINE></TEXT_LINE></E1BPSDTEXT></Z1ZCUSTQUOT_WITH_REF></IDOC></ZCUSTQUOT_WITH_REF01>
    I need to map in the first time from <GenHeadText/> to  <TEXT_LINE> and in the second time from <TEXT_LINE/> to <TEXT_LINE>
    Is not possibole to use with concatenate  because i need all the time to map diffrebt field.
    Elad

  • Multiple source files from multiple directories in sender CC

    Dear all,
    My requirrement is that ,I need to use multiple directories in sender CC (only one) and send the files to receivers.
    Kindly let me know how it can be done.
    Thanks,
    Srinivasa

    Hi,
    under advanced tab.............If you set the Enable indicator, you can enter variables for the Target Directory and File Name Scheme. Enter the names of the variables and references in the table.
    &#9679;      Enter each variable that you reference in the Target Directory and File Name Scheme fields without the surrounding percentage sign under Name of Variables in the table.
    The variables can refer to attributes of the message header or elements of the message payload.
    &#9675;       If the variables are to refer to an attribute of the message header, add the prefix message: to the name of the variable under Reference. You can specify the following attributes of the message header:
    sender_party, sender_service, receiver_party, receiver_service, interface_name, interface_namespace,
    message_id (message ID with hyphens, for example 9fbe1ff1-9a0d-11d9-8665-cbf10a126331)
    message_id_hex (message ID in hexadecimal format, for example 9fbe1ff19a0d11d98665cbf10a126331)
    For example, if you want to specify the interface name from the message header in the target directory or in the file name scheme, enter message:interface_name as the reference.
    If one of the message attributes contains characters that are not permitted in a file name, for example \, /, :, *, ?, ", <, >, |, then these characters are replaced by an underscore ("_").
    &#9675;       If the variable refers to an element in XML schema, add the prefix payload: to the information under Reference. The reference then comprises a pseudo path description in the form of a comma-separated list with the schema namea,na,nameb,nb,....
    namea,nameb,...corresponds to the element name and na,nb,... corresponds to the occurrence of the element name at the respective level in the document.
    The description begins at the root of the document and ends at the respective element.
    To reference the element that is in bold in the example, the following expression is used: payload:root,1,e1,1,e2,2
    The parser searches for the first occurrence of the root element at the first level. It then searches for the first occurrence of e1 at the second level and for the second occurrence of e2 at the third level. The content of the last element (&#8220;Example Value&#8221;) is set as the value for a specified variable.
    Thanks,
    Madhu

  • Multiple source file for applet??

    When I first started writing my applet I only had one scourecode file so I wouldn't get any file finding problems... but now my file is gething to lagre ~1700 lines so I now I wanto stripe it down to sevral file and so I did...
    I have the files in a folder called morix and all the scourcefiles are in package morix, it compiles but i cant get the applet to start
    I get this:
    java.lang.NoClassDefFoundError: MainGame (wrong name: morix/MainGame)
            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:509)in my html file I have the following:
    <applet code="MainGame.class" WIDTH = 800 HEIGHT = 600>
    </applet>thanks for any help!

    try
    <applet code="morix.MainGame.class" WIDTH = 800 HEIGHT
    = 600>jea that worked thank you

  • Compile source files from multiple subdirectories

    Hi. we know that we can compile multiple source files in a folder with the statement:
    javac -classpath . *.java
    How can we compile multiple source files that belong to different subfolders without using an IDE?
    Example:
    folder1, folder2, & folder3 all have .java source files, and all 3 folders belong to a folder named bigfolder;
    what is the shortest way to compile those source files in one statement like the one above?

    It should work withjavac -classpath your_classpath folder1\*.java folder2\*.java folder3\*.javaJust make sure that your_classpath allows all of the classes to be found.
    It might be better to use the -d option in your case.javac -d path_for_classes folder1\*.java folder2\*.java folder3\*.javaYou just specify the directory into which the .class files and their package directories should go.

  • EDIFACT File TO IDOC Archive directory file name.

    HI Experts,
    I have EDIFACT file to IODC scenario. I have  multiple source file locaiton but only one Archive location directory.But I have three different kind of file coming form three different location.
    we can only have one archive directory per service, is it possible to manipulate the file name so we can tell if files were successful or failed?
    For example, FileName1.txt, if it was successful, it would move to the archive directory and rename to u201CFileName1.txt.PASSu201D,
    if it failed it would move to archive directory like u201CFileName1.txt.FAILu201D. Is this functionality possible?
    Or will we just have to rely on Alert Categories to tell us when files have failed?
    Kindly give your valuable suggestion.
    Regards,
    Sumit Gupta

    >
    sumit gupta wrote:
    > HI Experts,
    >
    > I have EDIFACT file to IODC scenario. I have  multiple source file locaiton but only one Archive location directory.But I have three different kind of file coming form three different location.
    >
    > we can only have one archive directory per service, is it possible to manipulate the file name so we can tell if files were successful or failed?
    > For example, FileName1.txt, if it was successful, it would move to the archive directory and rename to u201CFileName1.txt.PASSu201D,
    > if it failed it would move to archive directory like u201CFileName1.txt.FAILu201D. Is this functionality possible?
    > Or will we just have to rely on Alert Categories to tell us when files have failed?
    >
    > Kindly give your valuable suggestion.
    >
    > Regards,
    > Sumit Gupta
    When you say success or failure does it mean a successful IDoc created in SAP? if so you will have to use a BPM and on successful creation fo the IDoc write the file out with the PASS name else FAIL name.
    you can also look at employing  scripts but there is no standard feature for this requirement. I gather alert is a better option.

  • Can I change original source files in the project?

    I have a project which has become very disorganized over the last year of editing due to PPs poor ability to effectively share sequences/projects across multiple computers. My assistant editor used a different computer and so the links in the sequences point to multiple "source" files in the project (some in imported folders). However, there is ultimately only one original video clip. The problem is that Premiere Pro won't allow me to delete the nested versions of the source files without also REMOVING the clips in each of the sequences that uses them. For example, the project folder looks like this:
    - Original File Folder
         -- videoClip-001.mov
    - Imported File Folder (imported on one of the many exchanges between editor and assistant editor)
         -- videoClip-001.mov
    - Sequence version 1 (Uses the second video clip, not the first - although they are ultimately the same video file)
    If I delete the Imported File Folder, which only has a mirrored reference to the same video file as in the Original File Folder, then the clip in Sequence Version 1 dissapears. What I expect, rather, is to see a "missing media" message in the sequence so I can reconnect it to the version in the Original File Folder. But I can't. BIG HOLE in Premiere Pro CC.
    Why do I want to do this? In a large project with hundreds of video clips, keeping order is very important. With the sequences using multiple "versions" of the same video clip, that order goes down the tubes and it becomes impossible to work.
    Thanks for your help.

    I don't know of any way to clean up this project, but in the future, don't import the project, just import the sequence.  That will not create duplicates.

  • Receiver file adapter posts multiples for singel source files

    Hi,
    I am using wild character in my input source ftp adapter but my receiver file adapter is creating multiple duplicate files. I am not sure why this happens as QOS is set to "Exactly Once" with archive processing mode. I tried with delete mode and the same error occurs. We had no problems testing it in our Dev environment but in QA its acting so strangely...Any advise is appreciated..
    -Teresa

    Hi,
    2. Homany files you posted at oubound directory?
    1.             You said duplicate files at receiver side, is the files having time stamp? if so those are not duplicate files.
    Thanks,
    Satish.

Maybe you are looking for

  • HT1430 i am unable to swipe either to open the phone or turn the phone off to see if the phone will reboot itself . any suggestions

    I am unable to swipe either to open the phone or turn the phone off to see if the phone will reboot itself . any suggestions

  • Pause between inro and menu

    Hi! I have made an intro to my menu (animating the menu in). But there is a little thing that is enoying. The pause between the intro and the menu that happends when the dvd are played on a dvd player. I have heard about something that is called VTS

  • OIM 9.1 certification matrix

    Hi, there is a new document a few days ago about installing OIM 9.1 under Oracle Application Server (http://download.oracle.com/docs/cd/E10391_01/doc.910/e10368/toc.htm) also release notes document have been updated (http://download.oracle.com/docs/c

  • Invisible apps on my Desktop?

    Hi, I have just discovered (with some help of FileBuddy) that there are three invisible applications on my Desktop. Their names are: - Application (Carbon CFM) 1028.31A - Application (Carbon CFM) 1028-1.31A - Application (Carbon CFM) 1028-2.31A I thi

  • Defalut Values in BP

    Hi Guru's When creating Business partner for organization BP when extending sales area data requirment is to default Pricing procedure as "Customer Pricing Procedure" and ''Currency"as a default attribute instead adding maually. Regards, Raj Message