<?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 issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue/m-p/3737295#M899437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would the enqueue and dequeue FMs work in case of the sudden program exit( as explained below) ? &lt;/P&gt;&lt;P&gt;e,g There are two processes, processA and processB. ProcessA ran and  took whole CPU capacity and meanwhile the processB was trying to get some data and because of lack of the CPU capacity; it locks the resource.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 May 2008 13:45:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-05T13:45:02Z</dc:date>
    <item>
      <title>Locking issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue/m-p/3737288#M899430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would the usage of TRY and CATCH can prevent the locking issue in the below case ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We had an issue where we were doing the mass data load and seems that it has taken all the resources. Meanwhile an another function module was trying to update an article and it got locked and function module terminated. &lt;/P&gt;&lt;P&gt;~ Peeru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 19:58:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue/m-p/3737288#M899430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-01T19:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Locking issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue/m-p/3737289#M899431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think TRY .. CATCH will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to have the ENQUE and DEQUE mechanism on that table or transaction to avoide the "Locks" from other calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 20:18:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue/m-p/3737289#M899431</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-05-01T20:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Locking issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue/m-p/3737290#M899432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response Namiesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you aware of any documentation which would help me in implementing the ENQUE and DEQUE mechanism.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 20:59:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue/m-p/3737290#M899432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-01T20:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Locking issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue/m-p/3737291#M899433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone please give their inputs to my concern/question ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 13:19:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue/m-p/3737291#M899433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T13:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Locking issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue/m-p/3737292#M899434</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;here is the link for documentation of Enqueue and Dequeue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[https://www.sdn.sap.com/irj/sdn/wiki]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Prashanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 15:37:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue/m-p/3737292#M899434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T15:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Locking issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue/m-p/3737293#M899435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peru!!&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/f4/670f9b9d62f94db4ea7361b34ea214/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/f4/670f9b9d62f94db4ea7361b34ea214/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21eebf446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21eebf446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enqueue Service Locate the document in its SAP Library structure&lt;/P&gt;&lt;P&gt;Definition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The enqueue service is used to manage logical locks. The tried and tested Sap lock concept is used for this (see Functions of the SAP Lock Concept).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The terms enqueue server and enqueue service are used synonymously here. The correct expression is that the enqueue server is the program or process that provides the enqueue service.&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The enqueue service has the following tasks:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        Internally it is used for synchronization within the Java cluster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        The applications can lock objects and release locks again. The enqueue service processes these requests and manages the lock table with the existing locks.&lt;/P&gt;&lt;P&gt;Structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The enqueue service runs on the Central Services instance of the Java cluster. It manages the lock table in the main memory and receives requests for setting or releasing locks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It maps the logical locks to the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Architecture of the Locking Adapter Service&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deployment of a New Application&lt;/P&gt;&lt;P&gt;Integration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The enqueue service can be configured for high availability, by setting it up with the replication server and a platform-independent high availability solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly reward points.hope it helps u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 17:36:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue/m-p/3737293#M899435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T17:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Locking issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue/m-p/3737294#M899436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii,&lt;/P&gt;&lt;P&gt;the try ..end try blocks are used for the fields for exception handling.&lt;/P&gt;&lt;P&gt;for locking purpose you have to use 2 fm---&lt;/P&gt;&lt;P&gt;enqueue and dequeue.&lt;/P&gt;&lt;P&gt;in the enqueue fm you have to specify the field names which you want to be locked with the scope,funcionality,locking tries etc.&lt;/P&gt;&lt;P&gt;if you dont even call the dequeue fm ,then also all the fields used in the enqueue fm for locking are released after 1 luw(logical unit of work).&lt;/P&gt;&lt;P&gt;hopefully ths will hepl...if not plz revert back and i can give a detailed descp abt it..&lt;/P&gt;&lt;P&gt;thanks...&lt;/P&gt;&lt;P&gt;reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 08:12:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue/m-p/3737294#M899436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T08:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Locking issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue/m-p/3737295#M899437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would the enqueue and dequeue FMs work in case of the sudden program exit( as explained below) ? &lt;/P&gt;&lt;P&gt;e,g There are two processes, processA and processB. ProcessA ran and  took whole CPU capacity and meanwhile the processB was trying to get some data and because of lack of the CPU capacity; it locks the resource.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 13:45:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issue/m-p/3737295#M899437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T13:45:02Z</dc:date>
    </item>
  </channel>
</rss>

