Skip to Content
author's profile photo Former Member
Former Member

BPM: Wait for response in asynch scenario

Hi,

I have implemented a BPM which is working (but not as it should). The scenario is R3 IDoc - XI - Legacy SOAP - XI - SAP, and the requirement from the legacy web service is that we cannot sent another Idoc to the web service until we get a response (ALEAUD) back. We also cannot use synchronous interfaces.

I thought that the BPM would solve this, the BPM contains a receive IDoc step, send Idoc (SOAP), receive ALEAUD response (SOAP) and send ALEAUD (IDOC), all steps asynchronous. But if I send two IDocs from R/3 they get both get sent to web service, even though the second Idoc should wait for a the ALEAUD from the web service before being sent. It seems that XI just creates a new instance of the BPM and runs the second IDoc in this one.

Is there a way to implement that when XI receives several IDocs from R/3, XI queues them up and sends them one by one and wait for a response before sending next one?

I have implemented correlation to relate the response to the message sent out.

Thanks a lot for your help!

-Kenneth

Message was edited by: Kenneth Eriksen

Message was edited by: Kenneth Eriksen

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Sep 29, 2006 at 08:58 PM

    Hi,

    To do EOIO in BPM, you can refer this-

    http://help.sap.com/saphelp_nw04/helpdata/en/43/65ce41ae343e2be10000000a1553f6/content.htm

    But ALEAUD is response from Idoc right ? Not from SOAP Service? from where you want to get the response ? From Webservice ? Elaborate the scenario.

    If you want to get the Response from Webservice and after that you need to send this response to SAP again, then you need to have Synch. Webservice scenario. ...

    Regards,

    Moorthy

    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.