Collect Message without correlation

Hi,
I have a scenario. I have to collect 10 files which has like 100 bytes of information in each file and they should be collected into a single file every five minutes. I dont know whats inside the file. The data may vary...How  do I collect these messages without correlation in BPM? I can relate only file names....there is no relation between them in the payload...
Also, without correlation, if the file adapter polls every 5 mins and grabs 10 files, how do I control them to process in the same BPM instance (should I use interface namespace in the correlation for single BPM instance) - how to use collect pattern? can I use file name and process them in BPM to be collected????
Thanks for the suggestions.
Thilothama

Moorthy,
Thanks for the reply. So lets say my incoming
file 1 has  "This is file 1 content "
file 2 has  "This is file 2 contennt"
file 3 has  "This is file 3 content"
On content conversion I make this to
<Message>
<File content>
   <ID>1
   <Data>"This is file 1 content "
<File content>
</Message>
<Message>
<File content>
   <ID>1
   <Data>"This is file 2 content "
<File content>
</Message>
<Message>
<File content>
   <ID>1
   <Data>"This is file 3 content "
<File content>
</Message>
Hard code ID and use it in BPM collect pattern??
Thanks
Thilothama

Similar Messages

  • Collect Messages with BPM

    Hi everybody,
    I need to know if it is possible to develop a integration process to collect messages without using correlation, until now I only developed that scenarios using correlation, but I have a special case that is not necessary identify a key to make a relation among the messages
    Thanks in advance.
    Ivan
    Edited by: Jose Iván Reyes Arteaga on Dec 3, 2008 10:42 PM

    If you do not need any key field for correlation, then you can go for dummy correlation in BPM.
    In the expression editor (properties column of the Correlation editor), select the "Constant" radio button and give some dummy name.
    For more explanation, refer Siva Maranani's post in the thread:
    /message/426236#426236 [original link is broken]
    Thanks,
    Geetha

  • Collect IDocs to Single Request message without BPM

    Hi Experts,
    My scenario is IDoc to SOAP.
    PI receives multiple IDoc with same message type. ECC pushed bundled IDOcs to PI via HTTP port.
    Ex: <CLFMAS>
               <IDOC1>
               <IDOC2>
               <IDOC3>
    The receiver is SOAP channel.
    I would like to achieve mentioned output structure without BPM.
    Input Structure:
    <CLFMAS>1..1
         <IDOC1> 1..999999
            <Employee>1..1
                   <EmpID1>1..1
                    <Location>0..999
                        <JAPAN>0..1
                    <Location>
                        <FRANCE>
                    <Location>
                        <BRAZIL>
         </IDOC1>
          <IDOC2>
            <Employee>
                   <EmpID2>
                    <Location>
                        <BRAZIL>
                    <Location>
                        <JAPAN>
                    <Location>
                        <USA>
            </IDOC2>
    </CLFMAS>
    Output structure:
    <RequestMessage>1..1
         <GroupListType>1..1
                 <GroupList>0..Unbounded
                      <JAPAN>1..1
                       <EmpID1>0..Unbounded
                       <EmpID2>   
                  <GroupList>
                      <BRAZIL>
                       <EmpID1>
                       <EmpID2>   
         </GroupListType>
    </RequestMessage>
    Pointers will be very helpful.
    Thanks
    Ray..
    Edited by: RayPIUS on Oct 16, 2011 6:21 AM

    HI,
      -> you  go with IDOC packaging concept.  we have three approaches collecting idocs,
           1. by using tRFC port
               we need create rfc destination(SM59) and port of tRFC(WE21) and ccreate partner profile(WE20), in partner profile we have to specify the packet size.
                then coming to PI in ID we need to create sender communication channel for IDOC there we have to provide packet size.
      2.by using XMLFILE PORT
        Please refer this blog it will help you
        Collecting IDocs without using BPM  
    3.by using XML HTTP PORT
      please go through this blog i hope this will help you
    ->  IN PI we have message packaging concept.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10b54994-f569-2a10-ad8f-cf5c68a9447c?quicklink=index&overridelayout=true
    regards,
    ganesh.

  • BPm collect Message Check

    Hi,
    when i perform a check to standard BPM patterns BpmPatternCollectMessage. I get the following info am i wrong some where do any changes needed to be done.
    Container element stopmessage in step receive terminating message is initialized but not used
    Container element collectmessage in step *receive * message is initialized but not used...
    kindly help

    I did the above scenario as told.
    It is a bpm message dependent scenario. It keeps collecting messages till a particular message is received.
    I more or less used the message dependent pattern given in SAP BASIS.
    The data types are as follows.
    Dt_In
         Name
         OverallID
    Dt_In
         Name
        OverallID
    1 to 1 mapping
    I used the OverallId for correlation. The receive step inside the infinte loop collects the messages with OverallID '1' while the receive step below collects messages with OverallId '2'.
    In the container elements i defined 2 separate message interfaces. One for OverallID '1' and the other for OverallID '2.  The 2 message interfaces have the same Message type. Only values will be different.
    For the parallel fork step i have given end condition OverallID = 2.
    When i execute the scenario the messages are all comingin a queue. The status is wait for event.
    What could be the problem?
    Thanks
    Edited by: pratichi chauhan on Sep 24, 2008 2:46 PM

  • Integration Process: Infinite loop without correlation

    Hello,
    we have an IP which receives IDocs, maps them and makes SOAP-Calls to the destination synchron.
    We need no correlation. Mapping is complex an takes some time.
    Since this is an mass-interface, we can see the messages buffered for the IP in XBQO$PE_WS...
    In order overcome this performance lack we want to process let's say 3 Idocs simultaneously.
    According to "How To… Configure Inbound Processing in ccBPM" i need to bring the Receive
    Step into an infinite loop step, so that there is always an open Receive-Step:
    <Begin loop infinite>
       - Receive-IDoc
       - Transformation-Step
       - Send-Step (SOAP)
       - Check Result
       - ErrorMessage if neccessary
    <End loop>
    But in this case an correlation is obligatory?
    How can we implement sim. processing without correlation?
    Regards Gunnar.

    Gunnar, I don't think, you can yimprove this scenario and enable processing of more idocs simultanously. System processes the messages as fast, as it can.
    Once, we had some problems with IDoc processing in BPM - it was slow. So my friend just added some available processes (increased this number in system settings) and it started to work fine. So, I think, there is no improvement possible in BPM, by try some system settings. I'm sorry, I can't tell you, which setting it exactly was, cos' I don't know, but try to ask some BASIS guys.
    Peter

  • N:1 without correlation?

    Hi
    I am having 2 files in which one file having 20 records and another file is having 10 records I need to merge two files using BPm how can I merge two files without correlation?
    Any solution regarding this
    Regards
    Krishna

    Hi Krishna,
       To merge two files without using correlation, you can use  a block where  you will have a loop  to collect the incoming msgs for a specified time period........after completion of that time period, all your msgs will be mapped to the target msg by the mapping you have specified.....try this out...
    But better to go with correlation....follow this guide.....
    http://www.sap_technical.com/Tutorials/XI/BPM/Fork1.htm
    Remove the '_'
    Regds,
    Pinangshuk.

  • BPM Collect Message dependent AND time dependent

    Hi
    I have a IDOC to file scenario where I have to collect all the IDOC until I receive a stop IDOC.
    Once the End collect IDOC is received I have to do a n:1 transformation and write the file to the FTP.
    The problem is, at times the IDOC which is suppose to end the collect loop gets stuck in ECC R3 system.
    So Im wondering If I can do something like say, we have two options inside BPM both time dependent and message dependent.
    In this case which ever comes first (the Stop/END IDOC or the Time say 3 mins) will end the collect process.
    Can anyone pls suggest will it work and if so what are the additional steps I have to introduce in the BPM.
    Pls advice.
    Right Now these are the steps in the BPM Collect Message dependent.
    1. Block (I have used correlation)
    2. Fork inside the block
    3. Fork branch one has a look with end condition as 1=1; then a receive step and a container operation inside the loop.
    4. Fork branch two receives the end collect idoc.
    5. Transform step outside the block.
    6. Send step.
    Thanks
    Prasanna

    Hi Abhishek/ Raj
    Thanks!!
    I have done the changes let me confirm after testing it once. In the mean time I have one more question regarding the same BPM, as I have mentioned in the first post, the BPM contains the 6 steps mentioned but the the 6th step is inside another block (Block2).
    The steps 1 to 4 are inside Block1.
    The step 5 ie the transformation step (n:1) is in between the Blocks ie not inside any block (hope im not confusing).
    The second block is for sending the file to the FTP and based on the acknowledgement (transport level) I have to send an email.
    So Block2 already contains a deadline branch, it is to wait for the positive acknowledgement for say 3 mins and send the error email if incase we dont get positive ack within the time limit.
    My doubt is,
    1. Is it the only way (having two block and two wait steps) to achieve this.
        (one block for collecting and one block for ack)
    2. Is there any way I can have a single Block in the BPM insted of two. If so what are the steps.
        Having single block, Will improve anything??
    Thanks
    Prasanna

  • 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

  • Xpath in the collect message of BPM

    Hi,
    I created a BPM collect message. My source message has a field which is in the format of XXXX-NN such that XXXX can be any 4 letters and NN is a number 01 - 99. In the loop of the BPM, I made use of an Xpath command in the condition editor for the loop condition. The command is /header/segment1/segment2[(substring(field1,6,2))] for the left hand operand and comparing it as not equal to a counter variable.
    When I look at my graphical workflow log, there is an error in the Transformation step. In SXMB_MONI, I have a red flag with an error of "Message has error status on outbd. side" in the process view of SXMB_MONI.
    If I change the Xpath command to /header/segment1/segment2/field1 and change the value of my field to just use NN without changing anything else, my BPM is working properly. Is there something wrong with the added Xpath command? I followed the blog in /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination but I wonder if this only works for Receiver Determination. Please help.
    Regards,
    Elbert

    Hi Elbert,
    the expression
    means a condition and requires a
    =
    For example:
    [//person/name[../no='123'] code]
    means: select element person/name where person/no "123" is.
    Because of unclear results regarding the namespace i wouldnt put the full path. Use for example [code]substring(//segment2/field,6,2)
    The substring expression is ok, i m shure.
    <b>substring(X-Path on String value, No of letter in string, length of searched substring)</b>
    If the string is not long enough, it might give you strange errors, he, he. Cant cut 1m of 20 cm salami.
    Regards,
    Udo

  • Combined FIles in PI using BPM without correlation

    Hi All
    I have a requirement, I have two files coming from the source system one file with Header Detials & other file with Item Detials and I have to combine these two files into a single file.
    I have used the BPM in PI to combine the two files uisng correlation.
    This scenario is working fine if both the files are having equal number of records wiht the same correlation ID.
    Based on the correlation ID files will be combined in PI and send to the target system.
    Now in case I am receiving the files in which corelation is not matching for few records then in that case process in waiting in BPM and get cancelled after some time & files will not be processed.
    Do we have any option in BPM which will just cominge two files without correlation & passed through BPM & files got processed?
    Thanks for your help in advance.
    Thanks
    Ajay

    Hello Ajay,
    I do agree with Anudeep that corelation is necessary to in order to merge the two messages.
    I am sure you will find a correct corelation factor in order to merge the messages.
    If there is no corelation, you can ask the functional consulatant to add certain veriables in the incoming messages that will corelate the messages.
    Tx
    Saurabh

  • Collecting Message from 'ForEachBlock'

    Hi experts, i have a scenario of File-PI-RFC. My FILE is in XML format and consist of, for example, 10 POs (this is only example) with each of them has more than 1 items/details.
    However my RFC will only receive 1 PO with its items each time. Therefore in my bpm, i use a "ForEach" block to separate my file and call the RFC 10 times (i successfully did this).
    However my problem is to collect the response from RFC (each RFC). My BPM call RFC synchronously and I need to combine all the response from the RFC (which will be 10 response in this case). I have read some blogs about collecting messages into 1 message, however, all i can find is that using "Fork". But in my case, i dont think i can use FORK (CMIIW). So guys, anyone can enlighten me? Thank you very much...

    Thank you for all the advice...So the only way is to make the sync send become 2 separate async (send and receive)?
    Ok i've done and follow from the link that you guys gave me.
    However, i got a problem on why i dont have anything to select on my receive node at the 'Use Correlation' field?? I already create a correlation but i can't select it for the 'Use Correlation' field. I can only select it for 'Activate Correlation' field...Any clue?
    Thx...

  • WD Message Manager - collect messages

    Hi All,
    we work with 2 WD-applications reporting their message in the messagearea of WD-application#1
    How can I report messages without losing existing messages?
    I found note 940762 in this forum saying that it is possible to collect message using the parameter is_permanent or/and scope_permantent_msg.
    example:
      CALL METHOD lr_message_manager->report_exception
        EXPORTING
          message_object           = lr_exc_core
        IS_PERMANENT             = ABAP_FALSE
          SCOPE_PERMANENT_MSG      = 0.
    Can anyone describe the differences between the 2 options?
    What else can I do to collect messages?
    Thanks, Martin

    Hi Martin,
    if you just use IS_PERMANENT, you have to remove your messages, when they should not be displayed anymore. If you set scope_permanent_msg e.g. to if_wd_message_manager=>co_msg_scope_controller and you set a controller reference, the message will be removed, when the controller is deleted.
    Regards, Regina

  • Having horrible service with 4GLTE I have had 3G for several weeks (I am not the only person I know having this problem), I have reset my network settings and it did not resolve the issue.  I am also unable to send SMS and text messages without them eithe

    Having horrible service with 4GLTE I have had 3G for several weeks (I am not the only person I know having this problem), I have reset my network settings and it did not resolve the issue.  I am also unable to send SMS and text messages without them either failing or not sending at all.  Is there an outage in the Cleveland, Ohio area (zip codes 44129, 44134, 44137) or anything else I can do to resolve this issue?

    Not that I'm a Verizon employee, but I have experience in the field. An LTE tower will only extend up to, on a perfect day, with no elevation, 6-7 miles. On a typical day, you will be lucky at four (4) miles. The three ZIP codes you've given are all within about a 12 mile radius. That would mean that 2-3 towers are currently down at the same time, and Verizon would know about it within the hour. Being it's Cleveland, I'm sure they would receive numerous calls regarding an outage of that size.
    My point is that if you're having issues in all three ZIP codes, chances are it's a phone issue. If you're handset is simply not receiving LTE, but still receiving 3G, that would signify a SIM card issue. You need to get your SIM card replaced.

  • How can I delete a message without opening an adjacent one?

    Before Yosemite you could delete a message from Mail.app without opening an adjacent message by holding option and clicking the garbage can.
    However, in Yosemite, there doesn't seem to be a way to delete a message without opening (and setting the message's status to "read") an adjacent message.
    I often don't have time to read all the messages in my Inbox so I'll quickly read some important ones and I'll leave the others as "unread" to get back to later in the day. Yosemite Mail doesn't seem to support this workflow anymore…
    Anyone know a workaround; short of manually setting a messages status back to "unread"?

    Ok, I'm answering my own question.  I made up a fake user name to get into my Palm Desktop and deleted profiles.  Then I went in with real user name.  All of my calendar entries were gone, but fortunately within the last month I had HotSynced and was able to HotSync again to get it back from my handheld.  I think I need a blackberry.  This stuff happens way too often.
    Post relates to: Palm m505

  • Can I print a Mail message without multiple recipient names?

    Is there a way to print a Mail message without having also to print the dozens of recipients, where that's the case? I can't see an obvious way, but I'm sure I used to be able to do this. I'd be grateful if anyone knows how.

    HI,
    Go here and download this utility. Print Selection 1.1
    "You can select text and graphics in any cocoa application (safari, mail.app, etc.), go to the services menu and go to "Print Selection" and the selected stuff will be printed."
    Carolyn

Maybe you are looking for