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

syn -asynchronous

Former Member
0 Likes
449

hi frds plz give me

to this answer

What is synchronous & asynchronous mode? Which is possible in Call transaction?

plz respond to my mail id

sudhakarbabu786@rediffmail.com

3 REPLIES 3
Read only

Former Member
0 Likes
424

Hi

Synchronous

DO.

………

PERFORM FILL_BDC_TAB.

CALL TRANSACTION ‘FK02’

USING BDC_TAB

MODE ‘N’

UPDATE ‘S’.

IF SY-SUBRC < > 0.

WRITE: /‘ERROR’.

ENDIF.

ENDDO.

With synchronous updating, we can check SY-SUBRC to determine the success of the transaction and the actual update to the database.

Asynchronous

DO.

………

PERFORM FILL_BDC_TAB.

CALL TRANSACTION ‘FK02’

USING BDC_TAB

MODE ‘N’

UPDATE ‘A’.

IF SY-SUBRC < > 0.

WRITE: /‘ERROR’.

ENDIF.

ENDDO.

With asynchronous updating, we can check SY-SUBRC to determine the success of the transaction only, not the actual update to the database.

Read only

Former Member
0 Likes
424

Hi

synchronous -


for example if there is a record which we r updating in a table ..then the related tables all are updated until then the next step is not processed.

whereas in aynchronous a record is updated and simultaneously next step is processed.

Read only

Former Member
0 Likes
424

Hi,

Synchronous update in which if you change data of one table then all the related Tables gets updated. And sy-subrc is returned i.e., sy-subrc is returned for once and all.

Asynchronous update, when you change data of one table, the sy-subrc is returned. And then updating of other affected tables takes place. So if system fails to update other tables, still sy-subrc returned is 0 (i.e., when first table gets updated).

In call transaction will prefer Synchronous.

Regards,

Bhaskar