cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Difference between Synchronous & ASynchronous.

Former Member
0 Likes
10,014

Hi All,

I few queries:

1) Difference between Synchronous & ASynchronous communication?

2) How should we decide whether it is a Sync or Async scenario?

Regards,

Sreedhar.

View Entire Topic
Former Member
0 Likes

Hi Sreedhar,

Apart from the points already added by experts, i would like to add something.....

Synchronous Communication:

In synchronous communication, thereu2019s nothing like scheduling. Sender application executes a u2018singleu2019 Function call, receiver system immediately processes this function call dispatching the response to sender and then it performs implicit database commit.

However this communication is based on assumption that receiver system is available when function call is made. If this is not the case, the communication is seriously disrupted.

Asynchronous Communication:

Here receiver system is not necessarily required to be active at the time of function call. Instead, the call is placed in outbound queue of the sender system and then this call is repeated at regular intervals until receiver system processes the call.

Also Error handling in Synchronous communication: error messages sent back to sender. In Asynchronous communication: errors made persistent.

So conclusion: Queues play central role in asynchronous communication. Further in asynchronous communication, the calls can be executed either by tRFC (Transactional RFC) or qRFC (Queue RFC).

If business requirement is such that your sender system need to know the successful posting of message in the receiver system then approach for synch communication else asynch communication.

Regds,

Pinangshuk.

Former Member
0 Likes

Hi,

Thank you very much for the information given by you it has resolved my problem to the maximum extent but there is a small query that:

In Sender System if use Outbound Asynchronous way of communication then are we bound to use in the Receiver System Inbound Synchronous or would it be Inbound Asynchronous or depending on the requirement?

prateek
Active Contributor
0 Likes

Its depending upon requirement. You may use any type of interface at inbound and outbound with any combination.

Regards,

Prateek