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

doubt in bdc- asynchronous/sync

Former Member
0 Likes
511

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)

4 REPLIES 4
Read only

Former Member
0 Likes
486

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

Read only

0 Likes
486

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)

Read only

0 Likes
486

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.

Read only

0 Likes
486

hi sheshu,

what is transaction level. where exactly data is stored tempararily, b4 going to db level in asynch.