cancel
Showing results for 
Search instead for 
Did you mean: 

Sync-Async Bridge for IDOC_AAE Receiver

Former Member
0 Kudos

Hi Experts,

Our Scenario is SOAP(Sync) to IDOC(Async). How to implement Sync-Async bridge without BPM in SAP PO.

For FILE/JMS, we can use message ID as correlation ID to achieve Sync-Async communication. In case of IDOC as receiver how to configure the communication.Please guide.

Thanks,

Nagashree

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Instead of using a complicated means, how about using the SOAP for IDoc Webservice where the IDoc can be sent to SAP using a Webservice so the end to end scenario is Synchronous? You will also get the Idoc number from SAP in the response. Check this blog : 

Former Member
0 Kudos

Hi Bhavesh,

       Thanks for your response. As per our requirement customer will not allow to use the SOAP as receiver. We need to use as IDOC_AAE channel as receiver to post the message and get the acknowledgement IDOC message as response back.

  Here our concern is how to correlate the IDOC asynchronous Receiver and Sender channel. If receiver as File / JMS we can achieve this correlation setting to enable the SYNC / ASYN bridge.

So please confirm if any possibility when IDOC as receiver.

Thanks

Nagashree

bhavesh_kantilal
Active Contributor
0 Kudos

Hello,

You will still send the IDoc to SAP but instead of using IDOC_AAE , you can use the SOAP Adapter as described in the blog.

Using the SOAP Adapter and sending the IDoc to SAP using SOAP will mean you end to end flow is simpler and synchronous as you want it until the Acknowledgement has a Business Acknowledgement data and not technical.

For the IDOC_AAE mode, I havent used this and hence am not too sure!

Regards

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

According to Blog, checked IDoc service in SICF and its running, but getting Internal Server error on "Test Service ".

Can you please share if any other prerequisites have to be maintained in ECC side.

Thanks

Nagashree

bhavesh_kantilal
Active Contributor
0 Kudos

Hello, You can ignore the error when you do a Test Service. The reason being the Test Service will perform a HTTP  GET / Post with an empty payload and hence this gets rejected.

You can use SOAP UI and trigger the Idoc XML and this will work..

bhavesh_kantilal
Active Contributor
0 Kudos
  • So, the URL you trigger the SOAP Adapter will be :  http://host:port/sap/bc/srt/idoc?sap-client=XXX  where, XXX is the Client Number, Host is the SAP Host, and Port is your SMICM HTTP Port.
  • Make sure your payload has a namespace as highlighted below.
  • The Response will be as per screenshot below.

  • The IDoc will be visible in WE02 as a normal IDoc.

  • The Partner Details will be taken from EDI_DC40 in your Idoc XML.

Regards,

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

Thanks for screenshots and explanation, my SoapUI testing was successful!

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Nagashree,

I am glad to have helped. I am wondering why this thread has been marked as assumed answered though considering that you have received a solution that indeed does what is required.

The quality of the forum content and search will only work if not only those who post answers provide insightful answers but also on those who raise questions who make sure that there threads are marked with  right statuses and updates when they close the thread.

If you mark this as assumed answered you also do need to  provide a solution on what worked or mark the answer that was the actual solution as the correct answer so future searches are more helpful to others who search!

Regards

Bhavesh

Former Member
0 Kudos

Hi Bhavesh!

Our client's requirement is to use IDOC_AAE as receiver and achieve Sync-Async bridge.

we've proposed this approach, but still they are fixed to IDOC as receiver channel.If IDOC_AAE is not possible, they want some confirmation in terms of SAP notes etc.

Since SOAP approach worked, marked it as Correct answer.

bhavesh_kantilal
Active Contributor
0 Kudos

Fair enough it makes sense.

One question - Have you look at ALEAUD IDoc? You can treat the ALEAUD IDoc as a Request Message and then process the same. Will try this and revert myself if I get an answer to how this correlation with ALEAUD can be done!

Regards

Bhavesh

former_member182412
Active Contributor
0 Kudos

Hi Nagashree,

Can you able to send the original request message ID in one of the field in the sender IDoc and return the same message ID in ALEAUD IDoc then you can set this message ID as correlation ID in sender IDoc channel using adapter module and send this message to original sender.

Regards,

Praveen.

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos

Hello Nagashree,

For the response how and which IDOC is getting triggered?is that an ack idoc or something else?

Former Member
0 Kudos

Hello Raghuraman,

From webservice call, we are creating IDOC in PO and posting it to ECC. Ack IDOC will get triggered in return, we should send this back to webservice, since it will be awaiting a response.

former_member186851
Active Contributor