<?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: LOCK OBJECTS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-objects/m-p/1706104#M309267</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lock Table?  Do you mean transaction SM12?  This transaction allows you to look at all of the locks currently applied to db tables system wide.  These entries are the result of calling the ENQUEUE function module that I described above.  The DEQUEUE function module will release the lock.  I hope this answered your question.  &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Oct 2006 18:03:41 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2006-10-28T18:03:41Z</dc:date>
    <item>
      <title>LOCK OBJECTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-objects/m-p/1706101#M309264</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;   can anybody please explain me briefly abt lock objects,,&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;vijaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Oct 2006 17:33:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-objects/m-p/1706101#M309264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-28T17:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: LOCK OBJECTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-objects/m-p/1706102#M309265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, Lock objects are used to set locks on database tables. Usually the lock is applied using the key of the database table.  This insures that only one user can change a specific record in a database table at one time.  You create the lock object in SE11,  once defined, there will be two function modules created, an ENQUEUE function module and a DEQUEUE function module.  The naming convention is ENQUEUE_E&amp;lt;name of lock object&amp;gt;,  DEQUEUE is the same, but replace ENQUEUE with DEQUEUE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Oct 2006 17:48:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-objects/m-p/1706102#M309265</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-28T17:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: LOCK OBJECTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-objects/m-p/1706103#M309266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rich heilman&lt;/P&gt;&lt;P&gt;   Thanks for ur answer..can u also please explain me abt this lock table.&lt;/P&gt;&lt;P&gt;thanks and regards&lt;/P&gt;&lt;P&gt;vijaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Oct 2006 17:59:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-objects/m-p/1706103#M309266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-28T17:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: LOCK OBJECTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-objects/m-p/1706104#M309267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lock Table?  Do you mean transaction SM12?  This transaction allows you to look at all of the locks currently applied to db tables system wide.  These entries are the result of calling the ENQUEUE function module that I described above.  The DEQUEUE function module will release the lock.  I hope this answered your question.  &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Oct 2006 18:03:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-objects/m-p/1706104#M309267</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-28T18:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: LOCK OBJECTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-objects/m-p/1706105#M309268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijaya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Provide three type of Lock objects. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read Lock(Shared Locked) &lt;/P&gt;&lt;P&gt;protects read access to an object. The read lock allows other transactions read access but not write access to &lt;/P&gt;&lt;P&gt;the locked area of the table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write Lock(exclusive lock) &lt;/P&gt;&lt;P&gt;protects write access to an object. The write lock allows other transactions neither read nor write access to &lt;/P&gt;&lt;P&gt;the locked area of the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enhanced write lock (exclusive lock without cumulating) &lt;/P&gt;&lt;P&gt;works like a write lock except that the enhanced write lock also protects from further accesses from the &lt;/P&gt;&lt;P&gt;same transaction. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Technicaly: &lt;/P&gt;&lt;P&gt;When you create a lock object System automatically creat two function module. &lt;/P&gt;&lt;P&gt;1. ENQUEUE_&amp;lt;Lockobject name&amp;gt;. to insert the object in a queue. &lt;/P&gt;&lt;P&gt;2. DEQUEUE_&amp;lt;Lockobject name&amp;gt;. To remove the object is being queued through above FM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to use these function module in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please also check this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_40b/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_40b/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sravanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2008 07:15:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-objects/m-p/1706105#M309268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-28T07:15:39Z</dc:date>
    </item>
  </channel>
</rss>

