<?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 Synchronous Vs Asynchronous?? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716803#M630127</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Just for my curiosity sake, pls. clarify,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1-  DB updation&lt;/P&gt;&lt;P&gt;A - Synchronous DB updation&lt;/P&gt;&lt;P&gt;B - Asynchronous DB updation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 - I guess, CALL TRANSACTION is Asynchronous, Am I correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3 - I hv seen some programs, they r using 'S' i.e. Synchronous, So, pls. let me clarify, In Wht scenarios, we need to choose the Synchronous?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2007 20:31:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-14T20:31:55Z</dc:date>
    <item>
      <title>Synchronous Vs Asynchronous??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716803#M630127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Just for my curiosity sake, pls. clarify,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1-  DB updation&lt;/P&gt;&lt;P&gt;A - Synchronous DB updation&lt;/P&gt;&lt;P&gt;B - Asynchronous DB updation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 - I guess, CALL TRANSACTION is Asynchronous, Am I correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3 - I hv seen some programs, they r using 'S' i.e. Synchronous, So, pls. let me clarify, In Wht scenarios, we need to choose the Synchronous?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 20:31:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716803#M630127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T20:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronous Vs Asynchronous??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716804#M630128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is what will explain you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/41/7af4cba79e11d1950f0000e82de14a/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/41/7af4cba79e11d1950f0000e82de14a/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 20:46:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716804#M630128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T20:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronous Vs Asynchronous??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716805#M630129</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;  Asynchronous is the default that we normally use when dealing with data upload into SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  When we should go with Synchronous..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Let us say we have a scenerio.. where in i want to create a sales order upon successful creation i have to trigger a logic for creating the delivery..&lt;/P&gt;&lt;P&gt;in this case the fate of delivery is determined by the fate of sales order upload.. so u run the sales order logic in synchronous mode and create delivery after this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you have successive dependent steps then you have to go with synchronous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 21:01:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716805#M630129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T21:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronous Vs Asynchronous??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716806#M630130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanq,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. Can U differentiate the Asynchro and Synchro, little bit in detail?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 21:07:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716806#M630130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T21:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronous Vs Asynchronous??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716807#M630131</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;  Synchronous is interactive way of updating...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  perform step1...  wait till it is completed and you get the reply back&lt;/P&gt;&lt;P&gt;  perform step2 .... wait till it is completed and you get the reply back.&lt;/P&gt;&lt;P&gt; ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Asynchronous &lt;/P&gt;&lt;P&gt;  perform step1&lt;/P&gt;&lt;P&gt;  perform step2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 21:16:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716807#M630131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T21:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronous Vs Asynchronous??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716808#M630132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the below link :&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;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 22:30:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716808#M630132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T22:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronous Vs Asynchronous??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716809#M630133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check it my personal note :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one simple example : You are creating sales order from file and also you want to update header text of sales order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you want to update sales order header text,you need to use save_text function module ,here you need to pass sales order number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you use call transaction update 'A', data will update transaction level and it goes to the next record,here it will not wait for database .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you use call transaction update 'S',data will update transaction level and it will update database then it goes next record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to update header text,then you need to use sync update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;database commit - &lt;/P&gt;&lt;P&gt;comitt work - it will update data in database sucessfully&lt;/P&gt;&lt;P&gt;roll back - it will not update in database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 22:39:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716809#M630133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T22:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronous Vs Asynchronous??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716810#M630134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanq.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, this to_b_enhance_z_prog. is using the same code/scenario, wht is mentioned/questioned at th every bottom line of the Documentation of ur link...i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;Question - Does a synchronous call transaction cause the ABAP to issue a COMMIT WORK AND WAIT command within the transaction?&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean, to_b_enhance_z_prog is coded like,&lt;/P&gt;&lt;P&gt; CALL TRANSANSACTION mode 'S' &lt;/P&gt;&lt;P&gt;(and next) COMMIT WORK AND WAIT &lt;/P&gt;&lt;P&gt; has been coded? Any clue, why commit is used, even after S mode?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, pls. clarify,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Srikhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2007 01:31:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716810#M630134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-15T01:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronous Vs Asynchronous??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716811#M630135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Srikhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Who writtens comitt work after call transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Comitt work will not work if you use call transaction . if you need comitt work for any kind of call transaction command then you have to use update mode is 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is equal to comitt work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you got it so comitt work should not apply after call transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2007 01:58:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716811#M630135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-15T01:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronous Vs Asynchronous??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716812#M630136</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;actually, am not facing any issue, just curiuos to know,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the code goes like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: no_screens value N&lt;/P&gt;&lt;P&gt;data: synchronous value S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'XXXX' &lt;/P&gt;&lt;P&gt;using bdcdata &lt;/P&gt;&lt;P&gt;moode No_screens &lt;/P&gt;&lt;P&gt;update Synchronous &lt;/P&gt;&lt;P&gt;messages into bdcmsgcoll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if synchromous = S&lt;/P&gt;&lt;P&gt;commit work and wait.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;comments pls,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 - from ur link documentationm i understand that, V1 type FM r works like  SYNCHRONOUS type, Am i correct? or in other words, If I use V1 type FM, Is it necessory for me to keep COMMIT WORK &amp;amp; WAIT code, to delete/update next record from DB? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Srikhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2007 02:07:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716812#M630136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-15T02:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronous Vs Asynchronous??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716813#M630137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: no_screens value N&lt;/P&gt;&lt;P&gt;data: synchronous value S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'XXXX' &lt;/P&gt;&lt;P&gt;using bdcdata &lt;/P&gt;&lt;P&gt;moode No_screens &lt;/P&gt;&lt;P&gt;update Synchronous &lt;/P&gt;&lt;P&gt;messages into bdcmsgcoll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;if synchromous = S  -&amp;gt; This code is not required and unnessary command.&lt;/P&gt;&lt;P&gt;commit work and wait.&lt;/P&gt;&lt;P&gt;endif.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. that is correct  ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and one more thing call transaction calls other transaction and updating the data into other transactions ,here we don't have any control,so no need to use comitt work command..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2007 02:11:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716813#M630137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-15T02:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronous Vs Asynchronous??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716814#M630138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanq,&lt;/P&gt;&lt;P&gt;i got it.&lt;/P&gt;&lt;P&gt;actually, y am is getting doubt is that, this prog. was written by very very experienced programmer, thats y am digging!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any how , thaq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2007 02:16:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716814#M630138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-15T02:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronous Vs Asynchronous??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716815#M630139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does not matter how much experience we have ,some times i used do silly mistakes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But final thing is we should not use comitt work after call transaction..instead of comitt work we need to use update mode 'S'..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you got it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2007 02:25:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-vs-asynchronous/m-p/2716815#M630139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-15T02:25:37Z</dc:date>
    </item>
  </channel>
</rss>

