<?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: Locks in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/locks/m-p/3473564#M834927</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nishant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP provies LOCK OBJECTS to lock the database table and always provides exclusive access for editing and updating the Database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All Locking Function Modules starts with ENQUEUE. Example to lock table LTAP, we can use FM ENQUEUE_ELLTAPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly all unlocking function modules starts with DEQUEUE. To unlock table LTAP we can use function module DEQUEUE_ELLTAPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this link for more info:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/a2/3547360f2ea61fe10000009b38f839/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/a2/3547360f2ea61fe10000009b38f839/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward me if useful....&lt;/P&gt;&lt;P&gt;Harimanjesh AN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Feb 2008 10:37:55 GMT</pubDate>
    <dc:creator>harimanjesh_an</dc:creator>
    <dc:date>2008-02-29T10:37:55Z</dc:date>
    <item>
      <title>Locks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locks/m-p/3473561#M834924</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 have made three custom tcodes:&lt;/P&gt;&lt;P&gt;1. Form create&lt;/P&gt;&lt;P&gt;2. Form change&lt;/P&gt;&lt;P&gt;3. Display.&lt;/P&gt;&lt;P&gt;(Like standard SAP).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to implement the functionality that if somebody has opened say formno 20 in change mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nobody shud open form 20 again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It shud show a message 'Form 20 is currently edited by --- user'&lt;/P&gt;&lt;P&gt;Points will b awarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Nishant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 10:20:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locks/m-p/3473561#M834924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-29T10:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Locks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locks/m-p/3473562#M834925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nishant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To lock objects, SAP provides some Function Modules starting with ENQUEUE. Example, to lock Table LTAP SAP provides FM ENQUEUE_ELLTAPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly, to unlock we have FM starting with DEQUEUE. Example, to unlock table LTAP we use FM DEQUEUE_ELLTAPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, search the FM that meets your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this link for more info:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/a2/3547360f2ea61fe10000009b38f839/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/a2/3547360f2ea61fe10000009b38f839/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward me if useful,&lt;/P&gt;&lt;P&gt;Harimanjesh AN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 10:28:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locks/m-p/3473562#M834925</guid>
      <dc:creator>harimanjesh_an</dc:creator>
      <dc:date>2008-02-29T10:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Locks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locks/m-p/3473563#M834926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your program when you go into Edit mode for a form, call the FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENQUEUE_ESINDX with RELID = 'ZZ' and your form name. If the FM returns SUBRC greater than 0, then throw the message .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 10:29:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locks/m-p/3473563#M834926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-29T10:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Locks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locks/m-p/3473564#M834927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nishant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP provies LOCK OBJECTS to lock the database table and always provides exclusive access for editing and updating the Database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All Locking Function Modules starts with ENQUEUE. Example to lock table LTAP, we can use FM ENQUEUE_ELLTAPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly all unlocking function modules starts with DEQUEUE. To unlock table LTAP we can use function module DEQUEUE_ELLTAPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this link for more info:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/a2/3547360f2ea61fe10000009b38f839/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/a2/3547360f2ea61fe10000009b38f839/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward me if useful....&lt;/P&gt;&lt;P&gt;Harimanjesh AN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 10:37:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locks/m-p/3473564#M834927</guid>
      <dc:creator>harimanjesh_an</dc:creator>
      <dc:date>2008-02-29T10:37:55Z</dc:date>
    </item>
  </channel>
</rss>

