cancel
Showing results for 
Search instead for 
Did you mean: 

bpm

Former Member
0 Kudos

hi xi experts,

can u explan what is meant by asyn/syn bridge in bpm and when it is used in real time while doing scenario.

Accepted Solutions (0)

Answers (8)

Answers (8)

samiullah_qureshi
Active Contributor
0 Kudos

Hi

There is isome real time scenarios where you have to receive data from asynchronous sender and you have to call synchronus receiver by using that data, in such situation, by using BPM you can easily implement it.

At runtime BPM behaves like a service. And communicate asynchronously with one system and synchronusly with other.

PS:Reward points if find helpful

Regards

Sami

Former Member
0 Kudos

Hi,

BPM is an additional advantage of Netweaver XI. it provides features like Sync-Async Bridge, Async-Sync Bridge, stateful msgt processing.....so on.

Sync-Async Bridge acts as a bridge between a synchronous Business system and Asynchronous business system.

forex: if u r communicating with a synchronous RFC to a File system(always asynchronous, which is not able to send any response to synchronous RFC Interface).

In this kind of scenarios BPM Sync-Async Bridge enables communication between a Synchronous RFC to Asynchronous File system or vice versa..

Sync/async communication enables a synchronous sender system to communicate with a receiver system that cannot process synchronous messages

Plz go thru the following:

/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM

Asyn - Synch BPM - /people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19

http://help.sap.com/saphelp_nw70/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm

http://help.sap.com/saphelp_nw70/helpdata/en/43/65d4dab39b0398e10000000a1553f6/content.htm

Example on Sync/Async communication:

http://help.sap.com/saphelp_nw04s/helpdata/en/43/65d4dab39b0398e10000000a1553f6/frameset.htm

Reward with points in case you are satisfied.

Thanks,

Rajani.

former_member556603
Active Contributor
0 Kudos

Hi Vijaya,

Some more Explanation..

Defining Sync/Async Communication

Use

To enable the communication between a synchronously calling business system (synchronous outbound interface) and an asynchronously called business system (asynchronous inbound and outbound interface), you can define a sync/async bridge in an integration process. You can only define one sync/async bridge for each integration process.

You can also achieve sync/async communication by using the JMS adapter. If you do not have any particular demand for monitoring or for troubleshooting, SAP recommends that you use sync/async communication in the JMS adapter instead. The advantage of using the JMS adapter over synch/async communication using an integration process is a significant increase in system performance.

See: Async/Sync and Sync/Async Bridge in JMS Adapter

Structure of a Sync/Async Bridge

The following table outlines the minimum components of a sync/async bridge:

Step

Use

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, for example, the response from the asynchronously called business system to the synchronously calling business system

Performance Considerations

If you insert additional steps in the sync/async bridge, the synchronous time is increased correspondingly. If the time that elapses before the sync/async bridge is closed is too long, this can lead to problems.

Fault Messages

It is currently not possible to send fault messages back to the synchronously calling business system. If you want to return error statuses to the synchronously calling business system, you can define a field for an error indicator in the message that is sent to the synchronous interface.

Procedure

Define a Receive Step to Open the Sync/Async Bridge

1. Insert the receive step to open the sync/async bridge in the integration process.

You can do this at the following points:

? Directly after the start marker

? As the first step in a block if the block is the first step of the integration process and if it has the mode Standard

? As the first step in a fork. If the fork already contains some starting receive steps, the Start Process indicator is automatically reset for these steps.

2. In the object area, define the container element that receives the synchronously sent message.

Specify an asynchronous, abstract interface in the container element. The message must correspond to the request message of the synchronous interface used to receive the message.

3. Select this container element in the Message field in the properties area of the receive step.

4. In the Mode field, select Open S/A Bridge.

5. Select the Start Process field.

The receive step to open the sync/async bridge must start the integration process. There must be no other receive steps to start the integration process.

6. Specify the synchronous interface for receiving the message from the synchronously calling business system. The message type of the message to be received and the request message from the synchronous interface must be identical.

Define an Asynchronous Send Step

7. Insert a send step that sends the received message asynchronously to the asynchronously called business system.

See also: Sending Messages from Integration Processes Asynchronously

Define a Receive Step

8. Insert a receive step that receives the message from the asynchronously called business system.

Define a Send Step to Close the Sync/Async Bridge

9. Insert the send step at the required position in the process definition.

Do not insert the send step in a loop, block, or fork.

10. In the Mode field, select Close S/A Bridge.

The integration process must not contain any further send steps to close a sync/async bridge.

11. In the Opened By field, specify the receive step that opened the sync/async bridge.

12. In the message field, specify the message that is sent to the synchronous interface.

This message must be of the same type as the response message from the synchronous interface that you specified in the opening receive step.

Example

You can find an example of a sync/async bridge in the Integration Repository under SAP Basis à SAP Basis 6.40, namespace http://sap.com/xi/XI/System/Patterns under BpmPatternSyncAsyncBridge.

For a description of the example, see Example: Sync/Async Communication.

Thanks,

Satya Kumar

Reward points if it is useful..

vijay_b4
Active Contributor
0 Kudos

This component is a resource adapter based on the Java Database Connectivity (JDBC) standard to enable you to connect to databases. It provides functions for creating and managing DataSource objects, as well as database connection pooling.

You can also achieve sync/async communication by using the JMS adapter. If you do not have any particular demand for monitoring or for troubleshooting, SAP recommends that you use sync/async communication in the JMS adapter instead. The advantage of using the JMS adapter over synch/async communication using an integration process is a significant increase in system performance.

See: Async/Sync and Sync/Async Bridge in JMS Adapter

Reward points if helpful....

Regards

Vani.

former_member556603
Active Contributor
0 Kudos

Hi Vijaya,

Go through this links,

/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM

/people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM

/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM

Reward if it is useful..

Thanks,

Satya Kumar

former_member193376
Active Contributor
0 Kudos

Hi Vijaya

The sender of a message uses the attribute Quality of Service (QoS) to determine how a message is delivered. The following types of quality of service are supported:

BE (Best Effort):

The message is sent synchronously. The sender waits for a response before it continues processing.

EO (Exactly Once):

The message is sent asynchronously. The sender does not wait for a response. The Integration Engine and the Adapter Engine guarantee that the message is sent and processed exactly once.

EOIO (Exactly Once In Order):

Messages are delivered with the same queue names (supplied by the application) in the same sequence that they were sent from the sender system. Message processing is asynchronous in this case.

In the case of quality of service BE an error occurs if more than one receiver is determined for a message. In the case of delivery types EO and EOIO, the message is copied correspondingly and sent to the individual receivers.

IN sync-async bridge in BPM QOS will be changed from BE to EO .

Also go through the blogs, very helpful:

/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi -

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

Thanks

Saiyog Gonsalves

(reward points if useful)

former_member859847
Active Contributor
0 Kudos

Hi,

Please check all patterns avialble under SAP_Basis component with the folowing name space.

http://sap.com/xi/XI/System/Patterns.

warm regards

mahesh.

Former Member
0 Kudos

Hi,

to enable the communication between a synchronously calling business system (synchronous outbound interface) and an asynchronously called business system (asynchronous inbound and outbound interface), you can define a sync/async bridge in an integration process.

http://help.sap.com/saphelp_nw04/helpdata/en/43/65d4dab39b0398e10000000a1553f6/frameset.htm

Regards

Patrick