<?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 Lock created using Function 'ENQUEUE_E_TABLE' fails after some time! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-created-using-function-enqueue-e-table-fails-after-some-time/m-p/4310229#M1027482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Abaper's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using function "ENQUEUE_E_TABLE" to create a lock entry for a Z table when executing an Z report. And, in fact the function works. When I look up entries in transaction SM12, there is the entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is, that the lock entry seems to disappear without any reason. It seems to me, that there must be something that delete's the entry even before I force the dequeue using function "DEQUEUE_E_TABLE". Does anybody knows, if there is any statemente that could be responsible for eliminating a lock entry in transaction SM12? Something like a commit work, other function call's or even BAPI's?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcelo Moreira&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be awarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Aug 2008 17:45:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-06T17:45:30Z</dc:date>
    <item>
      <title>Lock created using Function 'ENQUEUE_E_TABLE' fails after some time!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-created-using-function-enqueue-e-table-fails-after-some-time/m-p/4310229#M1027482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Abaper's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using function "ENQUEUE_E_TABLE" to create a lock entry for a Z table when executing an Z report. And, in fact the function works. When I look up entries in transaction SM12, there is the entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is, that the lock entry seems to disappear without any reason. It seems to me, that there must be something that delete's the entry even before I force the dequeue using function "DEQUEUE_E_TABLE". Does anybody knows, if there is any statemente that could be responsible for eliminating a lock entry in transaction SM12? Something like a commit work, other function call's or even BAPI's?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcelo Moreira&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be awarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 17:45:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-created-using-function-enqueue-e-table-fails-after-some-time/m-p/4310229#M1027482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T17:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Lock created using Function 'ENQUEUE_E_TABLE' fails after some time!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-created-using-function-enqueue-e-table-fails-after-some-time/m-p/4310230#M1027483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcelo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only a DEQUEUE_E_TABLE can unlock the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to debug your report to see if somewhere it has a dequeue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 19:23:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-created-using-function-enqueue-e-table-fails-after-some-time/m-p/4310230#M1027483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T19:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Lock created using Function 'ENQUEUE_E_TABLE' fails after some time!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-created-using-function-enqueue-e-table-fails-after-some-time/m-p/4310231#M1027484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Ytamar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I expected to happen, but it isn't!! My report is not that long, and there is nothing that seems to unlock my table. But during debug I monitor also the lock table, but after some time the lock of my table is eliminated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my report is something like that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;" call of the enqueue function for z_db_table
loop at itab.

" inside the loop statemente I call some BAPI's, one of them is the BAPI_TRANSACTION_COMMIT

endloop.

update z_db_table from table itab.

" call of the dequeue function for z_db_table&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In debug, at least when I reach the update statement lock is gone!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any more suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 09:06:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-created-using-function-enqueue-e-table-fails-after-some-time/m-p/4310231#M1027484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-07T09:06:08Z</dc:date>
    </item>
  </channel>
</rss>

