‎2007 Feb 01 9:57 AM
what is the difference between synchronus updating and asynchronus updating
‎2007 Feb 01 9:59 AM
please check yhis
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4cba79e11d1950f0000e82de14a/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4cba79e11d1950f0000e82de14a/content.htm</a>
regards
shiba dutta
‎2007 Feb 01 10:00 AM
HI,
Synchrnonus updating means one by one updation.
Asynchrnous updating means totally 100 records means at a time updation. Compare to synchronous asynchrnous updation is very fast.
Thanks,
Shankar
‎2007 Feb 01 10:00 AM
HI Goutham,
Are you referring to Call transaction statement?
If yes, In Asynchrounous Update, the system when executing the call transaction statement doesn't wait for the transaction program to update all the tables and quickly return to the program which called the transaction.
In Synchrnous update, the call transaction statement will complete only after all the tables are updated in the transaction that has been called.
Regards,
Ravi
‎2007 Feb 01 10:01 AM
‎2007 Feb 01 10:04 AM
‎2007 Feb 01 10:05 AM
Hi Goutham,
In synchronous update, you do not submit update requests using CALL FUNCTION IN UPDATE TASK . Instead you use the ABAP statement COMMIT WORK AND WAIT. When the update is finished, control passes back to the program where as in asynchronous update, the update work processes are responsible for updating the database. If, in a dialog work process, the function modules stored in interim storage through CALL FUNCTION ... IN UPDATE TASK are released for processing by means of the ABAP statement COMMIT WORK, the dialog work process will not wait for the update process to finish.
Thanks,
Vinay
‎2007 Feb 01 10:10 AM
Hi Goutham,
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.
S 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.
Regards,
Priyanka.