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

difference

Former Member
0 Likes
824

hi friends,

can any one just tell me the major difference between synchronous n asynchronous proces.

with regards,

madhuri.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
794

Hi Madhuri,

In batch session interface: - Asynchronous processing means Transfers data for multiple transactions - Synchronous database update means during processing, no transaction is started until the previous transaction has been written to the database.

In CALL TRANSACTION: - Synchronous processing means Transfers data for a single transaction. Synchronous and asynchronous database updating both possible The program specifies which kind of updating is desired. Separate LUW for the transaction The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.

Regards,

Priyanka.

6 REPLIES 6
Read only

Former Member
0 Likes
794

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

regards,

Anji

Read only

Former Member
0 Likes
795

Hi Madhuri,

In batch session interface: - Asynchronous processing means Transfers data for multiple transactions - Synchronous database update means during processing, no transaction is started until the previous transaction has been written to the database.

In CALL TRANSACTION: - Synchronous processing means Transfers data for a single transaction. Synchronous and asynchronous database updating both possible The program specifies which kind of updating is desired. Separate LUW for the transaction The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.

Regards,

Priyanka.

Read only

Former Member
0 Likes
794

hi,

In a synchronous process both the communicating systems have to be connected to each other throughtout the interaction(or data transfer). In asynchronous process this is not the case everytime a message or data is sent the dest. addr is sent along woth it.

regards,

Navneeth.K

Read only

Former Member
0 Likes
794

Hi,

The major diff b/w synchronous and asynchronous is the database updated directly in synchronous,and not updated in asynchronous mode.

Thanks

P.SRIKANTH

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
794

Hi

The Update task is divided into 2 work processes 1. Update work process

2. commit process.

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.

Regards,

Sreeram

Read only

Former Member
0 Likes
794

madhuri,

In batch session interface: - Asynchronous processing means Transfers data for multiple transactions - Synchronous database update means during processing, no transaction is started until the previous transaction has been written to the database.

In CALL TRANSACTION: - Synchronous processing means Transfers data for a single transaction. Synchronous and asynchronous database updating both possible The program specifies which kind of updating is desired. Separate LUW for the transaction The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.

For other information:

Don't forget to reward if useful...