on 09-30-2008 10:29 AM
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?
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.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
Pete
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.