<?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: Shared Lock in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-lock/m-p/1829397#M353604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt; All search helps in customer name space should start with EZor EY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jan 2007 11:00:41 GMT</pubDate>
    <dc:creator>seshatalpasai_madala</dc:creator>
    <dc:date>2007-01-31T11:00:41Z</dc:date>
    <item>
      <title>Shared Lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-lock/m-p/1829393#M353600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a customized screen to upload a material. How to perform a shared lock... for eg., if a user is editing a particular material(m100) then if any other user tries to edit the same material, he should not be able to edit... he should be able to only view the details in that screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2007 10:40:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-lock/m-p/1829393#M353600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-31T10:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-lock/m-p/1829394#M353601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   You need to create a lock object for this table. Then first thing you need to do in the program is try to attain a lock on the perticular record that you want to edit that you can do it by using the FM that is generated once you create the lock object. The FM will be ENQUEUE_XXXX.. If you get the lock that is if this call to FM is sucessful then you can proceed to edit else raise an error message that somebody else is editing the same record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2007 10:44:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-lock/m-p/1829394#M353601</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-01-31T10:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-lock/m-p/1829395#M353602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried to create a lock object starting with E, but i was not able to create it. i also tried starting with Z.... but it didn't work. pls tell me how to create a lock object&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2007 10:56:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-lock/m-p/1829395#M353602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-31T10:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-lock/m-p/1829396#M353603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rajesh...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start it with EZ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. EZTEST1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2007 10:58:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-lock/m-p/1829396#M353603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-31T10:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-lock/m-p/1829397#M353604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt; All search helps in customer name space should start with EZor EY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2007 11:00:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-lock/m-p/1829397#M353604</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-01-31T11:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-lock/m-p/1829398#M353605</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;Do the following &lt;/P&gt;&lt;P&gt;1. Go to Se11 :you will find the option Lock object (Naming convetion should be followed Example : EZ_ )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Select object type Lock object in the initial screen of the ABAP Dictionary, enter an object name and choose Create. The name of a lock object should begin with an E (Enqueue).&lt;/P&gt;&lt;P&gt;3.The maintenance screen for lock objects is displayed.&lt;/P&gt;&lt;P&gt;4.Enter an explanatory short text&lt;/P&gt;&lt;P&gt;5. Enter the name of the primary table&lt;/P&gt;&lt;P&gt;6,Select the lock mode&lt;/P&gt;&lt;P&gt;Save your entries. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now with help of foll code call the lock in se38 pgm.&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;tabname = 'ZTABLE'&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;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;Now do  your coding here&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;**************Unlocktable: &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DEQUEUE_E_TABLE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;tabname = 'ZTABLE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2007 11:51:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-lock/m-p/1829398#M353605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-31T11:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-lock/m-p/1829399#M353606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One type of lock is the shared lock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once a shared lock is assigned to a transaction for a particular data object, concurrent transactions can access the object but not modify it. Other transactions can set a shared lock, but not an exclusive lock for this object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shared locks refer to a row or a table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdb.org/7.4/htmhelp/43/151d12671a2240947990c5152a4bbd/content.htm" target="test_blank"&gt;http://www.sapdb.org/7.4/htmhelp/43/151d12671a2240947990c5152a4bbd/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2007 11:58:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-lock/m-p/1829399#M353606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-31T11:58:55Z</dc:date>
    </item>
  </channel>
</rss>

