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

help...

Former Member
0 Likes
485

what is the diff between synchronous processing and synchronous update.?

again what about asynchronous..... plzz let me know...

3 REPLIES 3
Read only

Former Member
0 Likes
463

HI,

1) In <b>synchronous update</b>, you do not submit update requests using CALL FUNCTION … IN UPDATE TASK . Instead you use the ABAP statement COMMIT WORK AND WAIT. When the update is finished, control passes back to the program. Synchronous update works in the same way as bundling update requests in a subroutine (PERFORM ON COMMIT). This kind of update is useful when you want to use both asynchronous and synchronous processing without having to program the bundles in two separate ways.

2) COMMIT WORK AND WAIT, This form specifies <b>synchronous processing.</b> The COMMITstatement waits for the end of processing. Control returns to your program after all high priority (V1) function modules have run successfully.

The AND WAIT form is convenient for switching old programs to synchronous processing without having to re-write the code. Functionally, using AND WAIT for update-task updates is just the same as dialog-task updates with PERFORM ON COMMIT

<b>For Synchronous versus Asynchronous:</b>

http://fuller.mit.edu/tech/sync_asynchronous.html

Regards

Sudheer

Read only

Former Member
0 Likes
463

hi

good

synchronous processing->

In synchronous update, you do not submit update requests using CALL FUNCTION … IN UPDATE TASK . Instead you use the ABAP statement COMMIT WORK AND WAIT. When the update is finished, control passes back to the program. Synchronous update works in the same way as bundling update requests in a subroutine (PERFORM ON COMMIT). This kind of update is useful when you want to use both asynchronous and synchronous processing without having to program the bundles in two separate ways

http://help.sap.com/saphelp_nw2004s/helpdata/en/41/7af4d4a79e11d1950f0000e82de14a/content.htm

Synchronous Update-.

In synchronous update, you do not submit update requests using CALL FUNCTION … IN UPDATE TASK . Instead you use the ABAP statement COMMIT WORK AND WAIT. When the update is finished, control passes back to the program. Synchronous update works in the same way as bundling update requests in a subroutine (PERFORM ON COMMIT). This kind of update is useful when you want to use both asynchronous and synchronous processing without having to program the bundles in two separate ways.

http://help.sap.com/saphelp_nw2004s/helpdata/en/41/7af4d4a79e11d1950f0000e82de14a/content.htm

THANKS

MRUTYUN^

Read only

Former Member
0 Likes
463

Hi Sanjay,

Have a look at this thread ..

Regards,

Santosh