<?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 ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-abap/m-p/1134818#M112727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are two types of lock for table update in SAP.&lt;/P&gt;&lt;P&gt;1.Database Lock&lt;/P&gt;&lt;P&gt;2.SAP Lock&lt;/P&gt;&lt;P&gt;        Database Lock span to LUW(Logical Unit og Work)or to one dialog step while SAP lock can be extened to multuiple dilog steps in  one tranaction.&lt;/P&gt;&lt;P&gt;           As well database lock physically set with Open SQL statement like Select Single For Update,modify or insert while in case of SAP lock you have to set  lock object exclusivly on row of database table.You have creat lock object on perticular database table and when you activate this object, it generate two funcion module ENQUEUE obj and DEQUEUE obj.By these function module you provide logical condition on which lock object set on database table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Aug 2006 13:54:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-04T13:54:06Z</dc:date>
    <item>
      <title>Locking in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-abap/m-p/1134811#M112720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain what is Locking in ABAP? How do you do it? Any examples would help me to understand this process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Vinu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2006 18:02:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-abap/m-p/1134811#M112720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-12T18:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Locking in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-abap/m-p/1134812#M112721</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;FOR example if u r modifying one program ...no other user can modify the same program at the same time...till u come out os that program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As that program is locked by you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2006 18:06:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-abap/m-p/1134812#M112721</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-12T18:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Locking in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-abap/m-p/1134813#M112722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinu,&lt;/P&gt;&lt;P&gt;    When you are doing any modification to a table or its record then you need to lock the record so that there wont be any body else who will be allowed to modify the same record at the same time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    This you achieve by using the ENQUEUE &amp;amp; DEQUEUE function modules for the corresponding tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    if its a custom table then you need to make the lock objects of your own through SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Next is object lock which occurs when you were editing a report program and then the connection went off. In that case the object will be locked in the edit mode. This can be deleted from the transaction SM12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What kind of table locks you can use is mentioned elaborately in help.sap.com &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;JK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2006 18:08:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-abap/m-p/1134813#M112722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-12T18:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Locking in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-abap/m-p/1134814#M112723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The concept of locks is closely related to the concept of transaction isolation. Transaction isolation makes sure that two simultaneously running transactions do not affect each other. Transaction isolation levels are realized by setting locks on read or changed rows in a database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Databases provide multiple isolation levels that determine how strong the isolation is between two simultaneously running transactions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2006 18:14:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-abap/m-p/1134814#M112723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-12T18:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Locking in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-abap/m-p/1134815#M112724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vinu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use these functional modules....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;BAL_DB_ENQUEUE&amp;lt;/b&amp;gt;----&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt;Lock log&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ENQUEUE_ESFUNCTION&amp;lt;/b&amp;gt;----&amp;gt;Lock an abap program so that it&lt;/P&gt;&lt;P&gt;                       cannot be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;1. Example code for Database Locking...&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/dictionary/lock_enqueue.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/dictionary/lock_enqueue.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;2. Help.Sap.Com&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/7b/f9813712f7434be10000009b38f8cf/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/7b/f9813712f7434be10000009b38f8cf/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maheswaran.B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Maheswaran B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2006 18:31:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-abap/m-p/1134815#M112724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-12T18:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Locking in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-abap/m-p/1134816#M112725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you folks for helping in understanding the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have awarded the points accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vinu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2006 18:38:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-abap/m-p/1134816#M112725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-12T18:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Locking in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-abap/m-p/1134817#M112726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should also know that locking is logical, not physical. Just because a program locks a table entry does not mean that no one can change that entry. Any program that tries to change a record should try to lock the record. If the lock fails, it generally means that the record is locked and that the program should not change it. But there is nothing actually preventing the program from making the change if the record is locked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2006 20:56:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-abap/m-p/1134817#M112726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-12T20:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Locking in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-abap/m-p/1134818#M112727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are two types of lock for table update in SAP.&lt;/P&gt;&lt;P&gt;1.Database Lock&lt;/P&gt;&lt;P&gt;2.SAP Lock&lt;/P&gt;&lt;P&gt;        Database Lock span to LUW(Logical Unit og Work)or to one dialog step while SAP lock can be extened to multuiple dilog steps in  one tranaction.&lt;/P&gt;&lt;P&gt;           As well database lock physically set with Open SQL statement like Select Single For Update,modify or insert while in case of SAP lock you have to set  lock object exclusivly on row of database table.You have creat lock object on perticular database table and when you activate this object, it generate two funcion module ENQUEUE obj and DEQUEUE obj.By these function module you provide logical condition on which lock object set on database table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2006 13:54:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-abap/m-p/1134818#M112727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-04T13:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Locking in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-abap/m-p/1134819#M112728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vinu,&lt;/P&gt;&lt;P&gt;The R/3 System synchronizes simultaneous access of several users to the same data records with a lock mechanism. When interactive transactions are programmed, locks are set and released by calling function modules (see Function Modules for Lock Requests). These function modules are automatically generated from the definition of lock objects in the ABAP Dictionary&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check the link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/41/7af4c5a79e11d1950f0000e82de14a/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/41/7af4c5a79e11d1950f0000e82de14a/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/8e/c7430d53fd2548be18a291c27bd72e/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/8e/c7430d53fd2548be18a291c27bd72e/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2006 14:21:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-in-abap/m-p/1134819#M112728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-04T14:21:34Z</dc:date>
    </item>
  </channel>
</rss>

