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

Similar Messages

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

  • How to configure one dsl connection and one public ip in cisco router and map to one interface for using exchange server

    how to configure one dsl connection and one public ip in cisco router and map to one interface for using exchange server

    Hi ,
     Have you got any additional public IP Address from your service provider , If yes on router you can have static route for those additional IP Address pointing to your ASA  outside interface . 
    Accordingly you can configure NAT 
    HTH
    Sandy . 

  • 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

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

  • LOST TCP SESSION, LDP AND BGP, OVER ONE INTERFACE

    On 7609 PE router, lost only TCP session attach to one interface (Te3/3). The router shows this log
    Aug  4   13:17:31.424: %LDP-5-NBRCHG: LDP Neighbor 200.111.117.251:0 (1) is DOWN   (Session KeepAlive Timer expired)
    Aug  4   13:19:52.493: %BGP-5-ADJCHANGE: neighbor 200.11.96.126 Down BGP Notification   sent
    Aug  4   13:19:52.493: %BGP-3-NOTIFICATION: sent to neighbor 200.11.96.126 4/0 (hold   time expired) 0 bytes
    Aug  4   13:42:11.265: %BGP-5-ADJCHANGE: neighbor 200.11.96.126 Up
    Aug  4   13:42:23.549: %LDP-5-NBRCHG: LDP Neighbor 200.111.117.251:0 (1) is UP
    The device did not present a interface flap.
    The device did not present lost of OSPF adyacency, over the same interface
    The device did not present lost of TCP session over oher interfaces
    Please help me,
    I suspect a bug, but I failed to find
    Christian

    Hi Nagendra
    This is output og sh tcp brief
    PE2-PCS-RANCAGUA#sh tcp brief
    TCB       Local Address               Foreign Address             (state)
    4B558124  200.11.98.9.646             200.11.98.37.51654          ESTAB
    53336910  200.11.98.9.646             200.111.117.61.49833        ESTAB
    4B4CF2A0  200.11.98.9.646             200.111.117.20.64138        ESTAB
    536E56A4  200.11.98.9.61369           200.11.96.126.179           ESTAB
    53359454  200.11.98.9.22913           200.11.96.81.646            ESTAB
    4B6C25EC  200.11.98.9.646             200.111.117.251.53802       ESTAB
    537CFBE4  200.11.98.9.62975           200.11.96.125.179           ESTAB
    5330A774  200.11.98.9.646             200.111.117.86.62367        ESTAB
    4B4D97EC  200.11.98.9.18753           200.11.96.88.646            ESTAB
    4B018A28  200.11.98.9.61292           200.11.98.8.646             ESTAB
    4B0B176C  200.11.98.9.23              190.151.64.218.36508        ESTAB
    4B1976F0  200.11.98.9.17760           190.151.97.92.646           ESTAB
    4B261BD0  200.11.98.9.646             200.72.146.42.64641         ESTAB
    537CEFF8  200.11.98.9.646             200.111.117.74.54785        ESTAB
    531F4890  200.11.98.9.15536           190.151.97.77.646           ESTAB
    5359F5B4  200.11.98.9.24658           190.151.97.74.646           ESTAB
    PE2-PCS-RANCAGUA#
    Christian

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

  • Application Manager and the wanted language interface

    I am a very oldtimer with Adobe and Photoshop. I was brought up in the States and Worked for US Corp's. Before CS6 I always installed an English Interface. Now, Adobe application Mgr is in French eventhough I requested and insisted in using the US connections from start! How can I get a US version running? The CS6 is in French and only offers one interface in the pulldown menus (preferences). My Lightroom is in English and I want everything in English.Thanks PdeRumine

    Which operating system are you using?  Also you can check the language selection in the Adobe Application Manager.  If you click on your name and go to Preferences there will be an option to choose your language there.
    This may not resolve your issue though which is why I need to know which operating system you are using before giving any additional instructions.

  • XI BPM Collect Meassages Scenario with one Message as an optional

    Hi guys,
    I need help to implement XI BPM Scenario with Collect Messages Pattern. Here is my Scenario. I am getting four different types of flat files from four interfaces. Using these four files I need to merge using correlation relation and finally have to create One IDoc type to send it to SAP R/3.
    But out of these four messages last Message type is an Optional Message. i.e the process has to continue even if forth message is not available by taking first three messages.
    Please let me know which pattern is suitable for this scenario.
    Thanks.
    Siva.

    Hi,
    I hope u are receiving four different interfaces.Have a local container variable of simple type integer.you put a fork with four branches after the start step.Each branch has a receive step corresponding to one interface. Then after each of the receive step in each branch put a container operation performing some action on the container variable may be incrementing.so in the end condition of the fork check the value of the container variable i.e you can check if that variable is 3(three of the interfaces have been got).so this ensures that ur fork doesnot wait for all the four.hope this works.
    Regards,
    Sudharshan

  • Collect BPM - Start process and correlation in one Receiver

    I'm using collect pattern based on timeout. Somehow in my infinite loop, in the receive step, I cannot combine "start process" with creating correlation and using it. All in the same receiver. When I try to activate my BPM, in the processing log I get, "start process" trigger removed.
    Can someone throw any light on this....I've being trying this for over few hours now. I cannot get start process and correlation in one receiver. I must be doing something wrong.
    Even the copied BPMCollectPattern removes the start process from the receiver.
    thank you,
    Pam
    Additional info:
    The first message received starts the process within an infinite loop and activates the correlation "Correlation" by using IDoc message tyoe. Each subsequent message uses this correlation. The messages are received in the container element CollectMessage.In the loop the received messages are attached to the multiline container element CollectMessageList.

    Hi,
    We are also in SP12. So start process is not a problem, because you are getting an Information saying that "start trigger removed" right? It is not an error.
    Are you getting this eror "expression must not return multiline value" after your complete Integration Process desgin ? If So...
    I think you are getting this error in Transformation Step where you are doing N:1 mapping. In this step you are mentioning Interface mapping right? Once you mention Interface Mapping in Transformation step you need to give Source Message Structure as well as Target Message Structure. According to my understanding you are getting error here. You can check these errors, while design time itself. If your entries are showing with Red Border then it is understood that there is an error.
    So if error is here then I think you need to check your N:1 Mapping. In this mapping your Source side Messages should be 0...unbounded. Similarly in Interface Mapping also. Just check for Source Message Occurences...
    I think it will solve your problem.
    Thanks,
    Moorthy

  • Problems with mapping after bundling messages into one XML-file

    Hi all,
    Case 1: one DebMas IDoc ==> XI ==> one XML-file : no problems with mapping.
    Case 2: several DebMas IDoc's ==> XI ==> one XML-file : problems with mapping.
    Explanation:
    Incoming DebMas IDoc's:
    Businesspartner 1 : no Customer Master Partner Functions (E1KNVPM).
    Businesspartner 2 : Customer Master Partner Functions (E1KNVPM).
    Businesspartner 3 : Customer Master Partner Functions (E1KNVPM).
    Businesspartner 4 : Customer Master Partner Functions (E1KNVPM).
    After bundling into one XML-file:
    Businesspartner 1 : no Customer Master Partner Functions (E1KNVPM).
    Businesspartner 2 : no Customer Master Partner Functions (E1KNVPM) !!!!
    Businesspartner 3 : Customer Master Partner Functions of Bp 2 (E1KNVPM) !!!!.
    Businesspartner 4 : Customer Master Partner Functions of Bp 3 (E1KNVPM) !!!!.
    All the payloads of the IDoc's are correct.
    In the message mapping we use a Container for the Partner Functions (shown as below)
    Is this a serious bug in the mapping of SAP XI ?
    Does anyone knows how to solve this serious problem.
    E1KNVVM -
    > Partner_Container
    E1KNVPM -
    > Partner
       PARVW -
    > ParnerRole
       KUNN2   -
    > PartnerNumber
    Regards,
    Theo Pijlman

    Hi,
    Example:
    Input idoc has field F1 with occurence 0..unbnd
    My input values for field F1 is
    1
    none
    2
    3
    Say, I have a mapping, F1---->TargetF1
    In the target only 3 TargetF1s will be created for the values 1,2,3 and nothing will be created for the field F1 with no value.
    To overcome this, use collapse contexts.
    F1->collapsecontexts>TargetF1
    This way, the TargetF1 fields created will have the following values:
    1
    blank
    2
    3
    Collapse contexts makes sure that a target is created, even if there is a context change specified at the source.
    Hope this is clear.
    Regards,
    Smitha.

  • Two Message Mappings in one Interface Mapping without using BPM

    Hello Experts,
    I have this scenario, please help me
    I have to execute two mappings of which one is a java mapping and then the other is a message mapping sequentially.
    The mapping is something like below
    Message1  -> (java Mapping) -> Message2
    Message2
    Message1 -> (Message Mapping) -> Message3
    Based on the value in Message2 I have to map Message1 to Message3
    I am not an expert in java so please give me options that doesn't involve changing of java code.
    The above 2 mappings have to be implemented in only one interface mapping.
    Suggestions please.

    Hi Ravi!
    You say message2 dependes on message1 and message3 is mapped from message1 but using also values from message2? But this means, that whole mapping dependes only on message1!
    So change your mapping and use the one not based on message2, but message1. Put these as a condition in interface determination and based on these values use the correct mapping.
    Peter
    p.s. I'm not sure, if I got your requirement correctly, but your target message dependes only on message1 (since message2 dependes on it too), so this whole mapping can be done as 1. Unfortunately, you'll probably have to change your java part. Bur definetely, Raj is right.
    Edited by: Peter Jarunek on Feb 20, 2008 5:36 PM

  • HELP!!!  Message - (One or more applications are using the iTunes scripting interface. Are you sure you want to quit?)  How do I get this to stop?

    I bought a new Sony Vaio Laptop running Windows 8, 64bit, i7 processor.  Everytime I open iTunes and then close out, the following message occurs: (i-tunes message - One or more applications are using the iTunes scripting interface. Are you sure you want to quit?) Then it starts counting down from 20 seconds unless I just click on the (Quit) button.  How do I get this to stop?  Please be specific, I am challenged when it comes down to computers.
    Thank You

    This was extremely annoying for me, also.  I started uninstalling unneeded Sony applications to try to narrow down the problem.  It turned out not to be a Sony application... it is some functionality built into the bluetooth driver software package by Broadcom.  Uninstalling the bluetooth package (via the control panel) takes care of the problem.  Itunes also boots up way quicker.  But uninstalling it will remove features related to bluetooth and nfc.   For me, that isn't an issue, since I don't use them.  Since you said you're "computer challenged" I would probably just send an email to sony complaining about the problem.  They'll get in touch with Broadcom eventually (the manufacture of the drivers) and get the problem fixed.
    Side note: the Broadcom package is huge...  nearly 1GB in size.  Which is crazy.  I can't imagine what it does considering the size of it.  Entire operating systems can take up less storage.  Also, I have no idea how it starts an itunes plugin without placing it into the standard plugin directories.

  • Message splitting-- Queue stopped when no message created for one interface

    Hi all,
    I think you saw one post regarding this issue in SDN, but I can't find the post any more.
    So, I have message splitting (it's multiple mappings to map one outbound msg to multip inbound msgs, not one mapping to map 1 to n. This is because of our own reason, but should not affect the analysis of the issue) to split one message to multiple. It works fine if the outbound message contains data for every inbound interface. However if the outbound message does NOT contain data for any one inbound message, there is an error in MONI and all subsequently splitted messages will not be passed in IE. The error in MONI says Split mapping created no messages, and Queue status turns to be Queue Stopped, and thus all the subsequently splitted messages are stuck in the queue.
    Why this? and how to solve this problem?
    Thanks
    Jayson

    >
    Jayson wrote:
    > Hi all,
    >
    > I think you saw one post regarding this issue in SDN, but I can't find the post any more.
    >
    > So, I have message splitting (it's multiple mappings to map one outbound msg to multip inbound msgs, not one mapping to map 1 to n. This is because of our own reason, but should not affect the analysis of the issue) to split one message to multiple. It works fine if the outbound message contains data for every inbound interface. However if the outbound message does NOT contain data for any one inbound message, there is an error in MONI and all subsequently splitted messages will not be passed in IE. The error in MONI says Split mapping created no messages, and Queue status turns to be Queue Stopped, and thus all the subsequently splitted messages are stuck in the queue.
    >
    > Why this? and how to solve this problem?
    >
    > Thanks
    > Jayson
    Hi Jyson,
    what i analyse from this is you may be using different maapings and different inbound interfaces
    but your receiver is the same and hence you are using only one interface determination with all the   interface mappings specified there...
    if this is the case..i suggest you remove the "maintain order at runtime "
    tick in that interface detemination and it will surely work
    giving points is another way to say thanks
    Edited by: Tarang Shah on Mar 20, 2009 7:18 PM

Maybe you are looking for

  • No goods receipt possible for purchase order 4000010123 00001

    Hi Experts, I created PO with 100 Qty then create GR with 20 Qty with mvt type '101' . then I am doing Return PO with 20 then I am creating GR with Reference to return PO with 161 movement type through BAPI 'BAPI_GOODSMVT_CREATE'.but it  giving error

  • Tried to follow the second video tutorial with no success

    Hi, I tried to run the second video tutorial (Your Second AFCS Application) on LCCS SDK Navigator with no success. VideoChat.mxml: <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"                xmlns:s="

  • cm:search and content caching and

    Hi All, This is my environment : Weblogic Portal 8.1 SP3. Documentum : We are using DCS for connecting to SCS target system and is used as content repository. If we use <cm:search> as below : <% String queryFor25Content = "i_chronicle_id in ('0900000

  • Personalization in ESS/MSS

    Hi I need to understand the concept of Personalization in ESS/MSS with the help of one example. Can anyone please help me in understanding concept of Personalization with proper example.

  • Itunes 10.5.2 trouble

    See error-message below... Anybody know what i can do??