Mapping Based Message Split

In mapping based MessageSplit 
how to createInterfaceDetermination,ReceiverDetermination.In My Scenario one sender, 2 Receivers.
Now How many InterfaceDetermination's,ReceiverDetermination's have to be create

Hi Mahesh,
having performed your message mapping ,, used in interface determination(by linking it with the help of interface mapping via configuration).
You can decide on the value in the payload to which receiver the message should go.
Use following scenarios, may help you:-
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/daniel.graversen/blog/2006/12/29/hack-using-xpath-in-xi-message-mappings
/people/bhanu.thirumala/blog/2006/02/02/graphical-message-mapping-150-text-preview
/people/srinivas.vanamala2/blog/2007/02/05/step-by-step-guide-xml-file-2-xml-file-scenario-part-ii
/people/srinivas.vanamala2/blog/2007/02/05/step-by-step-guide-xml-file-2-xml-file-scenario-part-i
/people/divya.vidyanandanprabhu/blog/2005/06/28/converting-xml-to-pdf-using-xi
/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
Vishal
Reward points for useful Reply

Similar Messages

  • Mapping-based message splits in PI7.0

    We have developed an integration scenario on XI 3.0 that uses mapping-based message splits (1:n transformation without BPM). This is available since SP14 I think.
    Now we want to upgrade to PI 7.0: Are mapping-based message splits a standard feature of PI 7.0 or do we need a certain SP as well?

    Hi,
    It should be available with Pi 7.0 with default
    And also compare the SP's and do finalization
    in 2004 - in 2004s
    SP12 & < - SP04
    SP13 + 14 - SP05
    SP15 - SP06
    SP16 - SP07
    SP17 - SP08
    SP18 - SP09
    Xi's Latest SP is SP 21 and PI's is SP 14
    Regards
    Seshagiri

  • Multi-Mapping and Message Split using BPM

    Hi All,
    Could anyone pls let me know clearly how message mapping can be done for this weblog
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    Thanks,
    Ram

    Hi,
    When you are doing Message mapping after adding the Messaget types for source and target messages. You can click on the "" button in the target message and add one more tab. You can go to Message tab as shown in the 5th image and click "" button to add one more message type. Then do the mapping as usual.
    <b>Based on the value of the element(name), the node of input(details)should be directed to one of the two message types</b>
    Here in this blog it is done based on the Name.
    You need to use IFTHENELSE boolean function and do the mapping.
    Thanks,
    Prakash

  • Multi mapping and message splitting in BPM

    Hi ,
    I am working with this scenario ...
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    how many message interfaces i have to create .
    one outbound , one abstract  and two inbound .. is it correct.

    Hi
    Minimum you need to create three message interfaces i.e. Bpm_In_MI_Abstract,  aBpm_Out_MI_Abstract Bpm_Out1_MI_Abstract, because abstract interfaces can be use inbound and outbound as well.
    You can also use create implement it by using inbound and outbound message interfaces. In that case you have to use three additional interfaces(1 outbound and 2 inbound).
    Regards
    Sami
    Reward points if helpful.

  • Multi-Mapping and Message Split using BPM UDFs Error

    hi
    As per the below blog
    Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure
    I have just modified the UDFs(1.selectnodeifA 2.selectNodeifB)
    1.selectnodeifA
    for(int i=0;i<=n;i++)
    if(Name<i>.equals("A"))
    result.addValue(Node<i>);
    2.selectNodeifB
    for(int i=0;i<=n;i++)
    if(Name<i>.equals("B"))
    result.addValue(Node<i>);
    while checking I am getting the following errors
    Source code has syntax error: 
    D:/usr/sap/D10/DVEBMGS01/j2ee/cluster/server0/./temp/classpath_resolver/Mapdc8fa4d0896011dd907d001cc01cef0d/source/com/sap/xi/tf/_bpm_mm_.java:132: cannot resolve symbol
    symbol : variable n
    location: class com.sap.xi.tf._bpm_mm_
    for(int i=0;i<=n;i++)
    ^
    D:/usr/sap/D10/DVEBMGS01/j2ee/cluster/server0/./temp/classpath_resolver/Mapdc8fa4d0896011dd907d001cc01cef0d/source/com/sap/xi/tf/_bpm_mm_.java:140: cannot resolve symbol symbol : variable n
    location: class com.sap.xi.tf._bpm_mm_
    for(int i=0;i<=n;i++)
    ^
    2 errors
    The source code given in the blog is correct ? I thought for loop has not completed
    pls help
    manian

    Hi manian,
    I was having a look to Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure blog.
    The functions are not the same. I mean, yours and blogs functions.
    Each function has two parameters, Name and node. Furtheremore, in the blogs' functions is using arrays and you don't.
    So, the right code will be
    1.selectnodeifA
    for(int i=0;i<=node.length();i++)
    if(Name<i>.equals("A"))
    result.addValue(Node<i>);
    However, if you don't need an advance user defined function as you want to process just one element of the node's queue, you will not need to use for sentence.
    Something like:
    1.selectnodeifA
    // for(int i=0;i<=n;i++)
    if(Name.equals("A"))
    result.addValue(Node);
    Hope it is usefull for you.
    Carlos

  • Monitor Mapping with Message-Splitting

    Hello,
    Does anyone know how to monitor a Message-Splitting-Mapping with the Graphical Mapping Tool.
    in my case i read data via the jdbc-connector and i have to split the data.
    Can I monitor which new Messages are created, when i only know the senders MessageId?
    thx
    Christian

    >>>>>>when i only know the senders MessageId?
    Raster, what is the senders MessagesId u referred here?
    raj.

  • Message splitting 1:n without BPM error : 404   Not Found

    hi,
    is u r server is updated with sps14
    please once check this.. may be this is the problem
    Thanks,
    Madhav.
    Note:points if useful

    hi,
    please go through the limitation of this bolg
    A mapping-based message split will ultimately produce n individual messages, but not until it reaches the Adapter Engine (AE). Inside the Integration Engine (IE), the messages are grouped together and persisted as one bulk message. The bulk message is sent to the AE where it splits the bulk message into individual messages and persists them.
    Restrictions
    u2022  Messages that result from the split in a mapping-based message split are sent using one AE. So only adapters running on the AE are supported. In particular, this means that target IDOC/HTTPmassagee splits are not supported since the IDOC/HTTP adapter is not part of the AE.
    u2022  The target system of the message splits cannot be an integration process.
    u2022  Attachments from the original message are not appended to the messages resulting from the message split.
    now i think u wont be able to send the the 2 diffrent file in diffrent location.both the file cab be sent to be togethre.because when u configure the receiver determination in ID u need to include both receiver service as a receiver.and thus u need to configuer 4 interface determinatio as well as 4 receiver aggrement. this is because you r using the only one IM which containg both the interface.
    regards,
    navneet

  • Message Splitting Design Problem

    Hi guys,
    I am an XI newbie so please bear with me.
    I have to build an XI interface to update existing service orders in CRM.  The data is coming from a file, which contains change requests for multiple orders (and possibly multiple requests for the same order).  The sequence in which the requests are processed is important.  The XI system is on version 3.0 SP14, and the CRM system is on WAS 7.00.
    I can think of two approaches to follow:
    1. Push all the requests through to CRM via an ABAP proxy call (one single call).  Inside the proxy, process the requests sequentially.  This approach is simple to implement, but problems arise when some of the requests succeed but others fail.  There is no option to reprocess just the failed requests, because there is just one XI message.
    2. Split up the requests and send them to CRM, queuing the requests by service order number.  This means performing message-splitting in XI (with or without BPM) and using the EOIO quality-of-service.  The endpoint would still be an ABAP proxy.
    I would like to use the second option, but I've got some concerns:
    a) If I use mapping-based message splits (bulk messages), can I still use ABAP proxies?  I cannot see the XI adapter listed in the relevant SAP help page:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/ce79623ef30cd5e10000000a1553f7/frameset.htm
    b) If I use BPM to do the splitting, might I run into performance problems?  I do not have precise numbers, but I think we might process up to 50,000 requests daily.
    c) Should I consider using other adapters that support bulk messages, e.g. SOAP adapter.  Or use IDOC bundling as described in this blog?
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    d) Can someone suggest better approaches?
    Thanks,
    Terry Choy

    c) The standard IDOC is not enough, because there is some extra business logic that needs to be performed. I would need to create a custom IDOC. Is that worth the effort, and would I be losing anything by using IDOC's rather than proxies?
    >>>>
    if the message voluem is too high try to avoid IDocs. (you have to decide on the amount of work that will go in in case u make a custom idoc or a proxy)
    a) I tried bulk messages using ABAP proxies, but got an error in the technical routing step. The error was in the MMF_ENGINETYPE code area, and the message was "A system error occurred in the outbound binding" (not very informative). I didn't get the problem when I used the file adapter. Can someone please confirm that bulk messages with ABAP proxies is OK?
    >>> i dont think it sud be a problem with ABAP proxy but then you can try using EOIO in the proxy code. ref: /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies

  • Message Splitting issue (without bpm)

    Hi Experts,
    I was currently trying to create a message split (1 message --> 2 output) using BPM like in this blog: Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure
    Then i noticed that it was also possible to achieve this without using BPM (creating a interface mapping with 2 outputs, and using the interface determination with the extended option) like on this one:
    Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure
    (but using the structure showed in the first blog since i was just testing)
    The issue i have is that even when it worked, and i see all good in the XML monitoring (SMXB_MONI) the both resulting files appear only with  one field, and i can't see the others
    Example from the XML monitoring:
    ORIGINAL FILE: (I split based on the id 1 and 2)
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns:bpm_in_MT xmlns:ns="http://bpm.com/splitting">
    - <record>
    - <details>
      <name>Jorge</name>
      <id>1</id>
      </details>
    - <details>
      <name>Fernando</name>
      <id>2</id>
      </details>
      </record>
      </ns:bpm_in_MT>
    RESULT FILE 1:
      <?xml version="1.0" encoding="utf-8" ?>
    - <ns1:bpm_out_MT xmlns:ns1="http://bpm.com/splitting">
    - <record>
    - <info>
      <name>Jorge</name>
      <id>1</id>
      </info>
      </record>
      </ns1:bpm_out_MT>
    RESULT FILE 2:
      <?xml version="1.0" encoding="utf-8" ?>
    - <ns1:bpm_out1_MT xmlns:ns1="http://bpm.com/splitting">
    - <record>
    - <info>
      <name>Fernando</name>
      <id>2</id>
      <age>20</age>
      </info>
      </record>
      </ns1:bpm_out1_MT>
    HERE's the ISSUE:
    Files in the FTP folder:
    file1.txt with only "Jorge        "
    file2.txt with only "Fernando  "
    when the first file should have 2 fields (id is included), and the second one should be name (id and age included)
    Could this be a parsing issue? i'm confused since i see no errors in the channels
    I'm using 2 FTP receivers channels with Content conversion
    CC_FTP_first_file_receiver:
    Recordset: info
    info.fieldNames                  name,id
    info.fieldFixedLengths         15,1
    info.keyFieldValue              1
    info.endSeparator               'nl'
    info.processFieldNames      fromConfiguration
    CC_FTP_second_file_receiver:
    Recordset: info
    info.fieldNames                  name,id,age
    info.fieldFixedLengths         15,1,2
    info.keyFieldValue              2
    info.endSeparator               'nl'
    info.processFieldNames      fromConfiguration
    I may have no use for the keyfieldvalue since i'm only saving that file in FTP, but i already removed that and it didn't change much, i still get 2 files, but only with the "name" tag on them
    Any ideas??
    i'm sure i'm missing something basic, but i'm don't have much experience on XML
    Thanks!

    Hi,
    This is really intersting as well as unexpected result...if you used directly the XML format then 2 fiels are created with appropriate data with all fields....
    And if you used the FCC then , fields are missing...so one thing is clear that as you have already said..issue is with FCC only...
    Have you tried to process only single file with FCC instead of  2 files at a time.
    Also if possible try out with fieldSeperator parameter instead of FixedFieldLenghts...see whats the result...
    I hope this will give you the hint...
    Thanks
    swarup

  • IDOC Message Splitting with Logic

    Hi,  I have a business requirement for IDOC to IDOC mapping where the incoming IDOC line item should be split in to multiple line items based on a field value and also the resulting IDOC will be split in to multiple IDOCs based on a limitation on the number of line items. Without using BPM, have anybody used SAP XI to efficiently perform the above logics with proper check logics and error controls ? Appreciate your responses.

    Hi Raj,
    Try this:
    You can use Split by Value node function and set the properties of the split by value as: Each Value.So the for every different number,different item will be created.
    Using the Node Functions you can solve your problem.
    1.SplitByValue:
    The SplitByValue() function is the counterpart to removeContexts(): Instead of deleting a context, you can insert a context change in the source value queue. You then receive this element for each inserted context change instead of a top node element. However, for this to be possible, the top node source field must be assigned a top node target field and minOccurs must be >0. You can insert a context change in the queue after each value, after each change to the value, or after each tag without a value.
    2.RemoveContexts:
    You use removeContexts () to delete all the top contexts for an element. This removes all top hierarchy levels, so that all elements of the target queue are assigned to a root element of the source queue.
    Advanced user-defined functions can import either just one context into the input arrays, or complete queues. Make your selection by selecting or deselecting the Save Entire Queue in Cache checkbox in the function editor.
    3.CreateIf:
    CreateIf node function is used to create a node if true value is passed to it otherwise suppress it.
    4.collapseContext
    To remove the context in between the value and transfer only one value at a time
    5.useOneAsMany
    First Input:
    The value which is needed to be repeated.
    Second Input:
    It defines how many times the first input should be repeated.
    Third Input:
    It define when the context should be changed (on the basis of the required output
    Please go through the given link hope it will be helpful to you.
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    Message Mapping Simplified – Part II
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    Replication of Nodes Using the Graphical Mapping Tool
    /people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool
    Message Splitting Using the Graphical Mapping Tool
    /people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
    Also check this weblogs:
    /people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    Split by value
    http://help.sap.com/saphelp_nw04/helpdata/en/21/3bb8c495125e4eb5969f0377885fe0/content.htm
    For value mapping check this video presentation and weblog:
    /people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
    /people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
    https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#xi [original link is broken]
    /people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool
    Function formatByExample:
    /people/sundararamaprasad.subbaraman/blog/2006/02/21/real-example-for-formatbyexample
    Split by value, remove context and collapse context:
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    Reward points if this helps
    Regards
    Pragathi.

  • Message Split using BPM for Multiple SOAP Receivers

    hi,
    I have a scenario where in i have to split the message coming from IDOC(SOURCE) to multiple SOAP(TARGET) receivers through BPM
    I took a single file as a scenario and tested it. It worked fine.
    I am using only a single output interface.
    I have followed this weblog
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    but this blog has 2 output interfaces whereas in my case i just only one output interface that i want to route to multiple receivers based on the value in the PARVW in the IDOC.
    Thanks,
    Tirumal

    hi ,
    this is done using CONDITIONAL RECEIVER DETERMIANTION.
    While doing your reciver determiantion, you can specify multiple receivers and also specify the condition on which the receiver is to be choosen.
    Also, just check the last path of this blog for the same,
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    Regards,
    Bhavesh

  • Message split 1:2 ?

    Hi Guys,
    I have a proxy - http synchronus scenario. The target structure has 2 different messages like message 1 and message 2 and i need to generate 2 different xml messages for each.
    I cant go for split with out BPM as the HTTP adapter lies on the integration engine and the scenario is synchronus.
    Can i acheive the message split with the help of BPM ? or do i need to go for Java Maping. Can somebody help me with the Java code if this is mandatory or any other work around will be appreciated
    Thanks,
    Srini

    You use java Mapping based on your complexity,otherwise just use graphical mapping.I her by listing you few url which will help you to understand.You can also find more blogs in SDN related to this issue.
    With BPM
    Message Splitting Using the Graphical Mapping Tool
    Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure
    Various multi-mappings and Optimizing their Implementation in Integration Processes (BPM) in XI.
    Thanks
    Prabhakar

  • BPM Configuration in Message Split

    Hi All,
    My scenario 1:2 Message Split is like this....
    Message types: MT_INPUT,MT_OUTPUT1,MT_OUTPUT2.
    Message Interfaces: MI_INPUT(OUTBOUND),MI_INPUT_ABS(ABS),MI_OUTPUT1(INBOUND),MI_OUTPUT1_ABS(ABS),MI_OUTPUT2(INBOUND),MI_OUTPUT2_ABS(ABS).
    Message Mappings: Source is MT_INPUT and target is MT_OUTPUT1,MT_OUTPUT2(MM_Message_Split)
    Interface Mappings: Souce is MT_INPUT_ABS(ABS) and traget is MI_OUTPUT1_ABS,MI_OUTPUT2_ABS(IM_Multiple Files).
    BPM steps are:One recieve step,transformation step,Fork.
    Fork Branch-1:Reciever determination and Send Output1
    Fork Branch-2:Reciever determination and Send Output2.
    I didn't create any correlation ID in BPM.
    In the configuration of XI I know that I have to create 3 reciever determinations,3 Interface Determinations, 2 Reciever agreements and 1 sender agreement.
    But I am fumbling to find out the flow of message interfaces involved here, especially in the interface determinations.
    Please help me, I am a newbie to BPM.........

    Hi Vijaya,
    go through this you can get some idea
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    without using bpm:-
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    /people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
    sekhar

  • Message Splitting Using BPM

    Hi Folks,
        I'm new to SAP PI 7.0 . I want to send one xml file to 2 sender in a splitted manner using BPM. suppose I have 8 fileld in my sender data type, i want to send the xml which contails first 4 fileds to the first receiver and
    the xml which contails second 4 fileds to the second receiver.
         Can anybody help me in this case.I have already looked for the already answered threads but i didnt get any help from them.
    Thanks & Regards,
       Santosh Kumar Nayak.

    Hi,
    Check this blog: /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    From the blog:
    Three Receiver Determinations are required. One for the Sender to BPM and two
    others for BPM to the corresponding output files. In the Interface Determination for the
    two Receivers, specify the corresponding Interfaces.
    Same logic applicable to your case.
    Regards,
    Abhishek.

  • Message split via BPM Status stays TBDL

    Hi to all,
    I have a Scenario with a BPM.
    In the IntegrationProcess (IP_Split), is a mapping with message splitting.
    The result von the Mapping are serveral Proxymessages and a var count, that counts the new Messages.
    After, i have a loop over the messages an with the receiverdetermination i send the new messages to the SAP-System.
    the Scenario works fine. in SXI_MONITOR it looks great.
    There is only one Problem:
    When i go to the Integration Engine in the Message Monitoring (Runtime Workbench) there is a strange Message.
    There is a Message with SenderService and ReceiverService IP_Split. The Status is still TBDL.
    Can anybody help me?
    Thanks
    Chris

    Hi,
    Few months ago we had also problems with "locked user" in XI, in our case XIAPPLUSER was sometimes (b)locked.
    Perhaps note:
    721548 Changing the passwords of the XI 3.0 service users
    will help you.
    We removed and entered the service users again, with the password in CAPITALS and language blank.
    After that our problem was solved, I hope yours too.
    Regards
    Jack

Maybe you are looking for

  • How can I connect an external monitor to the new 27 inch iMac?

    I have an old PC monitor that I want to connect to my new 27 inch iMac, it's the latest edition, the one that doesn't have any mini display ports. All I have are four USB 2.0 ports and two Thunderbolt ports. No mini display port of any kind. So is th

  • WHY WONT MY IPHONE CHARGE!?HELP PLEASE!?

    Soo I've had my iPhone 5 now for a little over a month.. Everything was cool, but tonight my phone won't charge!! It's Dead now , I've been SO careful with my phone . So I know I didn't tear it up .. When i noticed it wasnt charging At first when I w

  • Any fast way to move objects in front panel?

    Hi there,   I don't know if this is asked before. It is not a technical question but I wonder any way to move any object/control on the front panel quickly. I try to google and search in the forum but didn't see any way to do so. Sometimes, while dev

  • Custom report Extended Attribute

    Hi, On my user selection screen I just need a multiple selection box and user related data needs to be populated in it, can anybody guide me on this. Thanx

  • Internal.text parsed by XML object ?

    Is it possible to use the XML object to parse internal xml instead of loading an external file? I am writing an application that converts arrays & objects into xml. In my development, I am displaying the xml in a text field on the stage. In testing I