Synchronous or asynchronous update?

how tables are effected by taking synchronous or asynchronous update?

Hi,
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.
Thanks,
Kasiraman R

Similar Messages

  • Synchronous and Asynchronous updating in LIS

    Dear experts
    What is the difference between
    Synchronous and Asynchronous updating in LIS ? 
    There are three radio buttons for ASYNCHRONOUS UPDATING [1],[2],[3]
    What is the significanse of each of them?
    Regards
    Siddharth

    Hi siddarth
    Difference between synchronous update & asynchronous update
    Synchronous update -Immediate start, i.e., when an event takes place that triggers an update
    Asynchronous update - Delayed start, i.e., updating is slightly delayed after an event that triggers an update
    Regards
    Srinath

  • Ecatt synchronous and asynchronous update

    Hi,
        I want some details about ECATT. In the UI control tab of test configuration there are around six start modes .What is the difference between
    process in background synchronous local, process in background synchronous not local and process in background asynchronous update.
    Regards,
    Charumathi.B

    Hi Kumar,
    Synchronus data processing is that in which the program calling the update task waits for the update work process to finish the update before it continues processing.
    In Asynchronus update the callng program does not wait for update work process to finish the update and continues as normal.
    A BDC done with sessions is always synchronus.
    A BDC with call transaction is by default asynchronus
    unless you define it explicitly as
    call transaction 'XXXX' ...... update 'S'.
    ( If you donot define update option it is defaulted to "A" ).
    The update method is of importance when one transaction locks data which may be required by a subsequent transaction . The subsequent transaction will fail if data is locked from previous one. An example would be you are creating sales order for same material in succession ( with asynchronus update ). Quite likely that some of transactions would fail due to material locked.
    For large volume of data Call Transaction will be faster but you have no restart capability here. Suppose from 1000 transactions 100 fails . You will have to run the BDC program again exclusing the ones which wrere successful. However with session method you have the option to process the error transactions again in SM35 . So if you are sure that errors will not occur use call transaction else use session method.
    Please also check this link for differences between call transaction and batch input method
    http://help.sap.com/saphelp_47x200/helpdata/en/fa/097015543b11d1898e0000e8322d00/frameset.htm
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Synchronous and asynchronous updates

    hi evry1,
    When we say that asynchronous updates and synchronous updates are possible in any method like call transaction what do we mean by this statement ?
    Thanks .

    hi,
    synchrronous update means do all or nothing. when a call transaction is used in bdc then updation is done at once. i.e. all updates to database are done or roll backed and we have to do it from scratch.
    ex: call transaction method in bdc is done in synchronous manner.
    asychronous update means step by step updation. if any thing goes wrong then we can start from that point only. not from first.
    ex: idocs transfers data in asynchronous manner.
    if helpful reward some points.
    with regards,
    suresh.

  • Synchronous and Asynchronous  update

    Dear Abapers  ,
    which of the following command are synchronous and which of the asynchronous ??
    a) modify ztable from wa.
    b) update ztable set field1 = '123'.
    c) update ztable from ztable.
    d) insert wa into ztable.
    e) call function 'update_table' in update task
    Also list some other updates which are asynchronous and synchronous
    Moderator message - Please do not ask or answer interview type questions - post locked and answer deleted
    Edited by: Rob Burbank on Sep 1, 2009 9:09 AM

    hi,
    For Update you have
    A - asynchronus - does not wait for next update in the queue
    S - Synchronus - waits until the previous update is completed before a new request is considered
    L - Local update - Uses a different work process to trigger call function in update task.
    In synchronus method until one record process takes place into database next record will not be processed.
    In asynchronus immedate updation of data into database table.
    Check this link for more detailed information:
    http://fuller.mit.edu/tech/sync_asynchronous.html
    'A', 'S' and 'L' are the update modes in CALL transaction method.
    I will give you a simple example to explain this.
    Suppose that there are 30 records in total and an error has occured in the 5th record.
    In asynchronous, update is done for every 30 records while in synchronous one,
    update is done only upto the 4th record.
    So only after the record in the fifth one is eliminated, remaining others are processed.
    Have a look at this URL from SAP Help:
    http://help.sap.com/saphelp_46c/helpdata/en/41/7af4cba79e11d1950f0000e82de14a/frameset.htm
    Regards
    Anversha

  • Differences between Synchronous and Asynchronous updates

    can any one tell me the differences between these updates

    Hi
    Look at this tread it can help:
    https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/search%21default.jspa%3FforumID%3D131%26threadID%3D67445

  • Synchronous and asynchronous

    hello gurus....
    can u give the definitions for synchronous and asynchronous updates.....
    i mean how u have to answer the definition when asked in an interview...
    Thnaks
    Pavan

    Hi Pavan,
    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.
    DataBase Commit:
    This statement will apply any outstanding database updates and wait until they have actually been put on the database before proceeding to the next statement.
    An ordinary commit work will initiate the process to update the databases in a separate task and will press on in your abap.
    COMMIT WORK: ( Asynchronous)
    Your program does not wait for any acknowledgement. it just start executing the next statment after COMMIT WORK.
    Reward if useful.
    Thanks
    Aneesh.

  • Difn Betn synchronous and asynchronous procsesing an update

    Hi gurus.
    Can any body tell me Difn Betn synchronous and asynchronous procsesing an update .
    Regards ,
    Mahesh

    hi,
    For Update you have
    A - asynchronus - does not wait for next update in the queue
    S - Synchronus - waits until the previous update is completed before a new request is considered
    L - Local update - Uses a different work process to trigger call function in update task.
    In synchronus method until one record process takes place into database next record will not be processed.
    In asynchronus immedate updation of data into database table.
    Check this link for more detailed information:
    http://fuller.mit.edu/tech/sync_asynchronous.html
    'A', 'S' and 'L' are the update modes in CALL transaction method.
    I will give you a simple example to explain this.
    Suppose that there are 30 records in total and an error has occured in the 5th record.
    In asynchronous, update is done for every 30 records while in synchronous one,
    update is done only upto the 4th record.
    So only after the record in the fifth one is eliminated, remaining others are processed.
    Have a look at this URL from SAP Help:
    http://help.sap.com/saphelp_46c/helpdata/en/41/7af4cba79e11d1950f0000e82de14a/frameset.htm
    Regards
    Anversha

  • Diff between synchronous & asynchronous updates of database with call trans

    Hi Everyone,
               I want to know the difference how synchronous and asynchronous
    database update in call transaction method.
    thanks

    Hi,
    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.
    Difference between Synchronous and Asynchronous processing?
    Re: synchronous........
    Suggest you to Search in <b>SDN with key - Synchronous or asynchronous .</b>
    Will get few more useful related Posts.
    Reward points if this Helps.
    Manish

  • Synchronous asynchronous update

    what is difference between synch and asynch update???
    how it affects database update???

    hi,
    For Update you have
    A - asynchronus - does not wait for next update in the queue
    S - Synchronus - waits until the previous update is completed before a new request is considered
    L - Local update - Uses a different work process to trigger call function in update task.
    In synchronus method until one record process takes place into database next record will not be processed.
    In asynchronus immedate updation of data into database table.
    Check this link for more detailed information:
    http://fuller.mit.edu/tech/sync_asynchronous.html
    'A', 'S' and 'L' are the update modes in CALL transaction method.
    I will give you a simple example to explain this.
    Suppose that there are 30 records in total and an error has occured in the 5th record.
    In asynchronous, update is done for every 30 records while in synchronous one,
    update is done only upto the 4th record.
    So only after the record in the fifth one is eliminated, remaining others are processed.
    Have a look at this URL from SAP Help:
    http://help.sap.com/saphelp_46c/helpdata/en/41/7af4cba79e11d1950f0000e82de14a/frameset.htm
    Regards
    Reshma

  • Re : what is diffrent Between  Synchronies and   Asynchronies  process

    Hi ,
          what is diffrent between Synchronies and   Asynchronies  process in  session Method and call Transcation method  pls give one Example...
    Thanks
    Arief .S

    Synchronus data processing is that in which the program calling the update task waits for the update work process to finish the update before it continues processing.
    In Asynchronus update the callng program does not wait for update work process to finish the update and continues as normal.
    A BDC done with sessions is always synchronus.
    A BDC with call transaction is by default asynchronus
    unless you define it explicitly as
    call transaction 'XXXX' ...... update 'S'.
    ( If you donot define update option it is defaulted to "A" ).
    The update method is of importance when one transaction locks data which may be required by a subsequent transaction . The subsequent transaction will fail if data is locked from previous one. An example would be you are creating sales order for same material in succession ( with asynchronus update ). Quite likely that some of transactions would fail due to material locked.
    For large volume of data Call Transaction will be faster but you have no restart capability here. Suppose from 1000 transactions 100 fails . You will have to run the BDC program again exclusing the ones which wrere successful. However with session method you have the option to process the error transactions again in SM35 . So if you are sure that errors will not occur use call transaction else use session method.

  • Synchronous and Asynchronous BAPI

    Hi All,
    Like BDC do we have any options to update the database using BAPI synchronously or asynchronously? In BAPI which approach do we go for and is there a way that we can specify these update modes in BAPI like call transaction.
    Please help.
    Regards,
    MD.

    Hi
    Synchronous BAPIs
    Synchronous BAPIs are generally used to read data from a remote logical system, for example to display a customer list.
    Before calling the BAPI, it is therefore necessary to determine the RFC destination of the remote system or the BAPI server. The application developer has access to an API for determining the RFC destination of the BAPI.
    Asynchronous BAPIs
    Asynchronous BAPIs are generally used for replicating data on one or more logical systems, for example to distribute article master data.
    To implement an asynchronous data transfer with a BAPI, an ALE IDoc interface must be generated. This interface controls all of the data communication between logical systems using IDoc technology. The application then calls the generated ALE IDoc interface locally instead of the BAPIs.
    As with synchronous BAPIs, the corresponding logical systems of the BAPI must be determined before you call the ALE-IDoc interface. These are transferred to the ALE-IDoc interface as input parameters.
    http://help.sap.com/saphelp_nw04/helpdata/en/5a/ccb4cb808311d396b40004ac96334b/frameset.htm
    With Regards
    Nikunj Shah
    Edited by: Nikunj Shah on Jul 14, 2008 1:26 PM

  • Synchronous  and Asynchronous   clarification

    Hi,
    BDC is synchronous method and Call transaction is Asynchronous method.
    If I have 100 records in my internal table(which is uploaded from the flat file)  and 50th record is a erronious one.Then in both of the above cases what will happen
    What I know,In BDC the 50th record is logged in the log and the rest record from 51st will processed.As BDC is a synchronous method the next data should not be updated database as long as the previous one is updated in database.
    Then how the 51st through 100th will updated in the database?
    Please explain me.
    Thanks,
    Partha

    Hi,
    1.In BDC session ,what you are saying is ok.
      Process is asynchronus and update is synchronus.
    Till 50 th record is uploaded into the database.
    After 50 th record , you need to upload once again by deleting the 1-50 records.
    2.In call transaction,NOt like that.error records are goes to BDcmsgcoll and all other are updated in UPDATE mode as A.
    3.http://help.sap.com/saphelp_47x200/helpdata/en/fa/09715a543b11d1898e0000e8322d00/frameset.htm
    A 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.
    S 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.
    Regards,
    Shiva.

  • Meaning of synchronous and Asynchronous in BDC

    Hi Guys,
    1) What is a maning of synchronous and Asynchronous in BDC, what is a diffrence betwwen both?
    2) Can you please provide  ABAP OOPS real time question and answer?
    Thanks
    Jigar

    in simple,
    Synchronous:
    - COMMIT WORK AND WAIT:
    -System waits until the database updation is completed.....then, system continues to execute after the piece.....if some thing wrong in updation, then, the rest piece do not executes!!
    -here, we get sy-subrc return value, so, some times, we can write rest prog. based on this retun value, either sucess or failure, like in some scenarios, we write CALL TRANSACTION with 'S', other wise its normally, Asynchronous!!
    - takes more time
    -mostly, batch input
    -example, say, there is Materail doc posting and associated accouting doc posting.....so, if material doc is successful, then only acc. doc will be get posted
    Asynchronous:
    -COMMIT WORK
    -does not depend on the updation
    -quick relatively
    -mostly CALL TRANSACTION
    - no return code
    for further, pls. go thru SDN
    thanq

  • Synchronous and Asynchronous streams

    Hey,
    I have an application middle ware that communicates with (a local or alternatively remote ) backend via streams. Atleast that is how I am planning it right now. Nothing implemented yet, only thinking over the design. There is a requirement of communication between the middleware and the backend to have synchronous or asynchronous msgs.
    The synchronous msgs I get. I send a msg and keep the stream listening for a reponse. But some msgs can be asynchronous, if I ask the stream to listen for them that will pull out all resources. What would be the solution for such asynchronous msgs.
    So is this a solution to the problem that I have a single stream (wrapped in a thread), it sends msgs, irrespective of the knowledge whether the response will be syn. or asyn. , and it sleeps after doing so. A question here would be that : Are the wait() methods of streams to this effect that I desire. Is this the solution. Would it pull resources or something.
    Is there a better solution that someone knows off.

    Hi Kumar,
    Synchronus data processing is that in which the program calling the update task waits for the update work process to finish the update before it continues processing.
    In Asynchronus update the callng program does not wait for update work process to finish the update and continues as normal.
    A BDC done with sessions is always synchronus.
    A BDC with call transaction is by default asynchronus
    unless you define it explicitly as
    call transaction 'XXXX' ...... update 'S'.
    ( If you donot define update option it is defaulted to "A" ).
    The update method is of importance when one transaction locks data which may be required by a subsequent transaction . The subsequent transaction will fail if data is locked from previous one. An example would be you are creating sales order for same material in succession ( with asynchronus update ). Quite likely that some of transactions would fail due to material locked.
    For large volume of data Call Transaction will be faster but you have no restart capability here. Suppose from 1000 transactions 100 fails . You will have to run the BDC program again exclusing the ones which wrere successful. However with session method you have the option to process the error transactions again in SM35 . So if you are sure that errors will not occur use call transaction else use session method.
    Please also check this link for differences between call transaction and batch input method
    http://help.sap.com/saphelp_47x200/helpdata/en/fa/097015543b11d1898e0000e8322d00/frameset.htm
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

Maybe you are looking for

  • How can i take the full page off and go back to the regular page

    When I go to my to my web pages, I have a full screen. That means I can't see my toolbar.. I would like to see my toolbar at the top at all time.. Can you please help me... Also, I am having trouble with popups all the time.. I downloaded the Ad-bloc

  • SAP HR infotype access through portal

    Hi All, Below is the client requirement *They want to access an infotype "pa9016" in portal* In order to do is I have created a SAP Transactional iview and selected the system and in the Tcode area I have given the infotype name "pa9016". Assigned th

  • Problems to connect with my iPhone 5 to my wi-fi

    Hi, i have problems to connect to my wi-fi with my new iPhone 5. I didn't have the problems before, with my 3GS. What is the problem? Did i have to change something in my settings?

  • How to specify in what coding to send the letter?

    How in SOAP protocol to specify in what coding to send the letter? It is necessary for me to send letters outside in coding UTF-8 Serg

  • Rounded border in table but rectangle lines still visible

    How can I show only the rounded outline of a table? I've selected rounded border, and that shows up, but so does the rectangle of the table shape. Is there a way to get rid of that so that only the rounded border shows? The rounded border works perfe