on 11-21-2006 8:04 AM
Hi,
The Design of my BPM is......
Fork (necessary branches= 1)
====
Idoc0>Recieve0->Transformation0
Idoc1>Recieve1>Transformation1
After Fork
======
Wait Step (1Min)
Transformation step2 (MultiMapping)
Send Step0
Send Step1
I have to collect the two Abstract Interfaces from the Transformation Step 0 & 1 and feed it to Transformation2.
Now I have two Cases.
=================
1. If Idoc0 comes the process should start and runs thru all the transformations and works fine.
and
2.If Idoc0 & Idoc1 comes both these idocs are processed seperately by the fork (as the necessary branches =1) and The Transformation2 recieves these messages one by one not together even though i have put a wait step....so ultimately my message mapping fails when both these idocs are generated. it only works when only one idoc is generated.
is there any way i could make this Multimapping work in both Cases.
1.If only one Idoc is generated.
2.if both idocs are generated.
Your inputs on this would be very helpfull.
Hi,
I am unable to use the Switch Step in my BPM at the begining of my Process.
It says "No reciever to Start Process".
My current Design is as follows....
Start
===
Switch
Branch1
Fork>2 recieve steps>Two transformation step
Branch2>Recieve Step>Transformaton Step
Branch 3-->Dummy.
Outside switch
===========
Transformation step (MultiMapping n:m)
Send step1
Send Step2
I guess this is notthe right design please help me wherever i am wrong.Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sudheer,
I am a bit confused with my Switch step.here is how i am trying to use it please correct me if i am wrong.
Start
====
Fork
Recieve0-->transformation0
Recieve1--->transformation1
Outside Fork
==========
Wait Step
Switch Step (no Of Branches 3)
transformation2---Send0 (If Case 1)
transformation3---Send1 (if Case 2)
else
Throw Exception
Please let me know if this design has any errors, your suggestion is awaited. Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ya Sudheer.
As u know i have two conditions
1. I can recieve IDOC0 & IDOC1
2. Ican recieve Only IDOC0
how would i mention this condition in a switch step, to branch depending on the condition met.
Kindly let me know
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Thanks for the replies.
I have not used a Switch step till now Could you tell me how should i proceed,
However i see that in the condition Editor of the switch i can mention
IDOC0 EX
AND
IDOC1 EX
Then Go to Branch 1
else
IDOC0 EX
Then go to branch 2.
So now if IDOC0 & IDOC2 are recieved both the conditions are satisfied and both the mappings are executed which is not desirable....is there any other way i can mention the condition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I didnt get what do you mean by both the conditions are satisfied....Please be clear.
Refer this link fo r how to work with switch step.
http://help.sap.com/saphelp_nw2004s/helpdata/en/6a/db283fd0ca8443e10000000a114084/content.htm
Regards,
Sudheer.
So do u think The Transformation will wait untill it recieves Both Idocs and then process, and when only one idoc is recieved it will wait for say 'n' sec and perform the transformation with only one Idoc...!!! Is this how it should work...?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A Fork with necessary branches 1, then a WAIT step for 'n' seconds would actually receive 1 idoc and then wait for 'n' seconds and then execute the Transformation with either one message or both messages.
This can be achieved ONLY IF the cardinality of messages in Message Mapping of the transformation step is set to 0..1 and not 1..1
Hi,
Your requirement cannot be achieved with fork alone because fork will wait until the end condition is met. This can be achieved with "switch". In one branch you specify only one message and in the other branch you specify bothe messages. So your BPM will be executed irrrespective of one idoc or two idocs.
Regards,
Sudheer.
hey thanks for the reply again,
However the condition is
If two idocs are recieved the Multimap it,
Else
If Only only Idoc0 is recieved still map it.....how is it possible is there any other way to do it... please help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
The wait step is after fork step so it wont come together as it is applicable to messages coming from both transformation0 and transformation1. Make the number of necessary branches as 2 then only both messages come together.
Or if you know the time difference between two Idocs then you can use wait step for the first step alone.
Thanks and Regards,
Vineetha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.