<?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: Error while lock object creation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-lock-object-creation/m-p/2448786#M548682</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;I think the error is becoz you have given too many LOCK parameters in the lock object. the total length of the PARAMTERS of lock object should not exceed 150.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default all the KEY fields will be taken as Lock paramters, so your table key's length is more than 150.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also why dont you create 3 lock objects for each table and then use only KEY's of each table as LOCK PARAMETERS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then Lock T1 record first then lock T2 and T3 records, then delete records from T2 and T3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you delete T1 record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The execute DEQUEUE_ALL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jun 2007 07:36:13 GMT</pubDate>
    <dc:creator>seshatalpasai_madala</dc:creator>
    <dc:date>2007-06-26T07:36:13Z</dc:date>
    <item>
      <title>Error while lock object creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-lock-object-creation/m-p/2448785#M548681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;When I tried to create a lock object, I get the following error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: "Total length of lock argument for table XXXXXXXXX longer than 150"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 tables in which Table1 is the check table for the value tables (Table2 &amp;amp; Table3). During the process of deletion of a record from Table1 (CT) I need the lock tobe established on value tables and then I delete all the corresponding entries in value tables are also deleted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would like to know If there is any other std ways of doing this ? and &lt;/P&gt;&lt;P&gt;Solution to overcome the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 07:23:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-lock-object-creation/m-p/2448785#M548681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T07:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error while lock object creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-lock-object-creation/m-p/2448786#M548682</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;I think the error is becoz you have given too many LOCK parameters in the lock object. the total length of the PARAMTERS of lock object should not exceed 150.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default all the KEY fields will be taken as Lock paramters, so your table key's length is more than 150.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also why dont you create 3 lock objects for each table and then use only KEY's of each table as LOCK PARAMETERS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then Lock T1 record first then lock T2 and T3 records, then delete records from T2 and T3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you delete T1 record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The execute DEQUEUE_ALL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 07:36:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-lock-object-creation/m-p/2448786#M548682</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-06-26T07:36:13Z</dc:date>
    </item>
  </channel>
</rss>

