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

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

  • Collecting and bundling messages - transformation n- 1 messages problem

    Hi guys,
    I try to implement the scenario with collecting and bundling messages. I have a question: when you look at the samples in Basis6.40 SW Component, namespace http://sap.com/xi/XI/System/Patterns, there is an example, which uses message mapping BpmPatternCollectMerge.
    My question is: how can this mapping work??? it is mapping of N messages into 1 of the same type!!
    And when you try to test it, it does not work...
    Can you help, how to solve it? Or any ideas for other possibilities, how to merge the messages?
    Thanx, Peter

    Hi,
    To perform a N:1 transformation, these are the follwing important steps,
    DESIGN
    1. In your message mapping, make sure that the occurence of the source message interface is made to be n.
    2. Likewise, in your Interface mapping, the occurence of the Source Message Interface should also be made N.
    CONFIGURATION
    If you are using SP14 or SP15, the mapping can be done without a BPM as follows,
    u will have to go for a BPM with a receive step inside a loop with a multiline container element and the transformation step outside the loop to do the N:1 mapping
    Hope this clarifies and helps,
    Regards,
    Bhavesh
    Message was edited by: Bhavesh Kantilal

  • Collecting and Bundling Messages - One Interface

    Hi ,
    I am trying this Collecting and Bundling Messages - One Interface my interface is File .
    Followed all the steps in the SAP documentation under Examples and Usage cases.
    But I get only one message from the inbound channel .
    when I check the Mapping in the MONI . It shows 2 instances of interface in the MessageIn but the output message of the BPE moni shows only 1 message . Message that is in the first instance of the  Mapping IN .
    Is it error in the multi mapping ? can some body through some light on this ..
    Regards,
    KLK

    Hi Behaves & Moor,
    S, I am trying the pattren given by SAP . Following the weblink given by Mr.Moorty.
    I made source and Target Msg type as 0.. Unbound  and Multiline for Transformation step.
    But when I test the mapping in the Design time by importing a XML with following structure (Please dont mind bad syntax)
    <Messages >
       <ns0:Message1>
          <Filesender_MT >
             <Record>
                <Row>
                   <ID>1</ID>
                </Row>
             </Record>
          </ns1:Filesender_MT>
       <Message1>
       <Message2>
        <Filesender_MT >
             <Record>
                <Row>
                   <ID>2</ID>
                 </Row>
             </Record>
          <Filesender_MT>
       <Message2>
    </Messages>
    I get only one message :
    <Messages >
       <ns0:Message1>
          <Filesender_MT >
             <Record>
                <Row>
                   <ID>1</ID>
                </Row>
             </Record>
          </ns1:Filesender_MT>
       <Message1>
      <Messages>
    which is wht i am getting from the inbound CC.
    how do I test Multi Mapping ? and when I check the MONI->PE --> Technical Details --> Mapping --> MappingIN
    It shows 1 entry but the nestted table shows both the file contents that I have put in the Sender Communication channel.
      I am putting 2 files in the Sender CC and expecting these two file contents to Merge and give me 1 file as out put . this is the scenario understood from the SAP documentation please correct me if I am wrong .
    Thanks and Regards
      K.L.K

  • How to archive and delete messages in SXMB_MONI

    Hi all,
    We are working on SAP XI Development environment wherein we have File to IDoc scenario running twice daily and creating many messages.
    How to archive and then delete these messages ?
    Does accumalation of past messages affect the speed and performance of the system?
    Thanks in advance.
    Ajay

    Ajay,
    For step by step procedure of how to archieve and delete messages in XI go through the urls:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/402fae48-0601-0010-3088-85c46a236f50
    Delete Messages SXMB_MONI
    http://help.sap.com/saphelp_nw04/helpdata/en/0e/80553b4d53273de10000000a114084/frameset.htm
    Too many questions on Archive/Delete messages.
    ---Satish

  • How to collect and transport a hierrachy linked to an object ?

    Hi guru,
    I am working in BI 7.0  and  linked a Hierarchy to oan object.
    When I transported the object to production, the hierarchy is missing in production.
    How to collect and transport this hierachy  ?
    In case of a user-defined hierarchy, is it possible to transport it or  have I to re-create in prod ?
    Thanks for your support

    hi ,
    Yes we can create hierarchy in production .
    But if you have some kind of infrastructure build for data laod , that needs to be separately migrated.
    The Info-object with the Hierarchy check in maintaineance window of info-object should be migrated to production  in order to naually maintain the hierarchy in Production
    Thanks
    Mukesh

  • 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

  • Collecting and bundling messages from multiple interfaces using BPM

    Hi friends,
    I am currently working on bpmpatternmultilf(without condition).
    In my source i have 3 messages having same message type.
    Message type:
    ID
    Overall no
    In the source i am placing 3 files like
    message1.txt ID 100 Overall no 200
    message2.txt ID 100 Overall no 300
    message3.txt ID 100 Overall no 400.
    I have used correlation element  as ID.
    But in the target file I am getting the result as ID 100 Overall no 200.
    Overall no 300 and 400 are not present?
    I understand that the messages are not getting collected and bundled?
    Please help me out on this.
    Thank you in advance

    Hi, deepak:
    To collect the message of same message interface, if you know that all the files will exist for a while,
    and next bundle of file will come to the folder after a period of time saying 30 minutes.
    You can have your receive step, followed by container operator to append individal messages to multi-line elements.You will need deadline block, put timeout to saying 10 minutes.
    This to say that you collect all the messages in 10 minutes, and put them in multi-line elements, now you collected all the messages with different ID.
    Next you need to design  you multi-mapping, since your message is based on ID, you multi-mapping is m:n
    Eventually, you will need transformation step to call the multi-mapping, map the multi-line elements to n target messages. Your final send step send n files to your target system.
    Regards.
    Liang

  • Bpm,COLLECT AND SEND MESSAGES

    Hi all,
    My scenario is as follows:
    Get user ids from SAP(receive step) ->
    Make syncronous call to get Roles from SAP(send sync) ->
    Append response message to message list ->
    Make syncronous call to get roles from SRM(send sync) ->
    Append response message to message list(both are same MT) ->
    Transform message list to new message ->
    Send message with to external system
    The problem is that only the roles from the first message are sent to the external system. It did not map and send the second message. What do you have to do to get both messages sent in the same send step? Is it possible?
    I set the message occurs for the source to 0...unbounded and the message occurance for the target to 1 per the pattern for both the message map and the message interface.
    Regards,
    chris

    Sorry
    Wrong place to post this question
    regards.

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

  • Use Message Mapping to repeat top node and split Message

    I am currently using XSLT Messaging to do majority of the mapping. I have two issues that remain, I need to repeat the top node for each or its child elements and split the message.
    <Sensor xmlns="namespace">
      <Observation>
        <XML>Some Data</XML>
    </Observation
    </Sensor>
    1. Can it be done in XSLT? I posted a thread asking for help on this. Where I would need to repeat the Sensor tag for each observation. If this is possible then I will able to split the messages at the HTTP adapter used for the target system.
    2. Can Message Mapping be used. Using the same xsd on both source and target systems, Will sensor repeat if set to 1:n and observation set to 1:1. In source it is Sensor 1:1, Observation 1:n.  If this works then I can use a BPM to shoot out individual messages using a for each.
    Any help is greatly appreciated. I am fairly new to XI as this is my first major project. Thanks

    Source File                                             Target File
    > XI (XSLT) -
    > Each observation as one file  ---> Out via HTTP
    Batch of all orders    
    Source File
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <receipt>
      <manufacturer>Manufacture Name</manufacturer>
      <manufacturer_gln>999999</manufacturer_gln>
      <transfer_recipt>0123456</transfer_recipt>
      <prod>
        <product_GTIN>99999999999999</product_GTIN >
        <product_LOT>123456A</product_LOT >
        <production_date>20090131</production_date>
        <expire_date>20120131</expire_date>
        <carrier>
          <carrier_type>P</carrier_type>
          <carrier_barcode>001</carrier_barcode>
          <carrier_detail>
            <carrier>
              <carrier_type>C</carrier_type>
              <carrier_barcode>01</carrier_barcode>
              <carrier_detail>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089211</carrier_barcode></carrier>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089212</carrier_barcode></carrier>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089213</carrier_barcode></carrier>
                </carrier_detail>
            </carrier>
            <carrier>
              <carrier_type>C</carrier_type>
              <carrier_barcode>02</carrier_barcode>
              <carrier_detail>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089214</carrier_barcode></carrier>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089215</carrier_barcode></carrier>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089216</carrier_barcode></carrier>
                </carrier_detail>
            </carrier>
          </carrier_detail>
        </carrier>
        <carrier>
          <carrier_type>P</carrier_type>
          <carrier_barcode>002</carrier_barcode>
          <carrier_detail>
            <carrier>
              <carrier_type>C</carrier_type>
              <carrier_barcode>03</carrier_barcode>
              <carrier_detail>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089217</carrier_barcode></carrier>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089218</carrier_barcode></carrier>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089219</carrier_barcode></carrier>
              </carrier_detail>
            </carrier>
            <carrier>
              <carrier_type>C</carrier_type>
              <carrier_barcode>04</carrier_barcode>
              <carrier_detail>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089220</carrier_barcode></carrier>
                <carrier><carrier_type>ITEM</carrier_type><carrier_barcode>0108699547010089221</carrier_barcode></carrier>
               </carrier_detail>
            </carrier>
          </carrier_detail>
        </carrier>
      </prod>
    </receipt>
    Target File
    <?xml version="1.0" encoding="UTF-8"?>
    <pmlcore:Sensor xmlns:pmlcore="urn:autoid:specification:interchange:PMLCore:xml:schema:1" xmlns:pmluid="urn:autoid:specification:universal:Identifier:xml:schema:1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:autoid:specification:interchange:PMLCore:xml:schema:1 cases.xsd">
      <pmluid:ID>GPO_AI_LU_DC</pmluid:ID>
      <pmlcore:Observation>
        <pmlcore:DateTime>2008-10-13T17:53:00.265+02:00</pmlcore:DateTime>
        <pmlcore:Command>PACK</pmlcore:Command>
        <pmlcore:Tag>
          <pmluid:ID>01</pmluid:ID>
          <pmlcore:Data>
            <pmlcore:XML>
              <Memory>
                <DataField fieldName="EXPIRATION_DATE">20120131</DataField>
                <DataField fieldName="BATCH_ID">123456A</DataField>
                <DataField fieldName="ZMFG_DATE">20090131</DataField>
                <DataField fieldName="ZMFG_GLN">999999</DataField>
                <DataField fieldName="ZMANUFACTURER">Manufacture Name</DataField>
                <DataField fieldName="ZITEM_COUNT">16</DataField>
                <DataField fieldName="ZWORK_ORDER_NUMBER">0123456</DataField>
              </Memory>
            </pmlcore:XML>
          </pmlcore:Data>
        </pmlcore:Tag>
        <pmlcore:Tag>
          <pmluid:ID>0108699547010089211</pmluid:ID>
          <pmlcore:Data>
            <pmlcore:XML>
              <Memory>
                <DataField fieldName="EXPIRATION_DATE">20120131</DataField>
                <DataField fieldName="BATCH_ID">123456A</DataField>
                <DataField fieldName="ZMFG_DATE">20090131</DataField>
                <DataField fieldName="ZMFG_GLN">999999</DataField>
                <DataField fieldName="ZMANUFACTURER">Manufacture Name</DataField>
                <DataField fieldName="ZWORK_ORDER_NUMBER">0123456</DataField>
              </Memory>
            </pmlcore:XML>
          </pmlcore:Data>
        </pmlcore:Tag>
         </pmlcore:Observation>
         </pmlcore:Sensor>
    I have the XSLT Mapping working to transform data from Source file to target File. But my target file has multiple Observations that need to be split into the Sensor, Observation structure.

  • How to collect and move the deleted process chain to Prod.

    Hi,
    I have a process chain (BI 7)that is already in D,Q and P and now I want to delete a Process Chain under "Display Component" and my question is how to collect the deleted process chain to move all the way to Q and P.
    Waiting for your response
    Regards,
    Sunil

    Hi Srinivas,
    Thank You ,I was scared that i dont get any request to collect and my problem is resolved.
    Regards,
    Sunil

  • Collect Asynchronous XI messages without BPM

    Hi,
    we are sending asynchronous Xi messages from ERP to PI and then sending a file through FTP for each message.
    We would like to group (collect) the messages in XI or ERP and send them all as 1 file at a specific time.
    Is this possible without BPM (I've seen the classic BPM way to do this but try to avoid BPM) What are the options ? Can this just be done by configuration ?
    We are using PI 7.1
    Thank you.

    Hi guys,
    I`m facing a similar issue in a project, where several e.g. 7 large messages, normal msg size 10-15mb, but one normally is about 100mb,  are transfered to PI via ABAP proxy and have to be merged in one single file using the file adapter.
    QoS at the moment is EO.
    Because of the performance issues I want to avoid ccBPM.
    I think the append mode could be a way to solve this issue. But how could you determine that all messages have been processed and added to the file, so that the receiver could fetch the complete file and process it?
    Is it useful to build up an unique filename like "XYZ_DATE.txt" so that all messages of one day are collected in the same file, but there is still the issue to recognize when the last message is added to the file and the file is completed.
    QoS EOIO is needed to achieve that?
    Any suggestions welcomed, thanks in advance.
    Regards,
    Jochen

  • 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

  • Collecting and sending messages @5000 per file

    hi guys..
    I new to BPM concept........
    I am receiving a large file which is having around 100000 records and i need to chunk this file into small files of 5000 records each....and pass to target system.
    how best we can do this...
    I tried in forum but no luck so far....please give your inputs to achive this.
    Regards,
    Ravi.

    I am receiving a large file which is having around 100000 records and i need to chunk this
    file into small files of 5000 records
    check this blog..applicable if you are using file adapter:
    /people/sravya.talanki2/blog/2005/11/29/night-mare-processing-huge-files-in-sap-xi
    why are u stressing on the use of BPM...iit is not a good option to process such a big file using BPM.
    Regards,
    Abhishek.

Maybe you are looking for

  • FAN ERROR

    FAN ERROR displays today, previous the fan was running noisily..now screen resolution is poor... will this crash my laptop?

  • Oracle 10G Db Starts-up After Server Reboot, BUT Goes DOWN After Some Time

    Hi All, I am really puzzled over this one. I have couple of servers running DB on them and I have used scripts to auto-enable them when server(s) reboot. But there is one server where I see this funny behavior. The DB comes-up after server reboot. I

  • Problems with airtunes

    i use my macbook pro to stream music via my airport express, which is connected to my stereo via a standard audio cable. when i do this, the sound comes out of only one speaker, and very faint out of the other speaker. nothing is wrong with my receiv

  • FICO business processes in IS-OIL

    Hi Oil experts, I want to know about the business processes in IS OIL, how it is different from general FICO, Please give me the pdf  material if any, thanks in advance,

  • WRT120N capability question

    Can the WRT120N be reconfigured as a WIFI extender/repeater?