Skip to Content

Is this correct in my BPM?

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.


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Oct 21, 2005 at 11:11 AM

    hi Ingo,

    >>>>I don't know how to do this (if i have to make a switch and how it must work).

    yes you must use this switch step

    inside this step you define the field (and it's value)

    from the message (bapi.response) that the switch step

    watches it....if it sees a correct value then if goes to the

    success branch otherwise the second branch gets executed

    inside thse second branch you can just send a mail

    (this alert) and nothing else (you don't have to send xml

    message if you don't want to continue processing)



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.