Hi. i'm fighting with BPM ...
My BPM has been defined like this ...
First, the XML file is sent to the BPM.
First step, is an async abstract interface (the one that receive the outbound message).
Then, this message goes to a abstract sync sender (that makes the mapping to a BAPI and go to R3 to check data).
The answer message is now on a abstract async container.
Next step i want to do is check this answer. If the bapi returns an Y, then i have to continue doing more things.
If not, the BPM must stop and inform the monitor that the BPM has been stoped because the check in the R3 system wasn't succesful.
If it was succesful, the BPM must continue checking data of R3 (the same as first check).
I don't know how to do this (if i have to make a switch and how it must work). If message passes that swith, how do i have to continue the process (sending again the XML file to R3). the answer of this new check, if is correct i have to make an IDOC. Else, the process must stop.
I have done only the check of first step (i saw it in a blog) but i do't know hot to nest it with second check.
Thanks.