One Input File Multiple output files.

Hi,
How to Generate Multiple Output (Target) files by using Single (Source File) Input file in File 2 File Scenario.
Please help me to do this.
With Regards,
Mahesh

Hi,
This is a scenario of 1 : N transporting right.. for this u shud use Multi-mapping then you need to change your logic because Multi-mapping is only be used by ccBPM. so use BPM (integration process) in IR to implement you logic in File to File scenario.
oops.. i missed one thing ..
in simple file to file scenario you can use Message patterns for duplicating the target fields if you getting from single file. You can use this pattern like in target field structure right click on root tag and then click on duplicate subtree, and then you are down.. above is the other way if u want to use bpm.
Hope this will help you,
Regards
Aashish Sinha
PS : reward points if helpful

Similar Messages

  • Question about creating multiple output  files from same query

    I have a query like this:
    select * from emp;
    ename empno deptno
    Scott 10001 10
    Tiger 10002 10
    Hanson 10003 20
    Jason 10004 30
    I need to create multiple output files in xml format for each dept
    example:
    emp_dept_10.xml
    emp_dept_20.xml
    emp_dept_30.xml
    each file will have the information for employees in different departmemts.
    The reason I need to do this is to avoid executing the same query 200 times for generating the same output for different departments. Please let me know if it is practically possible to do this.
    Any input is greatly appreciated.
    Thanks a lot!!

    You can write a shell script to generate the multiple spools files for the same output. Below script may helps you.
    #====================
    #!/bin/bash
    n=0
    while [ $n -le 20 ]
    do
    n=`expr $n + 1`
    sqlplus -s system/manager <<EOF
    spool emp_dept_$n.xml
    select count(1) from tab;
    spool off
    EOF
    done
    #====================

  • Multiple output files from single Request

    Hi guys
    i have one requirment,can we display multiple outputs files (multiple templates) for a single request .
    ie i have some banks ,if i run an request ,it will get the details of each bank details ,induadual template .
    let me know the solution for this one.
    thanks inadvance.

    Pl post details of OS, database and EBS versions.
    Pl elaborate on your requirements. Assuming you are using XML/BI Publisher, the physical output file will be a single file, but you can use XML/BI Publisher bursting features to separate out different outputs.
    How to Implement XML Publisher Bursting in 11.5.10.2?          (Doc ID 740428.1)
    How to Print Via Bursting Control File          (Doc ID 844276.1)
    HTH
    Srini

  • BOM and Production Order: Multiple Inputs to Multiple Outputs

    Dear All, My client's industry required BOM and Production Order must be Multiple Inputs to Multiple Outputs. We propose to create customization program to work on it but client do not want any customizations. Any suggestions? SAP B1 8.81 PL13 Thank you very much in advance. Best Regards, Vivian

    Hi,
    Please advice your requirement with an example. There is possibility to input multiple components to produce single finished product.
    Not sure you have checked with SAP help file. If not refer SAP help file and below blog.
    http://scn.sap.com/community/business-one/blog/2014/03/01/how-to-implement-production-in-default-sap-business-one
    Thanks & Regards,
    Nagarajan

  • Simultaneously read more than one input and generate output

    Is it possible To simultaneously read more than one input and generate outputs depending on these inputs? If this isn't possible what is the best way to go about making some sort of timed loop that will read an input, read the next input, decide whether or not to output and so on. Hope someone can help. Thanks.Message Edited by Esmith13 on 05-25-2005 01:36 PM

    Hi,
    You should look at the synchronized examples for analog input and output that can be found in the example finder under:
    Help>>Find Examples>>Hardware Input and Output>>DAQmx>>Synchronization>>Multi-Function
    These will get you started to being able to handle multiple tasks at the same time.
    I hope this helps. Have a Great Day!
    George

  • Printing messages in Log File and Output File using Dbms_output.put_line

    Hi,
    I have a requirement of printing messages in log file and output file using dbms_output.put_line instead of fnd_file.put_line API.
    Please let me know how can I achieve this.
    I tried using a function to print messages and calling that function in my main package where ever there is fnd_file.put_line. But this approach is not required by the business.
    So let me know how I can achieve this functionality.
    Regards
    Sandy

    What is the requirement that doesn't allow you using fnd_file.put_line?
    Please see the following links.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Dbms_output.put_line+AND+Log+AND+messages&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=%22dbms_output.put_line+%22+AND+concurrent&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • In trace file and output file showing bind variable instead of value

    Hi,
    database 9i
    optimizer = choose(for cost based)
    In my trace file and output file showing bind variable instead of value.
    in my trace file 20 queries.
    I alse set this parameter in session level.
    alter session set events '10046 trace name context forever, level 4';
    but still showing traceoutput file bind variable.
    Pls help its very urgent

    Can you post the query for which the bind variable values are not being shown and the trace output for the same?
    Probably it is listed down somewhere when you actually executed the query among the others. Try completely analyzing your trace file..

  • How to create multiple output files using TrAX?

    I am new in this field. I'm trying to create multiple xml output files using TrAX. I have to parse a xml source file and output it to multiple xml files. My problem is that it only creates one output file and puts all the parsed data there. When i use saxon and run xsl and xml files, it works fine and creates multiple files...it has something to do with my java code...Any help is greatly appreciated.
    Here's my XSL file
    <?xml version="1.0"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1"
    <xsl:template match="data_order">
    <data_order>
         <xsl:copy-of select="contact_address"/>
         <xsl:copy-of select="shipping_address"/>
         <xsl:apply-templates select="ds"/>
    </data_order>
    </xsl:template>
    <xsl:template match="ds">
    <xsl:variable name="file" select="concat('order', position(),'.xml')"/>
    <order number="{position()}" href="{$file}"/>
    <xsl:document href="{$file}">
    <xsl:copy-of select="."/>     
    </xsl:document>
    </xsl:template>
    </xsl:stylesheet>
    xml source file
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE operation SYSTEM 'data_order.dtd'>
    <data_order job_id='00-00-000' origin='PM-ESIP'>
         <contact_address>
              <first_name>ssssss</first_name>
              <last_name>sssss></last_name>
              <phone>2323232</phone>
              <email>dfdfdsaf</email>
         </contact_address>
         <ds ds_short_name ='mif13tbs'>
              <output>
                   <media_format>neither</media_format>
                   <media_type>FTP</media_type>
                   <output_format>GIF</output_format>
              </output>
         </ds>
              <ds ds_short_name ='mif15tbs'>
              <output>
                   <media_format>neither</media_format>
                   <media_type>FTP</media_type>
                   <output_format>GIF</output_format>
              </output>
         </ds>
    </data_order>
    My java file
    import javax.xml.transform.*;
    import javax.xml.transform.stream.*;
    import java.io.*;
    public class FileTransform {
    public static void main(String[] args)
    throws Exception {
    File source = new File(args[0]);
    File style = new File(args[1]);
    File out = new File(args[2]);
    TransformerFactory factory = TransformerFactory.newInstance();
    Transformer t = factory.newTransformer(new StreamSource(style));
    t.transform(new StreamSource(source), new StreamResult(out));

    Saxon has specific extensions. In this case it is <xsl:document>. That looks like a standard XSLT element, but it actually isn't. The history behind it is this: There was a proposal to create a new version of XSLT, called XSLT 1.1. One of the new features of this version was to be this xsl:document element. The author of the Saxon product, Michael Kay, is one of the people on the W3C committee directing the evolution of XSLT, so he upgraded his product to implement XSLT 1.1. But then the committee decided to drop XSLT 1.1 as a recommendation. So that left Saxon in the strange position of implementing a non-existent extension to XSLT.
    The other outcome of this process was that XSLT (1.0) does not have a way of producing more than one output file from an input file. And so the short answer to your question is "Trax can't do that." However, XSLT 2.0 will be able to do that, although it is not yet a formal W3C recommendation, and when it does become one it will take a while before there are good implementations of it. (I predict that Saxon will be the first good implementation.)
    One of the problems with XML and XSLT is that what you knew a year ago is probably obsolete now, because of all the evolution going on. So being new in the field is not a disadvantage, unless you get stung by reading obsolete tutorials or magazine articles.

  • 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

  • 1 input msg, 2 output files

    Hi Everyone:
      The scenario is as follows, I have an input msg which looks like this:
    <ACCOUNT>
      <HEADER>
      </HEADER>
      <DETAIL>          <---  occurence 1:unbounded
      </DETAIL>
    </ACCOUNT>
    and somehow after doing the necessary mapping, etc I need to end up with 2 output files, one with the HEADER data (header.txt) and the other with the DETAIL data (detail.txt).  Can I use File Content Conversion to do this? if so, how?   I'm new to this environment so I'll appreciate any help

    Hi Carlos,
    you have to use BPM (business process) to do this:
    you can send several file from BPM
    you can do 2 mappings:
    input file to first file (header)
    input file to second file (detail)
    this way you'll have you scenario done:)
    BTW
    you use: File Content Conversion only when you send/receive data to XI inside you handle everything in XML
    but sure you have to use File Content Conversion to map
    inbound file to xml file representation in XI
    and later on use File Content Conversion again to
    map two aboutbound files from XML structures to flat
    destination files
    Regards,
    michal
    Message was edited by: Michal Krawczyk

  • Sequence Grabber and multiple output file

    Hi,
    I'd like to use sequence grabber to capture video and save it to two files in the same time, one has better quality while another one has lower quality(high compression, low frame rate), is this possible? any samples? thanks.
    AC

    I love you guys!
    thanks alot!
    this makes life so much easier I'm about to cry.
    In article <3b2dbd1c$[email protected]>, [email protected]
    says...
    "denis krizanovic" <[email protected]> wrote in message
    news:[email protected]..
    >
    Can I write an XSLT stylesheet that will splinter a single xml into
    multiple HTML files?Yes. It is not part of the XSLT spec but extensions are sometimes available
    depending on xsl processors. (xalan, saxon..)
    is this something XSLT can do today? Specifically in WebLogic6 - Using
    the Xalan thingy.Yep. Right pick. Xalan can do it using the redirect extension
    See below. For more information look at the xalan doc or mailing list
    [email protected]
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0"
    xmlns:lxslt="http://xml.apache.org/xslt"
    xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect"
    extension-element-prefixes="redirect">
    <!-- default output directory -->
    <xsl:param name="output.dir" select="'.'"/>
    <xsl:template match="/">
    <!-- doing some output on file1 -->
    <redirect:write file="{$output.dir}/file1.html">
    </redirect:write>
    <!-- doing some output on file2 -->
    <redirect:write file="{$output.dir}/file2.html">
    </redirect:write>
    </xsl:template>
    </xsl:stylesheet>
    Stéphane Bailliez
    Software Engineer, Paris - France
    iMediation - http://www.imediation.com
    Disclaimer: All the opinions expressed above are mine and not those from my
    company.

  • HR - XI - External System: one IDOC to multiple XML Files

    Hi,
    I have a scenario where I need, out of one HRMD_A07 IDOC send multiple XML files:
    The IDOC and the XML files can the Master data for many employee (IDOC has max of 200 as of SAP, external system, max of 1000).
    The IDOC will be generated with change pointers with all the needed filters (I can add/remove if needed).
    My goal is to generate 3 types of XML files:
    - 1 for the persons (containing basic info like name, firstname, persnr,etc)
    - 1 for the various unit (with basic info of unit like number, description & name)
    - 1 for the links between persons and units (this person is linked with that unit)
    The structures of the 3 XML files are know and can be imported via XSD definition.
    Do I need to use BPM for doing so or is there a way to do that with simple mapping?
    If BPM is needed, as I new to that, if you have a link to a begginer guide, fell free to send it
    Cheers,
    greg

    hi,
      For your scenario there is no need of BPM.
      In message mapping select the message tag.
      In the target add 3 message types.
      Just map the fields.Go to Interface mapping add the 3 message in the target.
      Get the mapping.
      In ID sender agreement,Receiver Determination is same.
      In Interface Determination select extended.Get the mapping.
      Create 3 Receiver agreement for each Receiver.
    Regards,
    Prakasu

  • Multiple output files

    hi,
    i am using report 6i.
    two differ output is generated by one report
    so ...i want to display both in differ output file.(.txt)
    is it possible in report 6i ?
    can i save two differ frame's output in differ file ?
    or pls guide any another way to do this thing in report 6i.
    thnkx in advance

    Have you tried using TEXT_IO or UTL_FILE. These are file utilities and you may use it in the trigger of your frame to generate the output. Just take note of where the files will be created if you use either of these package

  • RoboHelp V8 Are working files the output files?

    I have RH V4 and there are 2 version of the file the html pages. The one I edit and then the files created for the output.   I have to save both versions to multiple places and I was wondering if they are now just one file/version.  
    Also, I am trying to convince my company on the benefits of spending $500 to upgrade, any compelling reasons?
    I like that I it can have multiple projects. But that doesn't merit $500 in their book.

    Welcome to our community
    I'm assuming you mean to say that you have RoboHelp X4. Version 4 is really REALLY old!
    Think of your RoboHelp files as you might think of ingredients in the kitchen. You have eggs, flour, milk and whatnot. These are the source ingredients. They are very much like your RoboHelp source files. You mix these ingredients and bake them to create OUTPUT, such as Chocolate Chip cookies, Bran Muffins or whatever. The cookies and muffins are very much like your RoboHelp OUTPUT files.
    All versions of RoboHelp I've ever seen are able to have multiple projects. Whether you think it's worth the upgrade price is for only you to decide. If you are happy with the way RoboHelp works and it suits you. Then hold off. But there are many factors to consider.
    Does the new version offer something you might find useful and save lots of time? If so, upgrading is a no brainer.
    Are you finding that the output you create has suddenly began to have issues? Might be time to upgrade. For example, if you are creating WebHelp output and suddenly you see lots of folks that are all using the new Google Chrome browser, the older version of WebHelp doesn't know about Chrome. So the WebHelp may have issues. In that case you might strongly consider upgrading so your output handles newer browsers.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 moments from now - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcererStone Blog
    RoboHelp eBooks

  • FILE - FILE Scenario - output file is not available

    Hi
    I'm doing simple file - file scenario based on the weblog
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    In RWB >> msg monitor shows, the message status is successful. But I'm unable to find output file in the directory as I mentioned.
    Pls help me where to find.. what is the problem
    - Govind J

    Hi Govind,
    These are a few things you can do:
    Check the permissions of the folder where the file is being generated by XI.
    If you are doing Content conversion, please can you just remove it and see if the XML file is getting generated.
    Also, please check if it's picked up by any other application when you place it on the server.
    I am assuming out here that you are speaking abt the file that is give by SAP XI after processing the incomming file.
    Also check default .trc log file in visual admin.it will tell u if there any errors
    and also check the permissions of the files generated by XI
    Regards,
    Abhy

Maybe you are looking for

  • [SOLVED] No Sound - ALSA. Soundcard detected however

    The new version of Alsa (1.0.20) supports my new sound card- the Asus Xonar Essence STX. I installed this version like it says on the wiki page http://www.alsa-project.org/main/index. … e-virtuoso (compiled from source) I have no sound now. In alsami

  • Disk for my HP officejet J4580 all-in-one.

    Cannot locate disk to reinstall my printer. How can I obtain a copy?

  • Will bigger ram make Lion better?

    Hi, i have a Macbook Pro, Mid 2010 13". Currently it has 4gb of Ram and i'm just thinking for the price this website is offering, should i do it? And should i all work fine? I work with Logic alot and lately it's been running slower (i've been using

  • Color on PSE 12 OK / On PSE 13 BAD

    I recently purchased PSE 13 hoping it was an improvement--it isn't!  Please look at the following: The PSE 12 scan can be changed/lightened, etc. until it looks like white paper, with no problem. The PSE scan, no matter what I do, continued to have a

  • Modified Security roles summary report

    Just curious if anyone has modified the Security roles summary report to include the individual permissions object class. So for some permissioned userid or group that has the canned role Remote Tools Operator, the report would also show that Collect