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

BDC

Former Member
0 Likes
341

Hi Freinds,

what is mean by SYNCHRONUS UPDATE AND ASYNCHRONUS UPDATE

in BDC METHODS..can any one explain clearly with example.

Regards,

Vijay.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
321

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 if useful

regards,

Anji

2 REPLIES 2
Read only

Former Member
0 Likes
322

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 if useful

regards,

Anji

Read only

Former Member
0 Likes
321

HI,

<b>A synchronous</b> Workflow task must be executed before control is passed to the next step. It is used for tasks that do not involve required updates, because once the workitem is executed, control is passed on to the next step without checking the success or failure of any update that might or might not have taken place.

<b>An asynchronous</b> Workflow task should be used when a successful update is required prior to control being passed to the next step. The task does not end when it is executed. The task ends when a terminating event is received. The terminating event requires a COMMIT WORK before it is triggered

http://fuller.mit.edu/tech/sync_asynchronous.html

Regards

Sudheer

Regards

Sudheer