<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Asynchronous,Synchronous, in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronous-synchronous/m-p/3849835#M925524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Synchronous Update: &lt;/P&gt;&lt;P&gt;With the Synchronous update, no transaction is stored until the previous transaction is written into the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asynchronous Update:&lt;/P&gt;&lt;P&gt;With the Asynchronous Update, the current transaction need not wait for the previous transaction to be completed. Any transaction is stored into the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 May 2008 04:37:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-14T04:37:38Z</dc:date>
    <item>
      <title>Asynchronous,Synchronous,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronous-synchronous/m-p/3849831#M925520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all&lt;/P&gt;&lt;P&gt;can anybody tell what is asynchrous, synchrous updating and processing in BDC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 14:53:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronous-synchronous/m-p/3849831#M925520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T14:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Asynchronous,Synchronous,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronous-synchronous/m-p/3849832#M925521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=11736405&amp;amp;messageID=3923106" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=11736405&amp;amp;messageID=3923106&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=11736405&amp;amp;messageID=5357980" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=11736405&amp;amp;messageID=5357980&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2326178"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kiran Sure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 16:05:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronous-synchronous/m-p/3849832#M925521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T16:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Asynchronous,Synchronous,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronous-synchronous/m-p/3849833#M925522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swamy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Classical BDC methods are Call transaction &amp;amp; Session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Call transaction is &lt;STRONG&gt;sync&lt;/STRONG&gt; processing and &lt;STRONG&gt;sync/asyn&lt;/STRONG&gt; update&lt;/P&gt;&lt;P&gt;2.Session is &lt;STRONG&gt;sync/async&lt;/STRONG&gt; processing and &lt;STRONG&gt;sync&lt;/STRONG&gt; update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call transaction processes record by record and if error occurs it stops even there are valid records after that.So sync processing and async update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whereas Session processes all records at a time finds valid and invalid records and updates all valid records at the end.Error log is generated at the end.As it is processes all records it is asyn processing and sync update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it is clear to you.Award points if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravee..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 16:29:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronous-synchronous/m-p/3849833#M925522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T16:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Asynchronous,Synchronous,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronous-synchronous/m-p/3849834#M925523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SYNCHRONOUES&lt;/STRONG&gt;: when ever u execute the transaction the flat file record can be filled in database record by record while in the middle there is an error comes entire transaction is stopped.There is no updation of Database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ASYNCHRONOUS&lt;/STRONG&gt;: when ever u execute the transaction the flat file recored can be filled in database record by record while in the middle there is an error comes, the records upto to now can be processed can be updated in the database and the transaction is stopped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DIFFERENCE BT SESSION AND CALL TRANSACTION.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION: &lt;/P&gt;&lt;P&gt;1. only synchronous updation &lt;/P&gt;&lt;P&gt;2. errors can handled &lt;/P&gt;&lt;P&gt;3. faster &lt;/P&gt;&lt;P&gt;4. less amount of data &lt;/P&gt;&lt;P&gt;5. updation takes place during program execution . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6.At a time we can process only one TRANSACTION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SESSION METHOD:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1. Only synchronous updation.&lt;/P&gt;&lt;P&gt;2. Error log is created.&lt;/P&gt;&lt;P&gt;3. slower.&lt;/P&gt;&lt;P&gt;4. Huge Amount of data is Transfer.&lt;/P&gt;&lt;P&gt;5. Updation takes place once the session being created &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Synchronous Update&lt;/STRONG&gt; &amp;#150; The program wait for the work process to finish the update. Commit Work and Wait. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Asynchronous updating&lt;/STRONG&gt;. 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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;KK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 23:31:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronous-synchronous/m-p/3849834#M925523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T23:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Asynchronous,Synchronous,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronous-synchronous/m-p/3849835#M925524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Synchronous Update: &lt;/P&gt;&lt;P&gt;With the Synchronous update, no transaction is stored until the previous transaction is written into the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asynchronous Update:&lt;/P&gt;&lt;P&gt;With the Asynchronous Update, the current transaction need not wait for the previous transaction to be completed. Any transaction is stored into the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2008 04:37:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronous-synchronous/m-p/3849835#M925524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-14T04:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Asynchronous,Synchronous,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronous-synchronous/m-p/3849836#M925525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asynchronous Update &amp;#150; The program does not wait for the work process to finish the update. Commit Work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Synchronous Update &amp;#150; The program wait for the work process to finish the update. Commit Work and Wait.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer thse links also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://fuller.mit.edu/tech/sync_asynchronous.html" target="test_blank"&gt;http://fuller.mit.edu/tech/sync_asynchronous.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sapabapnotes.blogspot.com/2008/03/synchronous-vs-asynchronous-links-in.html" target="test_blank"&gt;http://sapabapnotes.blogspot.com/2008/03/synchronous-vs-asynchronous-links-in.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/41/7af4cea79e11d1950f0000e82de14a/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/41/7af4cea79e11d1950f0000e82de14a/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if it useful..&lt;/P&gt;&lt;P&gt;Lakshmi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2008 10:36:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronous-synchronous/m-p/3849836#M925525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-14T10:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Asynchronous,Synchronous,</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronous-synchronous/m-p/3849837#M925526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A Asynchronous updating:&lt;/STRONG&gt; 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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;S Synchronous updating:&lt;/STRONG&gt; 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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Some More information&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;In Asynchronus update the callng program does not wait for update work process to finish the update and continues as normal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A BDC done with sessions is always synchronus.&lt;/P&gt;&lt;P&gt;A BDC with call transaction is by default asynchronus&lt;/P&gt;&lt;P&gt;unless you define it explicitly as &lt;/P&gt;&lt;P&gt;call transaction 'XXXX' ...... update 'S'.&lt;/P&gt;&lt;P&gt;( If you donot define update option it is defaulted to "A" ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2008 11:07:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/asynchronous-synchronous/m-p/3849837#M925526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-14T11:07:43Z</dc:date>
    </item>
  </channel>
</rss>

