‎2007 May 29 12:19 PM
hi there,
for example if i called transaction in asynchronous mode. when first table in db is updated it will give success..right?
my doubt is ..after getting success(sy-subrc = 0), there were some tables which were not updated. what would be the problem. (it's interview Q)
‎2007 May 29 12:22 PM
synchronous Update - It will update transaction level and it goes database level.
then it goes next record.
Asynchronous Update : it will update transaction level and lt goes next record.
later it updates database level.
Synchronous update is slow processing
Asynchronous update is speed processing.
One example :
you want to create sales order and then you want create item text of sales order.
you are working on Call transaction ,
if you use synchronous update,first it will create data at sales order transaction and immediately it updates database level.
now you need sales order number to create sales order item text.
you get the sales order number by using bdcmsgcoll structure and this number you use in SAVE_TEXT Function module.
when you use asynchronous update,it creates record at sales order transaction and it goes next record,so you will not get order number to pass save_text function module.
Reward Points if it is helpful
Thanks
Seshu
‎2007 May 29 12:34 PM
hi seshu,
thanks.
there were some tables which were still not updated,(for example i did it last week, i checked tables today). what would be the problem?
(i dont know weather it happens or not..but sombdy asked me the Q in interview)
‎2007 May 29 12:37 PM
I will tell you ,when you update the data at transaction level and it should update the data with respect to corresponding tables .. when you use asyn or syn ,all are sme but only thing is Syn update is it update the record transaction level and it goes db level and it will go next record.
where as Asyn update ,it updates transaction level and it goes next record.but it updates DB Level later.
‎2007 May 30 7:04 AM
hi sheshu,
what is transaction level. where exactly data is stored tempararily, b4 going to db level in asynch.