<?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 Function modules upon activation of locked objects? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-upon-activation-of-locked-objects/m-p/4914700#M1147241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are the names of the functional modules that will be generated upon activation of locked objects?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Dec 2008 07:49:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-21T07:49:54Z</dc:date>
    <item>
      <title>Function modules upon activation of locked objects?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-upon-activation-of-locked-objects/m-p/4914700#M1147241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are the names of the functional modules that will be generated upon activation of locked objects?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Dec 2008 07:49:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-upon-activation-of-locked-objects/m-p/4914700#M1147241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-21T07:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Function modules upon activation of locked objects?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-upon-activation-of-locked-objects/m-p/4914701#M1147242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prior to creating setting any locks in an ABAP program, a lock objects must be created in the ABAP dictionary.&lt;/P&gt;&lt;P&gt;When the lock object is created, the system will automatically generated the two function modules required for locl management.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The First function module used to set locks is the ENQUEUE_&amp;lt;lock Object Name&amp;gt;. This function module is used to generate a lock entry in the lock table. If the lock cannot be set for any reason then this would be reflected in the return code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second function module used to release locks is the DEQUEUE_&amp;lt;Lock Object Name&amp;gt;. Thus function module will remove a lock entry from the lock table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These Function modules are used to set and release locks in an ABAP program. The programmer simply perform the specific "CALL FUCNTION.."&lt;/P&gt;&lt;P&gt;statemen for each functiom module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These lock functiom modules are executed in a specific work process with the SAP system dedicated to lock management, This work process is run on a single server that maintains the central lock table for entire SAP system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two types of locks that can be set:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shared lock - is a read only lock that prevents data from being changed while a user is reading it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exclusive lock- is a rite lock that prevents data being changed while a used is already modifying it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Best Regards,&lt;/P&gt;&lt;P&gt;Shakti Barath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Dec 2008 08:03:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-upon-activation-of-locked-objects/m-p/4914701#M1147242</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-21T08:03:42Z</dc:date>
    </item>
  </channel>
</rss>

