‎2007 Apr 23 6:09 AM
hi friends,
can any one just tell me the major difference between synchronous n asynchronous proces.
with regards,
madhuri.
‎2007 Apr 23 6:12 AM
Hi Madhuri,
In batch session interface: - Asynchronous processing means Transfers data for multiple transactions - Synchronous database update means during processing, no transaction is started until the previous transaction has been written to the database.
In CALL TRANSACTION: - Synchronous processing means Transfers data for a single transaction. Synchronous and asynchronous database updating both possible The program specifies which kind of updating is desired. Separate LUW for the transaction The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.
Regards,
Priyanka.
‎2007 Apr 23 6:12 AM
Hi,
Asynchronous Update The program does not wait for the work process to finish the update. Commit Work.
Synchronous Update The program wait for the work process to finish the update. Commit Work and Wait.
Asynchronous updating. In this mode, the called transaction does not wait for any updates it produces to be completed. It simply passes the updates to the SAP update service. Asynchronous processing therefore usually results in faster execution of your data transfer program.
Asynchronous processing is NOT recommended for processing any larger amount of data. This is because the called transaction receives no completion message from the update module in asynchronous updating. The calling data transfer program, in turn, cannot determine whether a called transaction ended with a successful update of the database or not.
If you use asynchronous updating, then you will need to use the update management facility (Transaction SM12) to check whether updates have been terminated abnormally during session processing. Error analysis and recovery is less convenient than with synchronous updating.
Synchronous updating. In this mode, the called transaction waits for any updates that it produces to be completed. Execution is slower than with asynchronous updating because called transactions wait for updating to be completed. However, the called transaction is able to return any update error message that occurs to your program. It is much easier for you to analyze and recover from errors.
reward points if useful
regards,
Anji
‎2007 Apr 23 6:12 AM
Hi Madhuri,
In batch session interface: - Asynchronous processing means Transfers data for multiple transactions - Synchronous database update means during processing, no transaction is started until the previous transaction has been written to the database.
In CALL TRANSACTION: - Synchronous processing means Transfers data for a single transaction. Synchronous and asynchronous database updating both possible The program specifies which kind of updating is desired. Separate LUW for the transaction The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.
Regards,
Priyanka.
‎2007 Apr 23 6:12 AM
hi,
In a synchronous process both the communicating systems have to be connected to each other throughtout the interaction(or data transfer). In asynchronous process this is not the case everytime a message or data is sent the dest. addr is sent along woth it.
regards,
Navneeth.K
‎2007 Apr 23 6:15 AM
Hi,
The major diff b/w synchronous and asynchronous is the database updated directly in synchronous,and not updated in asynchronous mode.
Thanks
P.SRIKANTH
‎2007 Apr 23 6:15 AM
Hi
The Update task is divided into 2 work processes 1. Update work process
2. commit process.
Asynchronous Update The program does not wait for the work process to finish the update. Commit Work.
Synchronous Update The program wait for the work process to finish the update. Commit Work and Wait.
Regards,
Sreeram
‎2007 Apr 23 6:17 AM
madhuri,
In batch session interface: - Asynchronous processing means Transfers data for multiple transactions - Synchronous database update means during processing, no transaction is started until the previous transaction has been written to the database.
In CALL TRANSACTION: - Synchronous processing means Transfers data for a single transaction. Synchronous and asynchronous database updating both possible The program specifies which kind of updating is desired. Separate LUW for the transaction The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.
For other information:
Don't forget to reward if useful...