Skip to Content
author's profile photo
Former Member

synchronous - Asynchronous

pls clear the following confusion:

in BDC terminology: is it correct that--

synchronous means - the present call is not processed until the previous one is processed. Asynchronous is opposite to this.

in case of database update, what does they mean?

In case of RFC, what does these two terms mean?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    author's profile photo
    Former Member
    Jun 16, 2008 at 06:45 AM

    hi,

    synchronous mode

    In synchronous update, you do not submit an update request 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.

    Asynchronous mode

    A typical SAP system installation contains dialog work processes and at least one update work process. The update work processes are responsible for updating the database. If, in a dialog work process, the function modules stored in interim storage through CALL FUNCTION ... IN UPDATE TASK are released for processing by means of the ABAP statement COMMIT WORK, the dialog work process will not wait for the update process to finish. This kind of update is called asynchronous update.

    or

    check this link.................

    syn -asynchronous

    hope this may help you......

    regards,

    praveena.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Jun 16, 2008 at 06:42 AM

    Hi,

    If you consider a TCODE then it may update many tables. FOr eg MM01 it will update MARA , MAKT etc.

    So SYNCHRONOUS UPDATE means the PARENT TABLE will wait untill the CHILD tables are updated.

    ASYNCHRONOUS mean the PARENT TABLE will not wait untill all the child tables are updated.

    Reward points if helpful.

    Thanks and regards.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Jun 16, 2008 at 01:08 PM

    Hi.

    Synchronous and Asynchronous methods, both are used to transfer date from one system to other system.

    In synchronous method of transfering data, sender will send data to receiver but waits until it receives acknowledgement from receiver. Where in asynchronous method of transfering data sender need not waits for acknowledgement.

    In case of database updation: In synchronous method of transfering SY-SUBRC will be set to ZERO only when CHECK table and all related tables get updated. Where in Asychronous method of transmssion SY-SUBRC will be set to ZERO once CHECK table updation is completed irrespective of related tables.

    PLZ Award Points, If useful.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded