<?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: locking in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking/m-p/1952472#M392227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Balu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; It depends on the type of lock that you are using for locking the table if it is exclusive lock ( E ) you can not ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Mar 2007 07:51:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-02T07:51:15Z</dc:date>
    <item>
      <title>locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking/m-p/1952468#M392223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;suppose i'm doing two programs parallel,by using one program locked table..can i access the table by using another program?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 07:43:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking/m-p/1952468#M392223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T07:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking/m-p/1952469#M392224</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;&lt;/P&gt;&lt;P&gt;No u cant ... after the lock is released then only the second program will be able to access that table for writing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SAP system is equipped with a special lock mechanism that synchronizes access to data on the database. The purpose of the lock mechanism is to prevent two transactions from changing the same data on the database simultaneously.&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;- 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;- 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;- 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;- Optimistic lock&lt;/P&gt;&lt;P&gt;Optimistic locks initially behave like shared locks and can be converted into exclusive locks.&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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at below links. It will help you surely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/c2/2d7037ecc92a7ee10000009b38f8cf/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/c2/2d7037ecc92a7ee10000009b38f8cf/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Simha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 07:47:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking/m-p/1952469#M392224</guid>
      <dc:creator>Simha_</dc:creator>
      <dc:date>2007-03-02T07:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking/m-p/1952470#M392225</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;It depends on the type of lock. whether it is a exclusive or shared&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 07:47:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking/m-p/1952470#M392225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T07:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking/m-p/1952471#M392226</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;You can access the table but if it is locked , you will be able to read only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;/P&gt;&lt;P&gt;Sunil.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 07:48:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking/m-p/1952471#M392226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T07:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking/m-p/1952472#M392227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Balu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; It depends on the type of lock that you are using for locking the table if it is exclusive lock ( E ) you can not ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 07:51:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking/m-p/1952472#M392227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T07:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking/m-p/1952473#M392228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi balu,&lt;/P&gt;&lt;P&gt;   it depends on the lock u r using on the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a small description on lock object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The lock mode controls whether several users can access data records at the same time. The lock mode can be assigned separately for each table in the lock object. When the lock is set, the corresponding lock entry is stored in the lock table of the system for each table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Access by more than one user can be synchronized in the following ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exclusive lock: The locked data can only be displayed or edited by a single user. A request for another exclusive lock or for a shared lock is rejected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shared lock: More than one user can access the locked data at the same time in display mode. A request for another shared lock is accepted, even if it comes from another user. An exclusive lock is rejected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exclusive but not cumulative: Exclusive locks can be requested several times from the same transaction and are processed successively. In contrast, exclusive but not cumulative locks can be called only once from the same transaction. All other lock requests are rejected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out this thread:&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="2271916"&gt;&lt;/A&gt;&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;&lt;/P&gt;&lt;P&gt;Arun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 07:57:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking/m-p/1952473#M392228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T07:57:07Z</dc:date>
    </item>
  </channel>
</rss>

