on ‎2009 Aug 10 10:10 AM
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.
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
| User | Count |
|---|---|
| 7 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.