<?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 Database table protection or lock in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-protection-or-lock/m-p/13852455#M2030718</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I need to protect a DB table from writing when my program in running. I have tried CF 'ENQUEUE_E_TABLE' and custom locks also, but these only work if the other programs do check the lock. If other programs start to insert/update/delete the table without checking the lock, they are executed with no errors or warnings. I tested it several times and checked in SM12 if the lock exists. So i need a solution to permanently protect the table from any writing, except the one that I executing.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Sep 2024 08:46:02 GMT</pubDate>
    <dc:creator>mucsiattila</dc:creator>
    <dc:date>2024-09-03T08:46:02Z</dc:date>
    <item>
      <title>Database table protection or lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-protection-or-lock/m-p/13852455#M2030718</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I need to protect a DB table from writing when my program in running. I have tried CF 'ENQUEUE_E_TABLE' and custom locks also, but these only work if the other programs do check the lock. If other programs start to insert/update/delete the table without checking the lock, they are executed with no errors or warnings. I tested it several times and checked in SM12 if the lock exists. So i need a solution to permanently protect the table from any writing, except the one that I executing.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 08:46:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-protection-or-lock/m-p/13852455#M2030718</guid>
      <dc:creator>mucsiattila</dc:creator>
      <dc:date>2024-09-03T08:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Database table protection or lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-protection-or-lock/m-p/13852702#M2030720</link>
      <description>&lt;P&gt;If those (dirty) programs don't use any SAP lock concept, then (alas) you have to lock data at database level.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Consider using&amp;nbsp;&lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/abenamdp_methods.htm" target="_self"&gt;AMDP - Methods&lt;/A&gt;&amp;nbsp;for&amp;nbsp;&lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abendb_lock.htm#@@ITOC@@ABENDB_LOCK_1" target="_self"&gt;Setting locks&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;You'll probably also need to use them to update records.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If there are not too many such programs, better correc those to use&amp;nbsp;&lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/abensap_lock.htm" target="_self"&gt;SAP Locks&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 09:55:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-protection-or-lock/m-p/13852702#M2030720</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2024-09-03T09:55:11Z</dc:date>
    </item>
  </channel>
</rss>

