<?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: How to rollback saved data from database (custom) table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rollback-saved-data-from-database-custom-table/m-p/11958661#M1967055</link>
    <description>&lt;P&gt;In Abap SQL when database is updated and commited you have no tool to reverse the change, the commit is an end. &lt;/P&gt;&lt;P&gt;If no &lt;A href="https://launchpad.support.sap.com/#/solutions/saphelp/?q=database%252520commit"&gt;database commit&lt;/A&gt; was executed, &lt;A href="https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/abendb_commit.htm#@@ITOC@@ABENDB_COMMIT_2"&gt;explicitly&lt;/A&gt; or &lt;A href="https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/abendb_commit.htm#@@ITOC@@ABENDB_COMMIT_1"&gt;implicitly&lt;/A&gt;, use FM DB_ROLLBACK, else &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You could either log data change and use the log to reverse changes, or use some Admin Database Tool to reverse journalized entries, but that's not Abap relevant.&lt;/LI&gt;&lt;LI&gt;Try to use standard SAP way to update database and commit only at end of transaction. Perform some search in online help with keywords such as Database Logical Unit of Work (LUW)&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Tue, 11 Jun 2019 07:01:18 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2019-06-11T07:01:18Z</dc:date>
    <item>
      <title>How to rollback saved data from database (custom) table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rollback-saved-data-from-database-custom-table/m-p/11958657#M1967051</link>
      <description>&lt;P&gt;I want to rollback the record from the table which is modified or deleted.&lt;/P&gt;
  &lt;P&gt;Normally when we do undo, it works for unsaved data but here I need the record even it's changed in database level.&lt;/P&gt;
  &lt;P&gt;Let me know how to approach?&lt;/P&gt;
  &lt;P&gt;Any suggestions would be appreciated.&lt;/P&gt;
  &lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 05:45:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rollback-saved-data-from-database-custom-table/m-p/11958657#M1967051</guid>
      <dc:creator>vinayad</dc:creator>
      <dc:date>2019-06-11T05:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to rollback saved data from database (custom) table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rollback-saved-data-from-database-custom-table/m-p/11958658#M1967052</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;Normally we can maintain entries in custom table through SM30, try with same tcode whether you are able to delete entries from the table or not!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 05:58:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rollback-saved-data-from-database-custom-table/m-p/11958658#M1967052</guid>
      <dc:creator>ankurch</dc:creator>
      <dc:date>2019-06-11T05:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to rollback saved data from database (custom) table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rollback-saved-data-from-database-custom-table/m-p/11958659#M1967053</link>
      <description>&lt;P&gt;Once you've saved it, you've committed it. No chance of rollback. If the table has database logging you'll be able to find out what changed and manually change it back. Otherwise talk to your basis team about recovering from backup. &lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 06:48:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rollback-saved-data-from-database-custom-table/m-p/11958659#M1967053</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2019-06-11T06:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to rollback saved data from database (custom) table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rollback-saved-data-from-database-custom-table/m-p/11958660#M1967054</link>
      <description>&lt;P&gt;Hi Ankur,&lt;/P&gt;&lt;P&gt;I would appreciate for your response.&lt;/P&gt;&lt;P&gt;Yes I can delete, insert, modify even 'UNDO' in SM30. But I want to rollback which is last modified or deleted data, this when you try to undo it won't work. I have implemented same options in my program for the custom table operations. &lt;/P&gt;&lt;P&gt;Hope my question is cleared.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 07:00:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rollback-saved-data-from-database-custom-table/m-p/11958660#M1967054</guid>
      <dc:creator>vinayad</dc:creator>
      <dc:date>2019-06-11T07:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to rollback saved data from database (custom) table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rollback-saved-data-from-database-custom-table/m-p/11958661#M1967055</link>
      <description>&lt;P&gt;In Abap SQL when database is updated and commited you have no tool to reverse the change, the commit is an end. &lt;/P&gt;&lt;P&gt;If no &lt;A href="https://launchpad.support.sap.com/#/solutions/saphelp/?q=database%252520commit"&gt;database commit&lt;/A&gt; was executed, &lt;A href="https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/abendb_commit.htm#@@ITOC@@ABENDB_COMMIT_2"&gt;explicitly&lt;/A&gt; or &lt;A href="https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/abendb_commit.htm#@@ITOC@@ABENDB_COMMIT_1"&gt;implicitly&lt;/A&gt;, use FM DB_ROLLBACK, else &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You could either log data change and use the log to reverse changes, or use some Admin Database Tool to reverse journalized entries, but that's not Abap relevant.&lt;/LI&gt;&lt;LI&gt;Try to use standard SAP way to update database and commit only at end of transaction. Perform some search in online help with keywords such as Database Logical Unit of Work (LUW)&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 11 Jun 2019 07:01:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-rollback-saved-data-from-database-custom-table/m-p/11958661#M1967055</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2019-06-11T07:01:18Z</dc:date>
    </item>
  </channel>
</rss>

