<?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: Conflict while updating database in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conflict-while-updating-database/m-p/7548169#M1563147</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use SM21 to read actual error message, some database locks are not related to SAP lock concept, e.g. Oracle has some problem with insertion in certain configuration. Which message do you get via SM21.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jan 2011 10:10:51 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2011-01-18T10:10:51Z</dc:date>
    <item>
      <title>Conflict while updating database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conflict-while-updating-database/m-p/7548167#M1563145</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;We have a Z table. There is a lock object created for that table. So we are using ENQUEUE FM to lock the table before updating it. After modifying the table, DEQUEUE FM is being used to release the lock. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the problem is, we got an error "The database system detected a deadlock and avoided it by rolling back your transaction." &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be two people tried to modify the same record thats why we got this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After releasing the lock using the DEQUEUE FM,  COMMIT statement is not used. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, are we getting this problem due to the absence of COMMIT statement or is there any other reason? &lt;/P&gt;&lt;P&gt;We are unable to replicate this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ibrahim.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 09:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conflict-while-updating-database/m-p/7548167#M1563145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-18T09:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Conflict while updating database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conflict-while-updating-database/m-p/7548168#M1563146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To replicate the sccenario, use program to update table in debugging in 1 session. &lt;/P&gt;&lt;P&gt;and update table through  SE11 in maintainece table entries. &lt;/P&gt;&lt;P&gt;You can check with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Commit work will not create a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know any querries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 10:06:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conflict-while-updating-database/m-p/7548168#M1563146</guid>
      <dc:creator>Rushikesh_Yeole</dc:creator>
      <dc:date>2011-01-18T10:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Conflict while updating database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conflict-while-updating-database/m-p/7548169#M1563147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use SM21 to read actual error message, some database locks are not related to SAP lock concept, e.g. Oracle has some problem with insertion in certain configuration. Which message do you get via SM21.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 10:10:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conflict-while-updating-database/m-p/7548169#M1563147</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2011-01-18T10:10:51Z</dc:date>
    </item>
  </channel>
</rss>

