Mapping Split 1:n to different communication channel

Hi All,
I have this scenario: File XML->XI7.0->Flat File(different encoding)
The source file contains multiline of users data. I use mapping 1:n to split the users data into different message splitting on language.
For example:
INPUT:
<users>
     <name>Pippo</name>
     <language>Japainese</language>
</users>
<users>
     <name>Paperino</name>
     <language>Chinese</language>
</users>
<users>
     <name>Topolino</name>
     <language>English</language>
</users>
<users>
     <name>Minnie</name>
     <language>Japainese</language>
</users>
<users>
     <name>Pluto</name>
     <language>Chinese</language>
</users>
OUTPUT:
<msg1>
     <users>
          <name>Pippo</name>
          <language>Japainese</language>
     </users>
     <users>
          <name>Minnie</name>
          <language>Japainese</language>
     </users>
</msg1>
<msg2>
     <users>
          <name>Paperino</name>
          <language>Chinese</language>
     </users>
     <users>
          <name>Pluto</name>
          <language>Chinese</language>
     </users>
</msg2>
<msg3>
     <users>
          <name>Topolino</name>
          <language>English</language>
     </users>
</msg3>
This step is OK.
Now, I would like to write the different message (msg1, msg2, msg3) to different flat file using different Communication channel
because I want to use different file encoding parameter based on language.
Can anyone tell me how this can be achieved?
thanks a lot
Daniele

Hi,
I've solved in this way:
DESIGN:
1 Data Type, N message types (one for each language), N inbound interfaces (one for each language).
Then:
1 single Message Mapping: 1 to N
1 single Interface Mapping: 1 source interface, N target interfaces
CONFIGURATION:
1 Receiver Determination
1 Enhanced Interface Determination, with interface mapping reference.
N Receiver agreement with different Communication Channel.
Thank you very much
Bye
Daniele

Similar Messages

  • Same IDoc, different communication channels for receiver

    Hi,
    In my file-to-IDoc scenario I need to send the same IDoc type to 2 different receiver channels. But these channels are created in the same service, and also the sender service is the same in both cases, so I cannot create two receiver agreements (one per channel).
    I've tried to create a message interface with the IDoc as message type, allowing me to create two receiver agreement this way. But then sxmb_moni shows a kind of error like this:
    "IDOC_ADAPTER">ATTRIBUTE_WRONG_INTF
    Unable to interpret IDoc interface
    I've been searching in the forum, but I couldn't find anything useful for this issue. Can you help me with this?
    Thanks in advance,
    Paco.

    hi,
    >>>>>I've tried to create a message interface with the IDoc as message type, allowing me to create two receiver agreement this way. But then sxmb_moni shows a kind of error like this:
    don't do that
    >>> In my file-to-IDoc scenario I need to send the same IDoc type to 2 different receiver channels.
    use another interface message which can be based on the
    same message type
    Regards,
    michal

  • Same sender and receiver service but different communication channel

    Hi Exoerts
    I am doing a scenario  Proxy to JMS,HTTP and SOAP Adapter ( everything resides in the same recieiver service )
    Mesage from  SRM System ( proxy ) has to sent to MQ service. But in MQ I have to pass to the same message to three different nodes namely - JMS, HTTP and SOAP Adapter.
    I tried to configure Multiple receivers in the receiver determination. Its doesn't allow add the same service.
    Even if i configured with Multiple services for each nodes - its not allowing to create receiver detemination. It says already exits
    Please tell me fesible solution how to deisgn this
    Thanks
    Faheem

    you need to use only one receiver determination in your case...do not add the receivers
    u can have 3 different interface determinations and in each case the sender / receiver / outbound interface will be the same ..
    only the inbound interface will change ....so u will have 3 inbound interfaces ..
    3 receiver communcation channels for 3 adapters and of course 3 receiver agreements

  • Dynamic Communication Channel in Receiver Agreement

    Hi Experts,
    I have the situation: one Receiver System with one Inbound Interface. This Receiver System is able to receive messages on this interface through different Communication Channels.
    I want to have a possobility, based on message content, to dynamically select which Communication Channel to use.
    So is it possible to do such a config, without dublicating the Inbounb Interface with a different name (maybe to set some values in Java Mapping?)?
    Best Regards

    I have one Receiver System, so maybe, you mean conditions in Interface Determination
    No. I meant receiver determination only. You use same receivers in more than one cases.
    As asked, why do you need multiple channels?
    Regards,
    Prateek
    Edited by: Prateek Raj Srivastava on Feb 27, 2009 6:58 PM

  • XI3.0: Multiple Communication Channels

    Hi,
    with XI 2.0 one was able to have many endpoints for one interface. For example you were able to have an inbound JMS endpoint and an inbound File endpoint. Both could be configured using the same Business System and Interface.
    We used this possibility for testing purpose.
    With XI 3.0 you have to create a sender agreement. This can only hold one communication channel. So you have to reconfigure the sender agreement all the time if you just want to send a XML File to an interface that is normally fed by a JMS queue.
    Does anybody have any hints how to achieve multiple physical connections to one logical interface?
    Regards,
      Marc

    Hi,
    One way would be to create
    new Message Interface in XI Repository
    base on the old one (for JMS)
    the only difference would be the name of the Message Interface
    and then most probably you'll be able to create
    a second sender agreement and choose a different communication channel
    Kind Regards,
    Michal Krawczyk

  • Error during the configuration of communication channel

    Hi ,
    I am trying to create a senario where XI will send the DEBMAS Idocs to the SAP system.
    Can you please help me as to how sould i go about configuring this senarion.
    The error i am getting is -
    Communication channel is not configured correctly. Choose a different communication channel----- when i am trying to assign the communication channel to the receiver.
    Thanks for the help
    Nikhil

    Hi,
    1. at first you can take a look at:
    http://server:port/mdt/amtServlet
    find you channnel type and your channel and see if there's any error over there
    2.tell us all of the channel parameters that you've configured so far
    Regards,
    michal

  • Dinamic change language at RCF Communication Channel

    Hi people!
    Do you have already found any problem with language in integration scenarios? We have many interfaces used by multi-language legacy applications... when an error is returned from abap programs (standard or not), the error message is always thrown in english because we always choose english as the language on the communication channel (to RFC adapter) and on the http ports (XI adapter). Is there a way to dynamically set the language?
    Thanks!
    roberti

    Yes Tim, I think you've got it.
    I thought about using different communication channels, but it seems not to be good solution... Other options we have found are:
    -> handle the language at abap side (it is really hard-working, and would be done for each abap proxy)
    -> do not use messages, use error codes, and handle it on the legacy side (it could solve the problems about errors, but not about information)
    Henrique, we thought about multiple interfaces too... but it not seems to be a good solution either.
    Any other tips, please, let me know!
    thank you guys for your help.
    roberti

  • Communication channels of business systems

    Hi,
    When I create a new channel which belongs to a business system, I can create this channel with party = blank or party = *
    Why? Is there any difference?
    Thanks,
    Christoph

    hi chris,
    basically, if u give  party = Blank, the business system will  not be assigned to any party and will create a communication channel.
    if u give party = *, system will take * and create a different communication channel for you.
    so you will have two communication channels,
    *|bs_ecc|cc_name
    |bs_ecc|cc_name
    it will be different in case of B2B scenarios, for example client have 3 different parties A, B & C each with same Business system name - bs_ecc.
    now at your end if u have configured *|bs_ecc system will accept it but if you have created  |bs_ecc it will throw an error.
    hope i made myself clear and answered your question, please do revert for any clarifications
    regards
    ridhima

  • Different message structures on one communication channel

    Hello,
    we've got the situation where on on single communication channel, we will have multiple message structures. We need to discriminate between them and then handle them according to their structure.
    All messages have a header section in which the message type is stored. So I've created a dummy structure:
    <ns0:dummy>
      <header>
        <message_type></message_type>
      </header>
    </ns0:dummy>
    the actual messges will have a different root element, but you can ignore this by using xpath. So, I've created a sender agremeent with this dummy message as the interface. I have a interface determination with conditions:
    /*/header/message_type = MT_A
    and receiving interface MT_A. Same for MT_B and so forth. There's no interface mapping in between.
    The receiving system now has a receiver agreement with MT_A as the interface. This all works. But in the receiver agreement you set up a communication channel where the message is sent to.
    But at this point, MT_A was what the original system sended. All we did was figuring out what message type we're dealing with. Now we need to handle this message as MT_A and using a interface mapping, map it to MT_A_New. We cannot do this in the original receiver determination / interface determination combi, sinse this would mean a message mapping from dummy to something, and we need from MT_A -> MT_A_NEW.
    Does anyone have thoughts on how to do this?
    Thanx in advance!
    Greetings, Walter.

    Hello All,
    thanks for all your input, it gave me quite a few possible directions to look.
    we eventually solved our issue by creating a "generic" structure. It contains the header part (which is the same in structure A and B) and both the A body and B body as optional parts.
    now we can make a mapping which only operates on the A part and ignores the B part and also one which does the B part.
    <root>
      <header>
        <MT></MT>
      </header>
      <MT_A>
      </MT_A>
      <MT_B>
       </MT_B>
    </root>
    we can still define which mapping to use based on the header information. It all seems to work.
    Thanks again for all your input!
    Greetings, Walter.

  • Start and stop the Communication channel from Java Mapping

    How to start and stop the Communication channel from Java Mapping in XI 3.0
    Scenario  PI - > MQ -> Third Party web application 
    Web application is down and then Communication channels are stop manually .  
    We need to automate this process,
    MQ Solution - Trigger will be set in MQ which will be called when web application is stopped
    Trigger will send u201CSTOP u201C message to PI
    How to configure PI scenario to stop different com channels when this message received ?

    check this link: http://help.sap.com/saphelp_nw04/helpdata/EN/45/0c86aab4d14dece10000000a11466f/frameset.htm
    make sure that MQ send http request to PI. i dont think a configuration scenario is required in PI. Only roles should be enabled with proper user provided to MQ team.
    However, for security reasons, you can configure a scenario if you dont want to expose PI infrastructure directly to 3rd parties.

  • Accessing receiver communication channel parameters in mapping

    Hi,
    I have an XI sender to HTTP receiver scenario with mapping to set the value of the target URL, which is set as an Adapter Specific Message Attribute (TargetURL).
    The mapping is responsible for adding hashed authentication credentials to the end of the URL string.
    Ideally I'd like to be able to read the values of the host, port and path from the receiver communication channel configuration than hardcode these in the mapping class.
    Does anyone know whether it is possible to read receiver communication channel values within mapping?
    I could store the full URL string in the communication channel but this would not be secure hence the preference for doing this in mapping.
    Thanks,
    Alan

    try using Dynamic confiuration
    please check HTTP rec doc: http://help.sap.com/saphelp_nw2004s/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
    ○       URL: TargetURL
    ○       HTTP Destination: HTTPDest

  • Message mapping hangs when selecting communication channel

    Hi Experts,
    I have a strange problem. In message mapping, there is an RFC Lookup. For this RFC lookup, there is one parameter of type communication channel. I want to test this message mapping. So, I go to the Test tab and browse for all available communication channels. When I select a channel and click on Select, ESR hangs. I am not getting why this is happening. Please help me get rid of this problem.
    Thanks,
    Netrey

    Hi,
    Got solution for this problem. Below is the communication from SAP on this issue,
    Please apply the latest patch levels for the PI components, following
    the steps below:
    http://service.sap.com/swdc
    1. Software Downloads - SAP Software Distribution Center
    2. Support Packages and Patches - Entry by Application Group
    3. SAP NetWeaver and complementary products - SAP NETWEAVER PI
    4. SAP NETWEAVER PI 7.1 - Entry by Component
    5. Process Integration. The components that should be updated are:
    ESR 7.10
    MESSAGING SYSTEM SERVICE 7.10
    XI ADAPTER FRAMEWORK 7.10
    XI ADAPTER FRAMEWORK CORE 7.10
    XI TOOLS 7.10
    Thanks and Regards,
    Netrey

  • Mapping Split using the Graphical Mapping Tool

    Hello,
    I am a little confused right now... so I turn to you for help!
    I found this excellent blog:
    /people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
    It details how to do a message split using the Graphical Mapping Tool. WHich is exactly what I want!
    But then I found this on help.sap.com:
    http://help.sap.com/saphelp_nw04/helpdata/en/42/ed364cf8593eebe10000000a1553f7/frameset.htm
    Which states that:
    Messages cannot be sent by using different Adapter Engines in a mapping-based message split. This affects configuration thus: All receiver agreements that have a receiver interface from the mapping entered in the key must only be assigned communication channels with the following adapter types: 
    -          RFC Adapter
    -          SAP Business Connector Adapter
    -          File/FTP Adapter
    -          JDBC Adapter
    -          JMS Adapter
    -          SOAP adapter
    -          Marketplace adapter
    -          Mail Adapter
    -          RNIF adapter
    -          CIDX Adapter
    I have a simple mappling split where I want to take a file containing multiple materials and send them one by one to a PROXY into SRM. To send to proxy I want to use the HTTP adapter which is not listed above. BUT if I read it correctly it will work, as long as I dont try to do the interface determination based on the mapping.
    Is this correct, that it will work I mean? I think so but not sure about the wording in the sentence above, and wanted to check before I go destroy my mapping.
    Thanks!
    Nam

    Hi,
    If your scenario is simple and straight fwd like from one source to one target then you can split message without BPM. As Priyanka said in the message mapping go to Message Tab and set the target message occurance to unbounded. Then in the Interface Mapping in the target interface section you will find the occurance in the last column, change occurance to unbounded.
    While doing configuration you have to go for Enhanced Interface Determination thats it.
    Provided you are above sp14, incase of any lowere SP'a you will not even able to activate your mapping program as it will expect ABSTRACT interface to do multimapping.
    Thanks,
    Prakash
    Thanks,
    Prakash

  • Need to use only one sender and receiver communication channel.

    Hello Experts.
    I have a scenario where in I have to use only one sender and receiver communication channel to push files from different source directories to different receiver directories.
    For Eg;
    Sender                              
    D://dir1/file1 --->                  E://dir1/File1
    F://dir2/file2 ---->                 G://dir2/file2
    H://dir3/file3----->                 I://dir3/file3.
    Can this be achieved by using pass through scenario?
    Please let me know if the requirement is not clear.     
    Thanks in advance.
    Advit Ramesh

    Hi Advit,
    I think it is possible. You have to use the Advanced Selection for Source file in the sender channel to define multiple files to be picked up. Also, the Dynamic configuration must also be enabled and used in the mapping so you can manipulate the target directory and target file name based on your source files.
    For Polling from multiple directories:
    http://wiki.scn.sap.com/wiki/display/XI/File+Sender+Adapter+-+Polling+Multiple+Directories
    Dynamic Configuration:
    Dynamic file name and directory in Receiver File Adapter - summary of possibilities - Process Integration - SCN Wiki

  • One Communication Channel for two XML-Structure

    Hi to all!
    i'm Newbee in XI.
    i register one Communication Channel to recieve two different XML-Structure and when i sent second structure there was a Mapping error, because XI waiting for first XML-Structure.
    I'd like to ask if there are any additional condition that i must tune up to make it possible or just it's impossible?

    Hi,
    Please refer below links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/121b053d-0401-0010-539f-f9295efb7bad
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3a913f71-0601-0010-7a83-dfd3208a9a0b
    how to find the URL of deployed Web services?
    Creating .NET Web service
    http://www.15seconds.com/issue/010430.htm
    Also refer SOAP Framework to generate the common wsdl for both the messages with single SOAP CC
    http://help.sap.com/saphelp_nw04s/helpdata/en/bb/ddb33d2ae46b3be10000000a114084/frameset.htm
    Thanks
    swarup

Maybe you are looking for

  • Is there anyone who has wifi issues with iOS 5.01?

    Wifi is not connecting properly with its 5.01 ? Is there a solution?

  • DB6 v9.1 optimizer statistics. How to use histograms?

    Hello, Does anybody know if DB6 v9.1 uses histograms in table statistics? If it is possible, how can I activate this feature? thanks. regards, Filipe Vasconcelos

  • What type of cable??

    My screen went out on my g3 and am trying to connect it to a computer monitor (VGA). Apple does not sell cables for the ibook g3 laptop any more. I ordered two cables (mini display port and mini-DVI) and they were either to small or too big for my co

  • Invalid handle runtime error

    Enter name of file: Exception in thread "main" java.io.IOException: The handle is invalid at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(Unknown Source) at java.io.BufferedInputStream.read1(Unknown Source) at java

  • Best tiling window manager for two monitors

    I am looking for a window manager, that will work thus, my main window on my main left monitor, and my stack (my unfocused windows) on my right monitor.  Is there a WM that can do this or anyone know one that comes close. Thanks