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 Update Type

Former Member
0 Likes
1,186

Hi All,

What is the difference between update BDC update type Local and Asynchronous?

Thank you in Advance,

Danny

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
945

BDC has two types of update modes. They are ASYNCHRONOUS and SYNCHRONOUS updates.

Asynchronous Update:

In this update it will update transaction level and it goes to next record. Later it updates database level.

Synchronous Update:

In this update it will update transaction level and its goes database level. Then it is goes to the next record.

CALL TRANSACTION method of BDC is Asynchronous and Synchronous Update. Synchronous and Asynchronous database updating is possible with this method.

SESSION method of BDC is Synchronous update. Means no transaction is started until the previous transaction has been written to the database.

Reward points if useful.

4 REPLIES 4
Read only

former_member188829
Active Contributor
0 Likes
945

Hi,

Check this thread..

Read only

Former Member
0 Likes
946

BDC has two types of update modes. They are ASYNCHRONOUS and SYNCHRONOUS updates.

Asynchronous Update:

In this update it will update transaction level and it goes to next record. Later it updates database level.

Synchronous Update:

In this update it will update transaction level and its goes database level. Then it is goes to the next record.

CALL TRANSACTION method of BDC is Asynchronous and Synchronous Update. Synchronous and Asynchronous database updating is possible with this method.

SESSION method of BDC is Synchronous update. Means no transaction is started until the previous transaction has been written to the database.

Reward points if useful.

Read only

Former Member
0 Likes
945

HI,

SYNCHRONOUES: when ever u execute the transaction the flat file record can be filled in database record by record while in the middle there is an error comes entire transaction is stopped.There is no updation of Database.

ASYNCHRONOUS: when ever u execute the transaction the flat file recored can be filled in database record by record while in the middle there is an error comes, the records upto to now can be processed can be updated in the database and the transaction is stopped.

DIFFERENCE BT SESSION AND CALL TRANSACTION.

CALL TRANSACTION:

1. only synchronous updation

2. errors can handled

3. faster

4. less amount of data

5. updation takes place during program execution .

6.At a time we can process only one TRANSACTION.

SESSION METHOD:

1. Only synchronous updation.

2. Error log is created.

3. slower.

4. Huge Amount of data is Transfer.

5. Updation takes place once the session being created

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 Points if found helpfull..

Cheers,

Chandra Sekhar.

Read only

Former Member
0 Likes
945

Hi,

Please refer the link,

regards,

Omkar.