2008 Feb 27 9:29 AM
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
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
2008 Feb 27 9:32 AM
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.
2008 Feb 27 9:36 AM
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.
2008 Feb 27 9:56 AM
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
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |