<?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: Ask about locking in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ask-about-locking/m-p/2985544#M705003</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In "The SAP Lock Concept" look at "The SAP Lock Concept" try to use _SCOPE  = 3 so commit wont release the lock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also keep in mind that the lock is related to the luw. Some instructions can leave the current luw. (CALL TRANSACTION and the like)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Nov 2007 08:31:45 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2007-11-09T08:31:45Z</dc:date>
    <item>
      <title>Ask about locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ask-about-locking/m-p/2985539#M704998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some problem about SAP Locking mechanism..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the case is :&lt;/P&gt;&lt;P&gt;a. i have some dummy transparent table called ZBCT_PLANT based on this table we create some locking object.&lt;/P&gt;&lt;P&gt;b. this locking object is to make sure that my enchancement program processing only one combination data of plant, vendor, storage loc. and material number&lt;/P&gt;&lt;P&gt;c. this locking object starting at first the transaction called and after posting (using recording from VL31N) the lock is released..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now, the fact is :&lt;/P&gt;&lt;P&gt;- the locking is often to released itself even the statement dequeu not called... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so my question : is there any condition which make this lock released itself ? regarding this lock is fully controlled from my enhancement not by standard SAP...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i will reward points for someone who could gimme answer for this.. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;if you need more explanation pls feel free to ask me.. because the logic is complicated so maybe my summary not satisfied you... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;sasmito&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 07:47:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ask-about-locking/m-p/2985539#M704998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-09T07:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ask about locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ask-about-locking/m-p/2985540#M704999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are three ways to release a lock&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Call of DEQUEUE_E module&lt;/P&gt;&lt;P&gt;- COMMIT WORK (lock is transmitted to update task which releases the lock at end of V1 updates)&lt;/P&gt;&lt;P&gt;- ROLLBACK WORK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the end of the transaction LUW which locked the record executes a COMMIT or ROLLBACK it also releases the lock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look also at those documentations &amp;lt;a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCSTUP/BCCSTUP_PT.pdf"&amp;gt;Updates in the R/3 System (BC-CST-UP)&amp;lt;/a&amp;gt; and &lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCSTEQ/BCCSTEQ_PT.pdf"&amp;gt;The SAP Lock Concept (BC-CST-EQ)&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 07:53:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ask-about-locking/m-p/2985540#M704999</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-11-09T07:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Ask about locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ask-about-locking/m-p/2985541#M705000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it seems that Commit work is releasing urr lock .. hw ever if u still want to be in control of urr locks try the parameter scope = 2 it there will be two simultaious lock (note that urr lock type should be S or E ) one will be release by the update program and other will  be release by your main program from which you are calling in update task and commit work .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so now you have to call commitwork or deque all from urr update program also..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 08:14:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ask-about-locking/m-p/2985541#M705000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-09T08:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Ask about locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ask-about-locking/m-p/2985542#M705001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Raymond..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's confusing me.. &lt;/P&gt;&lt;P&gt;there's no such call in my code (you mentioned....)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the lock is release itself.. and for some other data (in loop) suddenly it lock again and it can released automatically again.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if i have data in loop some part of it are encountered locking, but some others no..&lt;/P&gt;&lt;P&gt;like i mentioned before i lock at the beginning, so suppose all the data in loop are encountered locking... not partial&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;sasmito&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 08:24:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ask-about-locking/m-p/2985542#M705001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-09T08:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Ask about locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ask-about-locking/m-p/2985543#M705002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry but i think the scope is set by default to 2.. &lt;/P&gt;&lt;P&gt;if what you mean is the parameter _scope in lock enqueu function module..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so it is not working..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;sasmito&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        sasmito handoko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 08:27:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ask-about-locking/m-p/2985543#M705002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-09T08:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ask about locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ask-about-locking/m-p/2985544#M705003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In "The SAP Lock Concept" look at "The SAP Lock Concept" try to use _SCOPE  = 3 so commit wont release the lock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also keep in mind that the lock is related to the luw. Some instructions can leave the current luw. (CALL TRANSACTION and the like)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 08:31:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ask-about-locking/m-p/2985544#M705003</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-11-09T08:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ask about locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ask-about-locking/m-p/2985545#M705004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DA...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;more information that in my development client the locking seems working well...&lt;/P&gt;&lt;P&gt;and we found this problem in our production/operational client.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there possibility of SAP Setting/Configuration or else ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;sasmito&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 08:32:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ask-about-locking/m-p/2985545#M705004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-09T08:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ask about locking</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ask-about-locking/m-p/2985546#M705005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the locking was not even released by itself.. &lt;/P&gt;&lt;P&gt;the assumption was led to a mistaken..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the case is that the update throw in local update task.. so when the system go slow.. theres some error locking by itself..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case closed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2008 05:53:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ask-about-locking/m-p/2985546#M705005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-18T05:53:18Z</dc:date>
    </item>
  </channel>
</rss>

