Skip to Content
avatar image
Former Member

Necessary steps for incorporating BPM collect pattern?

I am working on my first BPM.

The scenario is as follows: Supplier information (CREMAS) has to be splitted into their respective receiver countries (This has been done with a switch) For each country all CREMAS has to be collected into one XML and sent.

I have decided on BPMCollectPatternTime.

What should I do in order to include a CollectPattern in my BPM?

What design objects should I copy to my namespace?

And how to configure receive, loop and transformation?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Sep 30, 2008 at 10:55 AM

    Hi Thomas,

    Check this, BPM with Patterns explained Part-1


    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 30, 2008 at 11:03 AM

    Hi Thomas,

    So you are sending multiple CREMAS IDocs to SAP XI and you want a BPM to collect the IDocs together into separate XML messages by country.

    In this case you dont need a switch statement, just use a time based collection routine and a correllation on the country field.

    We have used this method extensively, you want to choose how to terminate the BPM. You can set up an infinite loop scenario with a time based termination via a deadline branch.

    In order to use this in your own BPM create the Integration Process and add the following steps in the editor, this will aid you in understanding the various steps and how the process works.

    You will need 3 Abstract Message Types:

    1) Single IDoc Message Type

    2) Multiline IDoc Message Type for Appended IDocs

    3) Non Multiline IDoc Message type for the List of collected IDocs

    First add a block step

    Mode = Default

    Local Correlation = Define Correlation on Country

    Within the block step:

    Deadline Branch = 1 minute for example

    Control step = Throw Exception


    Main Branch = boldLoop Step Beginbold --- Receive Idoc Step --- Container Operation --- boldLoop Step Endbold

    Loop Step

    Condition = (1 = 1)

    Receive Step

    Message = Abstract Message Interface

    Use Correlation = Local Correlation

    Container Operation

    Operation Append

    Outside the block step:

    Transformation Step

    Send Step

    Hope this helps,


    Add comment
    10|10000 characters needed characters exceeded

  • Sep 30, 2008 at 11:04 AM

    Loop - Receive - Container (Use Multiline Container - End Loop) - Transform (to convert all CREMAS messages into a single message) Transform (to Split the files based on City name) - Send

    Switch in ur case would complicate the design. Better to handle it in transform mapping.



    Add comment
    10|10000 characters needed characters exceeded