Splitting Message using BPM

hi,
I am not able to see the split in BPM when using SWITCH.
Scenario: IDOC->XI->Multiple Receivers with error handling using BPM
In BPM SWITCH i have 2 steps.
1st branch step has Transformation0, Receiver Determination0 and Send0
2nd branch step has Transformation1, Receiver Determination1 and Send1
Receivers will be differnt. Container elements have 2 receivers for Receiver0 and Receiver1
When the IDOC is triggered i can see only one message in SXMB_MONI.
I don't see any failure steps in SXMB_MONI_BPE.
In the ID, i have 2 receivers configured.
Why aren't the messages being processed?
Thanks,
Tirumal

Hi Tirumal,
Switch is condtional step. It is not for Split. It is like If-Else condition. If you want to split the messages in the same time, then go for Fork step.
http://help.sap.com/saphelp_nw2004s/helpdata/en/24/e2283f2bbad036e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/6a/db283fd0ca8443e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/14/d5283fd0ca8443e10000000a114084/frameset.htm
Hope this helps,
regards,
Moorthy

Similar Messages

  • Split message using BPM

    Hi Experts
    I am getting the request through HTTP which i want to split using BPM and send each splitted message to synchronous step and get the response for each splitted message
    I have gone through the following blog
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    I am able to split the message into multiple messages but unable to send each splitted message to synchronous step and get the response.
    I am getting " NO Receiver Found" error.
    How to send each splitted message to synchronous step and get the response.
    Please suggest.
    Regards
    Sowmya

    Hi Sowmya,
    I referred to the same blog and the scenario was a success. Please note that in this scenario
    "Receiver Determination plays a key role.
    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."
    You are just a few steps from success.
    Rgds
    joel

  • Splitting of messages using BPM

    Hi
    Suppose we have a source Data structure with 3 nodes: Customer details, Site details and MPRN Details. Now I want to split the data into 3 data structures
    ( Customer Details, Site details and MPRN Details)  and want to send them to 3 individual systems. Basically I am using BPM to do this. But I heared that even we can implement this scenario without BPM. Could you plz confirm me whether it is possible to do this scenario without BPM ?? If so and if you have any blogs or links known plz do send me the same.
    Thanks
    Kumar

    About Multi-mapping:
    After the split using multi-mapping, the generated messages are sent using Adapter Engine. Thats why only those adapters could be supported which resides on adapter engine. Therefore, IDOC/HTTP adapters at inbound side is not supported
    About the sender and receiver agreements:
    The choice of sender agreement depends upon which information from the adapter configuration in the sender channel is required for successful inbound processing.
    It is not obligatory for all adapters.
    Receiver agreement is always required bcoz it is the responsiblity of the receiver channel to transform the XI compatible message to receiver compatible message.
    Regards,
    Prateek

  • Help needed in splitting files using BPM

    Hello experts,
    I am working on an interface where i need to split files within BPM.
    I know,i can achieve it in Message Mapping by mapping Recordset to Target structure and then using Interface Mapping within Transformation step.But i dont want to follow this.Is there an alternative way to achieve this within BPM.
    I have an input file with multiple headers and i need to split for each header.My input file looks like this:
    HXXXXXABCDVN01
    MXXXXXXXXXXXXXX
    MXXXXXXXXXXXXXX
    SXXXXXXXXXXXXXX
    HXXXXXABCDVN02
    MXXXXXXXXXXXXXX
    MXXXXXXXXXXXXXX
    SXXXXXXXXXXXXXX
    HXXXXXABCDVN03
    MXXXXXXXXXXXXXX
    SXXXXXXXXXXXXXX
    Is there a way, where i can specify this condition within BPM , that split files for every H.
    Thanks in advance.
    Regards,
    Swathi

    Hi,
    have your target structure with occurence as 0...unbounded in the mapping and map the header filed to the root node (repeating parent node) of the target structure....this will create as many target messages as the header fileds....if you want to send these messages separately then use a block in BPM with ForEach option....
    Splitting and Dynamic configuration can be applied in the same mapping.
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Dec 18, 2008 12:59 PM

  • How to Split Message through BPM in 1:n scenario

    Hi All,
    I have a scenario where i am getting a message in a flat file containing multiple entries .Now i have to read that file and split the input file into number of messages as there are records present in the file through BPM.
    how can this be done in simplest possible manner ?
    Thanks in advance
    Amit

    Hi
    Try this weblogs:
    /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
    /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
    br
    Dawid

  • Collect Messages using BPM

    Hi all,
            Am doing a collect message pattern using BPM. After collecting messages wen mapping is called its throwing exception. CAn you help me out in this. I ll explain.
    the input i give is :
    <Root>
           <Name> asd </name>
           <ID> A </ID>
    </Root>
    i sent thid message 5 times to BPM (using collect pattern).
    the stop message is of the format
    <Stop>
       <ID> A</ID>
    </Stop>
    wen i send this the collect block is exited and the flow comes  to a transformation step which does a n:1 mapping
    ie. in my mapping i add the source message type and changed its occurence to unbounded in messages Similarly in IM also i changed the occurence of source MI to unbounded. wen i test the message mapping with this
    <Root>
           <Name> asd </name>
           <ID> A </ID>
    </Root>
    as input it gives the exception. But if i gve like this ten its showing successful.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
    <Root>
           <Name> asd </name>
           <ID> A </ID>
    </Root>
    </ns0:Message1>
    </ns0:Messages>
    But how can wedo that as transforamtion happens in BPM. PLease help me out in this

    Hi,
    Check these links
    /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/76/5d373f5e550456e10000000a114084/frameset.htm
    Regards,
    Kumar

  • How to collect and split messages in BPM

    Hi,
    I have two scenarios.
    In one scenario I have to collect files and send as one file
    In second scenario
    I have single file and need to split it into several ones.
    Pls provide me simple example blogs
    Regards

    Hi Harry,
    <i>what is correlation and why do we need correlation
    for N:1 transformation (multiple messages to one message).</i>
    Correlation is used when you have multiple recieve steps in the BPM to differentiate each file. Consider your recive step is executed and the BPM is active waiting for the other file to comne in. Before the next file comes in , if another BPM is activated becuase your recived recive1 message. Now, when the next message comes in , how does XI know which BPM instance is to be used.
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/64373f7853494fe10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/6d/94364296f1b26be10000000a155106/content.htm
    This blog talks abt it.. i had already posted it
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    <i>Can N:1 be achieved without correlation.</i>
    Correlation is used when you have multiple recieve steps in the BPM to differentiate each file.
    <i>[Reward if helpful]</i>
    Reagrds,
    Prateek

  • SAP XI not able to split message in BPM

    Hello All,
    In our XI production system Message information is coming into the XI from CCS but XI BPM is not splitting the message to the external system . this is happening to one perticular interface.
    Message execution status is showing as successful and so we are not getting any error log.
    May be this could be because of memory problem.
    Please provide a solution or if it is related to memory please suggest how to check and solve this issue.
    Thanks & Regards,
    Suhas Kulkarni

    Hello, Vishwanatha.
    You're actually expanding message area (do you see the blue line on your screenshot?)
    But it's overlapped by other views. You can drag the message icon a little bit and you'll see this:
    I had the same issue in IDES system.
    What can be done:
    1. Switch to Default skin from current one (I can guess it's a Signature Design right now).
    2. Or use old-style message area. For this set MESSAGE_AREA_TYPE parameter as INPLACEWINDOW in the parameter profile of your business role.
    Hope this will help you.

  • Processing of multiple messages Using BPM

    Hello everybody,
    I am pretty much a newbie to this XI technology. I am currently testing a File to File scenario Concerning BPM. The source file contains multiple messages in an XML structure. How can each of these XML messages be posted as individual files? I have reffered to this <a href="/people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi on BPM as a guideline; but here the number of messages are restricted and I want to dynamically determine how many messages are contained in the XML file. Anybody has any idea how to achieve this?
    Thanks and Warm Regards,

    Hello,
    The blog you mentioned is for cutting one file into 2 files.
    I think you need to use the "<b>ParForEach</b>" step in the BPM. This step is used to loop on a multiple line message and create a single message in one branch. Then you can add a send step in this branch and end only one message.
    <u>See the Flight Demo :</u>
    http://help.sap.com/saphelp_nw04/helpdata/en/5a/cede3fc6c6ec06e10000000a1550b0/frameset.htm
    <u>Object in IR :</u>
    BASIS -> http://sap.com/xi/XI/Demo/Agency -> BPM -> MultipleFlightBookingCoordination
    Regards,
    Chris

  • Splitting message using multiMapping

    Hi All,
    I'm testing a simple file to file scenario in which I'm using multi mapping in Message mapping and I used enhanced Interface Determination.
    For n input Employees(consisting of n Employees in single input XML file) I want n output xml files depending on the employee names.
    For getting output xml file names based on Emp number i used variable Substitution method also.
    But when I test the scenario (Even for one or more Employees in the input XML) I'm getting the below mentioned error in receiver file channel.
    "Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: var1: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: "
    In receiver file channel I have given various fields as below:
    File Name Scheme : Emp_%var1%.xml(and checked Create target Directory also)
    In advanced mode checked the Enable box under Variable Substitution and given as below:
    var1  payload:INF94145_Emp_Input_MT, 1, Employee, 1, Details, 1, Name, 1
    PFB the screen shot of my mapping document.
    [http://picasaweb.google.com/prajwal24/MyScenario#]
    I'm not sure whether I mapped the input fields to output fields correctly or not according to Multimapping rule.
    Please let me know if I have to do any changes in the mapping as well.
    Can any one please help me about how to proceed further in this case and split 1 single input file (consisting of n Employees)
    into n output Employee files.
    Thanks and Regards,
    Prajwal
    Edited by: Naluvala Prajwal on Sep 17, 2009 10:56 PM

    HI Satish,
    Thanks for your valuable inputs.
    As said by you I have mapped Employee to INF94145_Emp_Output_MT by using split by value.
    PFB the details of my mapping and also the link in which I have placed the screenshot of my mapping.
    [http://picasaweb.google.com/prajwal24/MyScenario#]
    It is a simple one to one mapping except for INF94145_Emp_Output_MT and Employee fields.
    For these fields the mapping is as follows:
       1)  Employee(1...Unbounded)->SplitByValue->INF94145_Emp_Output_MT(0...Unbounded)
        2)  Employee(1...Unbounded)--->Employee(1...Unbounded)
    Now I'm getting two Employee's instead of two INF94145_Emp_Output_MT's .
    Please let me know incase of any corrections.
    Regards,
    Prajwal

  • Doubts in validating message using BPM

    1)Have to check the response message has not been sent twice for the same id,
    if wrong stop processing the message further.
    2)Have to check the values coming in message is valid or not by comparing the values with R/3 table.
    3) When sending Email alert, some of the values of the invalid message also has to be send with alert.
    4) Have to check the details sent back and sent are same.
    eg: if i send vendorid and some more values for which inturn they sent back are same
    or not.
    5) I have configured deadline branch there I have given the alert category, description.
    I have configured only one recipient for the alert. so if delay in response am getting the mail in particular id.
    So when i send message to particular system its fine.
    But in my scenario, one system connected to more than four system.
    When i send message to morethan two system how to send email alert to particular
    system where delay to send response.
    Can anyone guide me how can i approach these validations.
    Thanks in advance,
    Sakthi

    Hi,
    1)Have to check the response message has not been sent twice for the same id,
    if wrong stop processing the message further.
    --> If you have a synchronous call you EVER have just one reponse message. So in SYNC this should not be necessary. In ASYNC mode you don't have a response, so this is also not neccessary
    2)Have to check the values coming in message is valid or not by comparing the values with R/3 table.
    >>>You need a RFC in R/3 that gives you table records. In this case see, if a RFC is already available; otherwise you have to develop the RFC
    3) When sending Email alert, some of the values of the invalid message also has to be send with alert.
    >>> Design a sender step and send the interface which caused the error. The message will be attached.
    4) Have to check the details sent back and sent are same.
    eg: if i send vendorid and some more values for which inturn they sent back are same
    or not.
    >>> I would suggest that you inspect the samples delieverd by SAP. In Integration Repository goto SWC SAP BASIS. There are samples.
    5) I have configured deadline branch there I have given the alert category, description.
    I have configured only one recipient for the alert. so if delay in response am getting the mail in particular id.
    So when i send message to particular system its fine.
    But in my scenario, one system connected to more than four system.
    When i send message to morethan two system how to send email alert to particular
    system where delay to send response.
    Regards Mario
    null

  • 1:N split using BPM - ReceiverDetermination step

    Hi, I am trying the following blog to split message using BPM.
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    Branch 1:
    A Receiver Determination step returns set of receivers configured for the outputabs interface in the directory and puts it into receiver which is a multiline container receiver element.
    A send Step sends the output to the corresponding receiver that is got from the receiver element receiver.
    Question:  I am stuck in reciver determination step of Fork. Please eloborate on "multiline container reciver element". How to define "receiver" and "reciver1" ?
    As always, your help is greatly appreciated. Thank you

    Look into the SAP Basis Compoenent in your IR.
    Drill to the Namespace --> http://sap.com/xi/XI/System/Patterns --> Go to the Integration PRocess --> Mutlicact Parrel / Sequeential and you can see a demo Integratioon process showing how to use the Receiver Determination step along with the Block to send data to each of the receivers.
    Define a Conatiner Element of type Receivers . This should be a mutliline element.
    In the receiver determination step , use this container element against the Receivers field.
    Now, in your Block , select the for each / par for each element as this Receiver. You will also need to create another Element for the Recieve type and use this against the current line in the block.
    Regards
    Bhavesh

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

  • BPM split message problem

    Hi all,
    I have a problem in splitting messages inside BPM.
    My requirements are:
    1. Receive message (message with apprx. 700.000 records)
    2. Split message to smaller messages (1 message should not contain more than 10.000 records. 70 messages should be created)
    3. Send these message with a delay, one by one. (after the 1. message is sent the next should be sent 1 minute later until all are processed)
    My question is how do I split the messages into 10.000 records without using java or abap mapping.
    2. how do I send them synchronously in a loop? How should the structure be???
    Thanks.

    Hi Chris,
    You can use a transformation step wherein you will define a 1...n mapping. In the mapping create a logic(in UDF) to split the message after every 10,000 message --> Collapse message. This logic would be there in the root node.
    Hope this helps.
    Regards,
    Rahul

  • Split Message Error

    Hi,
    I'm doing a split message without BPM, but I have found a weird error. When I change the ocurrences to unbounded (1:N) in target structure I am finding this error.
    http://picasaweb.google.es/hose86/SapXi#5324222633504070658
    In the picture above appears some yellow square instead of the source/target structure. At the bottom of the picture you can see " Object *** not found". Why?
    I try with other structures and I have the same error. If I try to create other MM the error persist. I tried to reinstall another java versions, and still not working.
    Could you give me any tips?
    I'm using PI 7.1 and JRE 1.5.
    Thanks in advance and regards,
    Jose Antonio.

    Hi,
    When I change the ocurrences to unbounded (1:N) in target structure I am finding this error
    where exactly you are changing the cardinality...it has to be changed in the Signature tab of Message Mapping....
    With the original cardinality:
    <SRC>
        <Node1>
              <Field1>
    Now when you change the cardinality in Signature tab:
    <Message>
             <Message1>
                   <SRC>
                          <Node1>
                                 <Field1>
    So basically the position of the elements in the structure is getting changed and hence the mapping getting disturbed.....
    regards,
    Abhishek.

Maybe you are looking for

  • When drilling to lower level - Totals are not matching in BI Analytics OOB

    Hi All, I am creating a report in Analytics 7.9.6.3 , OBIEE 11g - Let's say Budget Cost/Actual Cost based on the Date Dimension Have selected the Fiscal Year Dim, Fact Budget Cost, Fact Actual Cost FY BCost ACost 2011 100 120 2012 150 140 Total 250 2

  • Getting Error Excise Invoice already caputred in another purchase order

    Hi, I'm facing error while making GR. It's a Stock transfer scenario, where one plant transfers material to another plant. The supplying plant create excise invoice after 643 movement type. The receiving plant first creates GR with 103 movement type

  • Error 41453 When loading opportunities

    Hello there, Could anybody help me with this question: when loading opportunities, I get this error message: "An unexpected error occurred during the import of the following row: 'Opportunity Name: tests; Direct Customer: ' " does anybody knows what

  • Linux installation problems

    Hello All, I'm trying to install JES5 (java_es-5-ga-linux-x86.zip) on RHEL4 and getting errors during the install. I have installed and uninstalled 2 or three times on this server. I have attached the errant installation summary file and the critical

  • Snow Leopard for iMac

    I need Snow Leopard (not Lion) as Rosetta is necessary. I have a ropey iMac with S.Leopard and installation discs. Can I get a new iMac with 10.7. Completely wipe the HD and install 10.6x? If not why not, and is there any way I can get what I need? T