on 04-10-2007 7:33 AM
Hi everybody,
we got a loop block in BMP. In the loop block we catch mapping errors by using an exception branch.
What we can see is that when an exception is thrown the process steps into the exception branch an than is leaving the loop block!! So the remaining single messages are not processed!
Is there a workaround?
Regards Mario
Hi Mario,
See the below link , some thing related to this , check
Reconciliation of Messages in BPM - /people/krishna.moorthyp/blog/2006/04/08/reconciliation-of-messages-in-bpm
Can you please let me know , if it is not related.
Regards
Chilla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mario,
I had seen a similar question being posted long time back once on the forum. Have not been able to locate the thread , but, if i remember that corrct , the conclusion in that thread was that this is how the Loop plus block plus exception handler works in the BPM.
As a workaround, the loop counter was made a process variable and if the exception block was triggered then insde the exception block once again the loop was started with the correspodning counter .
Regards
Bhavesh
Hi Bhavesh,
what do you think about my following idea:
I make two BPMs
1) SPLIT-BPM:
1.1) Receives the <multiline>-messages and makes the message-split
1.2) Sends the single message to second, called: SINGLE-BPM
2.2) SINGLE-BPM makes the remaining processing including error handling
--> So, if an error is thrown this happens in SINGLE-BPM. The exception branches gives response message back to SPLIT-BPM --> SPLIT-BPM will <b>not</b> terminate
Regards Mario
Mario,
Excellent logic If i had posted this question I would have given you a ten on ten.
As long as there is no correaltion between the split messages I dont think there will be any issues at all. Only issue -
What happens if inside the loop in the Send Step ( i.e when the message is being sent from BPM1 to BPM 2 ) the send step errors out? We are keft with the same old problem..! But, I would still ask you to go ahead with this solution of yours , if nobody can provide a direct solution to your actual probelm.
Am watching this thread and so hopefully someone does have the solution to this problem actually.
Regards
Bhavesh
Hi Bhavesh,
thank you for the compliment
<What happens if inside the loop in the Send Step ( i.e when the message is being sent from BPM1 to BPM 2 ) the send step errors out? >
--> I guess this error will never occur as BPM an ID reside on the ABAP stack.
We will now evaluate my idea.
Regards Mario
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.