<?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: How we can maintain lock in table level in module pool program? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-we-can-maintain-lock-in-table-level-in-module-pool-program/m-p/3846482#M924775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sitaram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If its ZTable create the LOCK objects for the tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create a lock object SAP automatically creates two FM's 'ENQUEUE_E&amp;lt;table&amp;gt;' and DEQUEUE_E&amp;lt;tablename&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the enqueue function module to lock the records that you are reading.&lt;/P&gt;&lt;P&gt;Important thing is that the other programs which are reading data from the table should also use this ENQUEUE function module in order to verify the locks. This because SAP does not create locks at database level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 May 2008 02:59:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-26T02:59:06Z</dc:date>
    <item>
      <title>How we can maintain lock in table level in module pool program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-we-can-maintain-lock-in-table-level-in-module-pool-program/m-p/3846481#M924774</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;I have one requirement, In that i am getting data from six tables , now how we can put lock on dependant tables , here we are getting data from six tables, at that time no one can allow to modify the record of those tables , they can be able to read the records not to modify , how we can do that. Please explain it to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2008 02:51:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-we-can-maintain-lock-in-table-level-in-module-pool-program/m-p/3846481#M924774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-26T02:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: How we can maintain lock in table level in module pool program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-we-can-maintain-lock-in-table-level-in-module-pool-program/m-p/3846482#M924775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sitaram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If its ZTable create the LOCK objects for the tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create a lock object SAP automatically creates two FM's 'ENQUEUE_E&amp;lt;table&amp;gt;' and DEQUEUE_E&amp;lt;tablename&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the enqueue function module to lock the records that you are reading.&lt;/P&gt;&lt;P&gt;Important thing is that the other programs which are reading data from the table should also use this ENQUEUE function module in order to verify the locks. This because SAP does not create locks at database level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2008 02:59:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-we-can-maintain-lock-in-table-level-in-module-pool-program/m-p/3846482#M924775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-26T02:59:06Z</dc:date>
    </item>
  </channel>
</rss>

