<?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: regarding Lock Objetcs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lock-objetcs/m-p/4322861#M1030089</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;Use enqueue FM before updating the table and After updation use dequeue FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;Use ENQUEUE_E_TABLE FM to lock the table&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE statement.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;Error Handling.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;Use DEQUEUE_E_TABLE FM to unlock the table for others to modify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do enddo is used to ensure that there are no locks apart from yours on the table before you update it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kartavya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Aug 2008 16:12:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-20T16:12:41Z</dc:date>
    <item>
      <title>regarding Lock Objetcs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lock-objetcs/m-p/4322860#M1030088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i created a lock object for my ztable and this ztable is using in ZFM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i create, SAP generates two FM's ENQUEUE_* and DEQUEUE_*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one give me some idea how to use these FM's in my ZFM whic access tables directly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Giri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2008 15:45:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lock-objetcs/m-p/4322860#M1030088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-20T15:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: regarding Lock Objetcs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lock-objetcs/m-p/4322861#M1030089</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;Use enqueue FM before updating the table and After updation use dequeue FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;Use ENQUEUE_E_TABLE FM to lock the table&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE statement.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;Error Handling.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;Use DEQUEUE_E_TABLE FM to unlock the table for others to modify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do enddo is used to ensure that there are no locks apart from yours on the table before you update it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kartavya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2008 16:12:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-lock-objetcs/m-p/4322861#M1030089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-20T16:12:41Z</dc:date>
    </item>
  </channel>
</rss>

