<?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: Commit and Rollback in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-and-rollback/m-p/5035004#M1171046</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;The concept lies in the database &lt;STRONG&gt;LUW&lt;/STRONG&gt; (Logical Unit of Work).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actiualy a database table is updated in batch method say n.&lt;/P&gt;&lt;P&gt;It means when u upload n no of data then one auto-commit will be triggered and ur data will be updated permanently, before that u can see the data in the table but they will reside in some intermediate memory (e.g. re-log file in ORACLE). This memory is deletable.&lt;/P&gt;&lt;P&gt;When the cursor hit the ROLL-BACK statement this data is flashed .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when one screen change occurs one database LUW completes, so in case of data less than n above, if you insert and save, one SAP screen change occurs and auto-commit triggers eventhough no of data is less than n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for more idea check&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/41/7af4bca79e11d1950f0000e82de14a/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/41/7af4bca79e11d1950f0000e82de14a/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the 'interin state ' here is something which I refered as intermediate storage/memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jan 2009 07:30:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-09T07:30:30Z</dc:date>
    <item>
      <title>Commit and Rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-and-rollback/m-p/5035003#M1171045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I write some code like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  YTEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: YTABLE.&lt;/P&gt;&lt;P&gt;DATA WA LIKE  YTABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA-F1 = 'L1'.&lt;/P&gt;&lt;P&gt;WA-F2 = 'D1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT YTABLE FROM WA.&lt;/P&gt;&lt;P&gt;BREAK-POINT.&lt;/P&gt;&lt;P&gt;ROLLBACK WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when the program go into the debug mode, we can see the line 'L1 D1' in the table 'YTABLE' through tcode SE16. Is it a auto commit in debug mode?  &lt;/P&gt;&lt;P&gt;If the line is commit, why it was deleted after the statement 'rollback work'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2009 07:27:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-and-rollback/m-p/5035003#M1171045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-09T07:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Commit and Rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-and-rollback/m-p/5035004#M1171046</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;The concept lies in the database &lt;STRONG&gt;LUW&lt;/STRONG&gt; (Logical Unit of Work).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actiualy a database table is updated in batch method say n.&lt;/P&gt;&lt;P&gt;It means when u upload n no of data then one auto-commit will be triggered and ur data will be updated permanently, before that u can see the data in the table but they will reside in some intermediate memory (e.g. re-log file in ORACLE). This memory is deletable.&lt;/P&gt;&lt;P&gt;When the cursor hit the ROLL-BACK statement this data is flashed .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when one screen change occurs one database LUW completes, so in case of data less than n above, if you insert and save, one SAP screen change occurs and auto-commit triggers eventhough no of data is less than n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for more idea check&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/41/7af4bca79e11d1950f0000e82de14a/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/41/7af4bca79e11d1950f0000e82de14a/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the 'interin state ' here is something which I refered as intermediate storage/memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2009 07:30:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-and-rollback/m-p/5035004#M1171046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-09T07:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Commit and Rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-and-rollback/m-p/5035005#M1171047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It means when u upload n no of data then one auto-commit will be triggered and ur data will be updated permanently&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you mean : If no of data is more than n, the 'roll back' statement will only flash the lines that has not been commit ？&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2009 07:57:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-and-rollback/m-p/5035005#M1171047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-09T07:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Commit and Rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-and-rollback/m-p/5035006#M1171048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Exactly so.&lt;/P&gt;&lt;P&gt;let's take in number.&lt;/P&gt;&lt;P&gt;Your database has a default setting of 10 data-row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you upload 11 data, auto-commit will betriggred after the 10th for data-1 to data-10 and data-11 has to wait to get auto-commit when the sap-screen will be changed.&lt;/P&gt;&lt;P&gt;The same thing will happen for all the data when u upload less than 10 data, say 9 data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is one default setting for the no of data to be uploaded to trigger auto commit. But DB-admin can change the number as per the requirment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2009 08:54:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-and-rollback/m-p/5035006#M1171048</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-09T08:54:39Z</dc:date>
    </item>
  </channel>
</rss>

