<?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: Concurrency problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/concurrency-problem/m-p/2891801#M679623</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've create a object, but it seem don't work for my case, so, can i set the lock object which cannot allow access the table (even read data) once the table is locked. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Oct 2007 06:28:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-18T06:28:17Z</dc:date>
    <item>
      <title>Concurrency problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/concurrency-problem/m-p/2891799#M679621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a dialog program, which able to insert some record into database. In the table, the key field is number which increment 1 each time users create record + short description. When save, currenct machanism will get the last no from database and then insert into table. But if two or more users save at the sametime, the no will be same, but the short description is different, due to the key field is no + short desc, so it can insert successful, but now, user want to change the number must unique no. because the table currenly in use, so, i can't change the table of number field as unique key, how can i solve the problem. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 03:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/concurrency-problem/m-p/2891799#M679621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T03:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Concurrency problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/concurrency-problem/m-p/2891800#M679622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create a lock object for that table and lock the table before doing INSERT so that only one INSERT will take place at a time. In this way, your unique no concept will continue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this thread for how to create a lock object -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3997701"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 03:14:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/concurrency-problem/m-p/2891800#M679622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T03:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Concurrency problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/concurrency-problem/m-p/2891801#M679623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've create a object, but it seem don't work for my case, so, can i set the lock object which cannot allow access the table (even read data) once the table is locked. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 06:28:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/concurrency-problem/m-p/2891801#M679623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T06:28:17Z</dc:date>
    </item>
  </channel>
</rss>

