‎2007 Jun 14 4:59 AM
hi,
pls differentiate Asynchronous and Synchronous and which one is better thank u
‎2007 Jun 14 5:00 AM
‎2007 Jun 14 5:17 AM
‎2007 Jun 14 5:06 AM
Hi
PerfomanceWise always Asynchronous-Process is better. Hope you know that it will not next Work-process to complete and before itself Commit work will Update the databse. But Synchronous is more stable it will wait for the next work-process to complete then only the Commit work will take place. So the process is always slow.
hope you understood.
Reward All Helpfull Answers......
‎2007 Jun 14 5:06 AM
A 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.
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
one simple example : You are creating sales order from file and also you want to update header text of sales order.
when you want to update sales order header text,you need to use save_text function module ,here you need to pass sales order number.
when you use call transaction update 'A', data will update transaction level and it goes to the next record,here it will not wait for database .
when you use call transaction update 'S',data will update transaction level and it will update database then it goes next record.
if you want to update header text,then you need to use sync update
database commit -
comitt work - it will update data in database sucessfully
roll back - it will not update in database.
Reward Points if it is helpful
Thanks
Seshu