on 05-26-2012 8:23 AM
I understand that we can do the 1:N mapping without BPM but was just using it.
1. receive step
2. transformation ( 1 : n )
3. Block ( par for each )
4. Send ( inside the block )
i tested the MM and OM and It is working fine and I am getting 2 separate messages in the target.
but when I test end-to-end it is generating 2 messages in the target but the data in both 2 messages if of the last occurence of OrderData in the source
Input -
<ns0:mt_src xmlns:ns0="http://1:n">
<CompanyCode>qq</CompanyCode>
<SalesArea>12</SalesArea>
<OrderData>
<OrderNumber>5</OrderNumber>
<Customer>rrr</Customer>
</OrderData>
<OrderData>
<OrderNumber>7</OrderNumber>
<Customer>hhhh</Customer>
</OrderData>
Output 1 -
<?xml version="1.0" encoding="utf-8" ?>
</OrderData>
</ns1:mt_tgt>
output 2 -
same as output 1
similarly if there is one more occurence of OrderData then that i get only that data in all the splitted messages
What may be the reason
also one more observation is when i use block in "FOR EACH " mode..the scenario works fine
i believe the only difference between FOR EACH and PAR FOR EACH is that for each sends the message in sequence so if one fails the others behind that get stuck...whereas par for each sends parallely...
then why is par for each not working
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check below sap documtnetation
http://help.sap.com/saphelp_nw04/helpdata/EN/f6/e1283f2bbad036e10000000a114084/content.htm
Regards,
Raj
I am actually following this http://www.riyaz.net/sap/xipi-1n-multi-mapping-using-bpm/186/
My only issue is if I use the block in "ForEach" mode the scneario works ...but if i use it in "ParForEach" it does not work.
Even as per the documentation, parforeach -> sends parallel msg whereas Foreach -> send msgs in sequence....so that the next msg in the container is stopped if the msg before that is stuck
why cannot I use "parforeach" when working on http://www.riyaz.net/sap/xipi-1n-multi-mapping-using-bpm/186/
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
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.