<?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 Record level locking for custom table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/record-level-locking-for-custom-table/m-p/3686155#M887643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is i have to update the custom table, but when iam locking the table, some times if the user opens the table and try to isert the records its failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i need to create the record level locking for the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me how to create the record level locking for Custom table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreehari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 06 Apr 2008 19:20:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-06T19:20:17Z</dc:date>
    <item>
      <title>Record level locking for custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/record-level-locking-for-custom-table/m-p/3686155#M887643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is i have to update the custom table, but when iam locking the table, some times if the user opens the table and try to isert the records its failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i need to create the record level locking for the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me how to create the record level locking for Custom table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreehari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Apr 2008 19:20:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/record-level-locking-for-custom-table/m-p/3686155#M887643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-06T19:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Record level locking for custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/record-level-locking-for-custom-table/m-p/3686156#M887644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of updating the table through SM30. Create a Custom Z program for Updating the table. Create a Lock Object on the Table to Achieve Row level locking. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User has to select the Row to Edit the data.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Apr 2008 22:44:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/record-level-locking-for-custom-table/m-p/3686156#M887644</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2008-04-06T22:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Record level locking for custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/record-level-locking-for-custom-table/m-p/3686157#M887645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  You can create a custom lock object and use Enqueue/Dequeue functions. Otherwise, you may use the function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'ENQUEUE_E_TABLE'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            mode_rstable   = 'E'&lt;/P&gt;&lt;P&gt;            tabname        = &amp;lt;Table Name&amp;gt;&lt;/P&gt;&lt;P&gt;            varkey         = &amp;lt;Varkey - Concatenated key fields&amp;gt;&lt;/P&gt;&lt;P&gt;            _scope         = '3'&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            foreign_lock   = 1&lt;/P&gt;&lt;P&gt;            system_failure = 2&lt;/P&gt;&lt;P&gt;            others         = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2008 02:45:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/record-level-locking-for-custom-table/m-p/3686157#M887645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-07T02:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Record level locking for custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/record-level-locking-for-custom-table/m-p/3686158#M887646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create lock objects in se11 for the custom table .&lt;/P&gt;&lt;P&gt;this will create 2 fms ENQUEUE_&amp;lt;lockobjname&amp;gt; and DEQUEUE_&amp;lt;lockobjname&amp;gt;. when you call the ENQUEUE_&amp;lt;lockobjname&amp;gt; FM, pass all the key fields so as to perform a record level lock.&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;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2008 03:35:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/record-level-locking-for-custom-table/m-p/3686158#M887646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-07T03:35:39Z</dc:date>
    </item>
  </channel>
</rss>

