<?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: BAPI_BUS2054_CREATE_MULTI and Too Many Lock Objects in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-create-multi-and-too-many-lock-objects/m-p/3017048#M713073</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the Lock table can only handle a certain number of lock entries at any given point of time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try using parallel processing to create ur WBSE, we are updating the WBSE in this way and are not facing any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Feb 2014 04:58:52 GMT</pubDate>
    <dc:creator>vamsixk</dc:creator>
    <dc:date>2014-02-28T04:58:52Z</dc:date>
    <item>
      <title>BAPI_BUS2054_CREATE_MULTI and Too Many Lock Objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-create-multi-and-too-many-lock-objects/m-p/3017045#M713070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been asked to review an issue with too many Lock Objects being generated by a Projects System program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program is custom; however,it uses the core BAPIs associated with creating it's Project - specifically:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_PS_INITIALIZATION&lt;/P&gt;&lt;P&gt;BAPI_BUS2001_CREATE&lt;/P&gt;&lt;P&gt;BAPI_BUS2054_CREATE_MULTI &lt;/P&gt;&lt;P&gt;BAPI_PS_PRECOMMIT&lt;/P&gt;&lt;P&gt;BAPI_TRANSACTION_COMMIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this situation, the custom program is trying to build a Project with about 2000 Outlets and a template that has 4 or 5 WBS elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B/c of this, the system is creating and HOLDING 8000-10,000 Lock Objects while processing through the BAPI_BUS2054_CREATE_MULTI logic.  The Locks are released following the COMMITs in BAPI_TRANSACTION_COMMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But our issue is that 8000+ Locks are producing a "Table Lock Overflow" error for other users that are performing different t-codes / processes throughout the enterprise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone seen and has anyone overcome this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In reviewing Projects, it appears that Project Systems is creating and holding the Locks to guarantee data consistency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our Basis Team has the Lock Table Max set at 80 KB currently - and they are reluctant to increase beyond that - especially for one, unique program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thoughts?  Ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Alvaro Tejada Galindo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 18:42:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-create-multi-and-too-many-lock-objects/m-p/3017045#M713070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T18:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BUS2054_CREATE_MULTI and Too Many Lock Objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-create-multi-and-too-many-lock-objects/m-p/3017046#M713071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any Projects Pro's?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 19:55:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-create-multi-and-too-many-lock-objects/m-p/3017046#M713071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T19:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BUS2054_CREATE_MULTI and Too Many Lock Objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-create-multi-and-too-many-lock-objects/m-p/3017047#M713072</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;Run Enqueue Trace while your program is executing and study it. Check the attributes of Enqueues which are not getting cleared at the end of each transaction. Call a Dequeue FM passing attributes  similar to Enqueue lock.&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;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 20:28:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-create-multi-and-too-many-lock-objects/m-p/3017047#M713072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T20:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BUS2054_CREATE_MULTI and Too Many Lock Objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-create-multi-and-too-many-lock-objects/m-p/3017048#M713073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the Lock table can only handle a certain number of lock entries at any given point of time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try using parallel processing to create ur WBSE, we are updating the WBSE in this way and are not facing any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 04:58:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-create-multi-and-too-many-lock-objects/m-p/3017048#M713073</guid>
      <dc:creator>vamsixk</dc:creator>
      <dc:date>2014-02-28T04:58:52Z</dc:date>
    </item>
  </channel>
</rss>

