cancel
Showing results for 
Search instead for 
Did you mean: 

Sync-Async Bridge

Former Member
0 Kudos

Hello Gurus,

I have a scenario where I receive an message and need to get a response. So I have created a Sync-Async Bridge. I have defined everything but I am getting an error saying:

The message type of the message to be received and the request message from the synchronous interface must be identical.

The Request message looks like something below (without all elements)

OrderRequest:

- ControllArea

- Orderheader

- OrderLines

So OrderRequest contains a node ControllArea, Orderheader and OrderLines. The response message looks like:

OrderResponse:

- ControllArea

Is this why I get my error???

Best regards,

Guido

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Check this blog it will be clear

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken]

R u using bpm >?

Cheers

<b>*RAJ*

*REWARD POINTS IF FOUND USEFULL*</b>

Answers (2)

Answers (2)

Former Member
0 Kudos

Still not clear to me. What do I need to check and why?

In order to do it I need to do the following right:

Receive step to open the sync/async bridge

Receives the message request from the synchronously calling business system and opens the sync/async bridge

Asynchronous send step

Sends the received message asynchronously to the asynchronously called business system

Receive step

Receives the message from the asynchronously called business system

Send step to close the sync/async bridge

Sends the response from the asynchronously called business system to the synchronously calling business system

So if I have done this right I do not get any error like: The message type of the message to be received and the request message from the synchronous interface must be identical.

Shabarish_Nair
Active Contributor
0 Kudos

you can base this as your reference - http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm

also;

You can find the examples in the Integration Repository under SAP Basis ® SAP Basis 6.40, namespace http://sap.com/xi/XI/System/Patterns under BpmPatternSyncAsyncBridge

Former Member
0 Kudos

Hey,

Check your interfaces in the BPM when you are sening the response message (order response) back then it has to be sent to a send step with same interface (order reponse)

EX:

File1 asynch, rfc synch , File2 assynch

File1-> Req.

RCC -> BAPI *contains both req, resp..

File2 -> Resp.

In BPM

Rec step -> req mode async

send1 step-> req,resp mode Synch.

send2 step-> resp.

ex: File1 -> Rec ->send1 <--synchronous-> Rfc -> send2 -> File2

Cheers

<b>*RAJ*

*REWARD POINTS IF FOUND USEFULL*</b>