<?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 SAP Table Lock object in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-table-lock-object/m-p/3983134#M951459</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;I am doing a Mass Material group change project where the existing Material groups have to be changed to a new one in all the related tables.&lt;/P&gt;&lt;P&gt;And i would be doing a direct update programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So before doing this, in my program i would like to know if the table is Locked if not do a DB lock and then carry on with the table updates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that i can find the SAP Lock objects for the table from DD025L table and then use it in my program i.e FM: ENQUEUE_"Lockobject". &lt;/P&gt;&lt;P&gt;But not all tables have LOck objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way to find if any of the table is locked and use the Lock mechanism. (maybe a common way for all tables)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jun 2008 21:39:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-23T21:39:54Z</dc:date>
    <item>
      <title>SAP Table Lock object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-table-lock-object/m-p/3983134#M951459</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;I am doing a Mass Material group change project where the existing Material groups have to be changed to a new one in all the related tables.&lt;/P&gt;&lt;P&gt;And i would be doing a direct update programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So before doing this, in my program i would like to know if the table is Locked if not do a DB lock and then carry on with the table updates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that i can find the SAP Lock objects for the table from DD025L table and then use it in my program i.e FM: ENQUEUE_"Lockobject". &lt;/P&gt;&lt;P&gt;But not all tables have LOck objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way to find if any of the table is locked and use the Lock mechanism. (maybe a common way for all tables)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 21:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-table-lock-object/m-p/3983134#M951459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T21:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Table Lock object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-table-lock-object/m-p/3983135#M951460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Midhun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the tcode &lt;STRONG&gt;SM12&lt;/STRONG&gt;  which gives the list of all tables and the records(argument) which are locked........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this tcode uses the FM &lt;STRONG&gt;ENQUEUE_READ&lt;/STRONG&gt; and v can also use it if v need to find the locked tables in our z-prog.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 04:52:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-table-lock-object/m-p/3983135#M951460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T04:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Table Lock object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-table-lock-object/m-p/3983136#M951461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using ENQUEUE_READ we can read Lock entries, is there any common FM to Lock the table at Client level?&lt;/P&gt;&lt;P&gt;or should we use only the respective Lock object FM for the corresponsing table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 11:59:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-table-lock-object/m-p/3983136#M951461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T11:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Table Lock object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-table-lock-object/m-p/3983137#M951462</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;I think there is no such generic std FM......n is better to use lock objects fms...........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;lock across clients/lock for a client&lt;/STRONG&gt; is determined by the table's &lt;STRONG&gt;mandt&lt;/STRONG&gt; field of the table locked i.e if its a cross client table it is locked across the clients else only on dat client..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 12:09:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-table-lock-object/m-p/3983137#M951462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T12:09:21Z</dc:date>
    </item>
  </channel>
</rss>

