Idoc to multiple output files - configuration

I have got a single idoc type being output from my R/3 system.
Within the idoc is a marker that determines the mapping that the idoc should undergo in XI.
I have set up all the individual mappings, and have tested the flow from R/3 to flat file one message at a time.
However I am uncertain as to how best to configure this in the Integration Directory.
I understand that I will need to set conditions within the configured receivers in the Receiver Determination for the idoc, but after that I am uncertain as to both best practice and most efficient method.
Do I need a separate service for each output?
Do I need to set up Intergration Processes?
How should I set up the Receiver Determination?
Regards
C

Hi Chris,
I am not really sure about your question but:
Yes you will need one service per output if the output goes to a different system (service defines a system to receive a message).
Now it depends on your process what you want to get as a result.
If there are only some conditions which determine if one receiver should get a message or not you can put them together in one condition as a chain with OR .
If the condition defines the receiver system and per condition there is another system, you need a receiver determination per receiver (with its own condition for the message!).
Integration processes: I think you are talking about BusinessProcessManagement?
No, you don´t need them as long as you don´t work with complex business process e.g. to modify messages or append them within XI area (or other funny things you can do here.) BPM is a kind of workflow and enables you to do MORE than only send message from a to b refering to a condition.
Receiver determination:
Add a new one after adding a new sender agreement (don´t add any receivers i this agreement!) by starting in the middle of the rec.agr. screen. Per condition line you can add one or more receivers. (First you need to complete your interface mapping(s) in Int. Repository!)
After completing this screen save and continue in the screen area at the end of the screen. Here refresh and add now per receiver (with NEW SPECIFIC) the implementation from the int.repository.
(Always use NEW SPECIFIC for the different columns here).
As I wrote your threat is not really clear and sounds like you need complex help. Hope this helps a little bit.
For more questions to this issue add them here...
regards
Dirk

Similar Messages

  • 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

  • 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

  • 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.

  • 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

  • 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.

  • 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

  • Multiple output files for one report

    I would like to dump out multiple files (PDF and delimited) from one single report refresh.
    I'm using rwcli60. How do I do this ?

    Hi
    Thanks for the information. Its nice to know.
    However, if I understand it correctly, it is basically for directing the same report output to different targets.
    For me, it may be the same report, but the output will be different based on some logic I have in the before report trigger. For me it is like running the report 3 times.
    Example - From parameter screen - one parameter with 4 options
    1. Top 10 students in IT
    2. Top 10 students in Fin
    3. Top 10 students in Acc
    4. All
    The output of these report may come from the same table. But the criteria is set in the lexical parameter in the before report trigger.
    If user selects all, I want the output for the all the first 3 options. I am not worried about the output being emailed. This is equivalent to running the report 3 times for the first, second & third option respectively.
    Any help helps:).

  • How to automate multiple output file names from a single input image?

    I have about 100 eps cmyk 4000 pixel wide images to process daily.  The website needs several jpeg editions of the same image: 1000 pixel wide, 850 pixel wide, and 80 pixel wide.
    Question:
    Can I load the single source and save three differently named outputs through a single droplet?
    I was hoping for an Automation -> Batch answer, but I am a programmer.  I haven't touched ExtendScript nor scripted anything in CS, but I can certainly read about it.  Any examples I can download or references to methods that would do a "Save As" very similar to the Jpeg Save For Web?  Any links would be helpful.

    You will find many examples at ps-scripts.com
    IE: http://www.ps-scripts.com/bb/viewtopic.php?t=3247

  • How to map idoc segments to multiple output structures

    Dear experts,
    On Pi I need to map segments from an Idoc to 2 different outputstructures. My scenario is as follows:
    incoming Idoc on PI -> if segment eq 'X' then map to outputstructure '1'; if segment eq 'Y' then map to outputstructure '2'
    Idoc structure is as follows:
    - 1 header segment
    - 1..n detail segments (which I need to map to outputstructure 1)
    - 1 summarisation segment (which I need to map to outputstructure 2)
    Output needs to be a .txt file.
    I would like to use the graphical message mapping on PI, how can I map the Idoc to multiple output structures?
    Thanks in advance,
    William

    Hi
    You can do 1:n multimapping
    in message mapping in messages tab ..add both the structures in target tab and do the mapping
    and in operation mapping add both the message interface on the target side
    PLease go through this blog
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

  • Question about creating multiple XML 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.
    We are using DBMS_XMLGEN package to generate XML.
    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!!

    one solution i can think of is to use SQLX operator instead of dbms_xmlgen.
    here is a sample example.
    declare
      l_xmltype xmltype;
      l_deptno  emp.deptno%type;
    begin
      for i in (select * from emp order by deptno)
      loop
        select xmlconcat(
                    xmlelement("ename", i.ename)
                   ,xmlelement("sal", i.sal)
                   ,xmlelement("detpno", i.deptno))
          into l_xmltype from dual;
        dbms_output.put_line(l_xmltype.GetClobVal());
      end loop;
    end;
    /Now here you can open the query once, keep writing to the file till the deptno
    is same, when the deptno changes, close the file and open a new file with new
    deptno and start writing.
    Note : in this way you will have to add the xmlprolog manually to each of the file which should not be an issue. after opening the file add the prolog string manually.
    Hope this helps.

  • Idoc to Multiple file scenario

    Hi Experts,
    My scenario is IDOC to Multiple files..
    IDOC will be triggered from the ECC system and i have three differient structures and need to drop those 3 files in the ftp server at the target system.
    Here we can use multimapping for such scenario but the problem here is ..
    In my scenario for all the 3 mappings i am using combination of message mapping and xslt mapping as below
    1st case:
    Idoc -
    Message mapping -
      Target First File.
    XSLT Mapping1
    XSLT Mapping2
    XSLT Mapping3
    XSLT Mapping4    -
    The output of the xslt 4th mapping will go to the target ftp server
    In similar for the other 2 mappings also uses the combination of messag mapping and xslt mapping.
    Here as the receiver system is one in the interface determination (PI 7.1-- NO Enhanced determination)when i add these operation mapping in the interface determination when i execute the scenario all the operation mappings are not getting executed.
    For example;; If the first target file has no records then it is not executing the 2nd operaion mapping, does the occurence of the operation mapping needs to changed.
    could anyone suggest on this..
    Thanks,
    sai

    Hi,
    Why cannot you use three mappings when you want to generate the three files for the same input instead of multimapping as the multimapping generates either of the three messages only...
    you can later provide the condition at the interface determination to execute the mappings if not all mappings to be executed..
    if there are no conditions provided by you at the interface determination level then mappings will get executed automatically..
    provided your mapping is working fine..so in your case check /test the message mapping..
    HTH
    Rajesh

  • Collect Multiple IDOC(Single IDOC type) to single file using BPM

    Hi All,
    When i am generating multiple IDOC for the same message type, i am getting multiple payload for the same as a result i used to get multiple files generated in application server.
    Now if i use BPM only to collect multiple IDOC to a file then what all the steps that i need to follow for the same.
    Ex: I want to post 10 IDOC for a single IDOC type,, Now using BPM in XI i want to collect all the 10 IDOCs with multiple payload into one single message and then want to process this in XI to generate the file.
    It would be glad if anyone refer me a good step by step blog for the same.
    Thanks in advance,
    Jay

    Thanks a lot Abhisek.
      I have also got a blog explaining the exact thing. But in the blog the ID part was missing which is present in the link you have provided.
    I will be glad if you can through some light on the ID part,, however the IR part and the BPM part is now mostly okay to me.
    I will configure this today only,, and may seek your help for any huddle.
    Thanks a lot once again.
    Regards,
    Jay.

  • Sending multiple IDocs (all in single file) to FTP via XI

    Hi All,
    We have a requirement as below where we are looking for various feasible solutions.
    The requirement is to collect multiple IDocs in ERP (2000-5000 in number) per day (either Flat File or XML) and needs to be sent as a single File (which has all these IDocs) to FTP Server via XI.
    BPM is not allowed to use and we are working on PI 7.0, so IDoc packaging is also not applicable. There is no mapping required, we need to just route them to FTP from ERP System.
    Looking forward for various solutions.
    Regards,
    N. Jayanth Kumar.

    Hi,
         Using the XML file port at R/3 to collect the Idocs would be a feasible solution. Also, as Sunil as already pointed out, you can configure this as a pass through interface, which will improve your overall processing time.
    Another solution can be to pass the Idocs to PI and then use the append mode in the receiver file adapter to collect the days idoc into a single file.
    To append only idocs for a particular day, try using dynamic filename, where file would have the date in it. This way, only Idocs for a particular day would be appended.
    Regards

Maybe you are looking for

  • LB10 does not skip TO line in case of negative quantities

    Hi gurus, help me on addressing this issue please. Case: Pretend that a WM-Transfer Request was already created for a series of material linked to a certain Production Order --> 4 items in that case:         So the Warehouse supervisor, when using LB

  • Blackberry Desktop Software V6.0.2

    I just recently joined the RIM Blackberry family. I've installed the latest version of the Blackberry Desktop software, but am having trouble loading the program. I get a Windows error report... "BlackBerry Desktop Software has encountered a problem

  • Configuration of IM Address Field in Jabber for Windows 10.5

    Hey Guys, Quick Overview of my setup: Jabber for Windows 10.5 CUCM 10.5 IM and Presence 10.5 Microsoft Active Directory on Windows Server 2012R2 LDAP Integration via EDI with Directory URI Attribute set to "mail" Voice Services Domain is different fr

  • EDirectory question about OES2SP3 to OES11SP1 upgrade

    My apologies if this is not the correct place to ask this question but I decided to ask here becuase my question involved OES. We are going to perform an offline upgrade to OES 11 SP1 of an OES2SP3 server that hasn't been patched in one year. Novell

  • How to open mutitouch gestures on a PC for iPad iOS 4.3.2?

    Hello! How to open mutitasking gestures on a PC for iPad iOS 4.3.2? Is it necessary to open this feature? Thanks! Shen QIn