Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

hai

Former Member
0 Likes
987

what is the difference between synchronus updating and asynchronus updating

7 REPLIES 7
Read only

Former Member
0 Likes
961

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

Read only

p291102
Active Contributor
0 Likes
961

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

Read only

Former Member
0 Likes
961

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

Read only

Former Member
0 Likes
961

what are the types of windows

Read only

Former Member
0 Likes
961

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

Read only

Former Member
0 Likes
961

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.