<?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 DEQUEUE_E_TABLE  is not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747372#M1459519</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt; We have a locked a Ztable by using the FM  "ENQUEUE_E_TABLE"  and the in SM12 we can see that the table is locked.&lt;/P&gt;&lt;P&gt; We are unlocking the ztable by uing the FM  "DEQUEUE_E_TABLE" but  when we check in SM12 the loked  entery is not unlocked  .can any one help us what is the issue with "DEQUEUE_E_TABLE " FM.&lt;/P&gt;&lt;P&gt;&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;-&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt;cb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Mar 2010 11:56:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-25T11:56:58Z</dc:date>
    <item>
      <title>DEQUEUE_E_TABLE  is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747372#M1459519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt; We have a locked a Ztable by using the FM  "ENQUEUE_E_TABLE"  and the in SM12 we can see that the table is locked.&lt;/P&gt;&lt;P&gt; We are unlocking the ztable by uing the FM  "DEQUEUE_E_TABLE" but  when we check in SM12 the loked  entery is not unlocked  .can any one help us what is the issue with "DEQUEUE_E_TABLE " FM.&lt;/P&gt;&lt;P&gt;&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;-&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt;cb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 11:56:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747372#M1459519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-25T11:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: DEQUEUE_E_TABLE  is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747373#M1459520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  ,&lt;/P&gt;&lt;P&gt;   Is any one has idea,what  would be the issue.&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;-&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;cb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 06:20:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747373#M1459520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-26T06:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: DEQUEUE_E_TABLE  is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747374#M1459521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case your dequeue F.M is not working use &lt;/P&gt;&lt;P&gt;DEQUEUE_ALL &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 06:25:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747374#M1459521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-26T06:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: DEQUEUE_E_TABLE  is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747375#M1459522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please share your code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 06:25:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747375#M1459522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-26T06:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: DEQUEUE_E_TABLE  is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747376#M1459523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try FM 'DEQUEUE_ALL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will dequeue all lock which are acquired by respective program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sarbpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 06:29:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747376#M1459523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-26T06:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: DEQUEUE_E_TABLE  is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747377#M1459524</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;PRE&gt;&lt;CODE&gt;for locking

FORM F_LOCK_TABLE  USING    P_GV_TABLE_NAME.
  DATA : lv_varkey TYPE rstable-varkey.
  lv_varkey = sy-mandt.

    CALL FUNCTION 'ENQUEUE_E_TABLE'
     EXPORTING
       TABNAME              = P_GV_TABLE_NAME
       VARKEY               = lv_varkey
     EXCEPTIONS
       FOREIGN_LOCK         = 1
       SYSTEM_FAILURE       = 2
       OTHERS               = 3.
    IF SY-SUBRC &amp;lt;&amp;gt; 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
ENDFORM.   


for unlocking


*----------------------------------------------------------------------*
FORM F_UNLOCK_TABLE  USING    P_GV_TABLE_NAME.
CALL FUNCTION 'DEQUEUE_E_TABLE'
 EXPORTING
   TABNAME            = P_GV_TABLE_NAME.
ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;between this we are doing chages to ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;cb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 07:50:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747377#M1459524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-26T07:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: DEQUEUE_E_TABLE  is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747378#M1459525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhanu,&lt;/P&gt;&lt;P&gt; thanks for your reply, but i checked the DEQUEUE_ALL  , it is also not working.&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;-&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;cb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 07:56:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747378#M1459525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-26T07:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: DEQUEUE_E_TABLE  is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747379#M1459526</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;Try this FM &lt;STRONG&gt;DEQUEUE_EMI_LOCKTABLE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ritesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 09:11:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747379#M1459526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-26T09:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: DEQUEUE_E_TABLE  is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747380#M1459527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rithesh,&lt;/P&gt;&lt;P&gt;  thanks for your reply,&lt;/P&gt;&lt;P&gt;  but this FM is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;-&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;cb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 12:54:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747380#M1459527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-26T12:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: DEQUEUE_E_TABLE  is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747381#M1459528</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;First check weather table is locked or not. USE the FM ENQUEUE_E_TABLE &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ENQUEUE_E_TABLE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      tabname        = &amp;lt;table name&amp;gt;&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      foreign_lock   = 1&lt;/P&gt;&lt;P&gt;      system_failure = 2&lt;/P&gt;&lt;P&gt;      OTHERS         = 3.&lt;/P&gt;&lt;P&gt;  CASE sy-subrc .&lt;/P&gt;&lt;P&gt;    WHEN '0' .                         "Success&lt;/P&gt;&lt;P&gt;    WHEN '1' .&lt;/P&gt;&lt;P&gt;      MESSAGE e045 WITH  sy-msgv1  text-018.       "foreign lock&lt;/P&gt;&lt;P&gt;    WHEN '2' .&lt;/P&gt;&lt;P&gt;      MESSAGE e045 WITH  text-019.     "syst. failure&lt;/P&gt;&lt;P&gt;    WHEN OTHERS.&lt;/P&gt;&lt;P&gt;      MESSAGE e045 WITH  text-020 .    "others&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then unlock the table by using FM DEQUEUE_E_TABLE&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;Bharani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 13:18:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747381#M1459528</guid>
      <dc:creator>BH2408</dc:creator>
      <dc:date>2010-03-26T13:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: DEQUEUE_E_TABLE  is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747382#M1459529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;  I have just observed on starng  thing in the lock and unlock FM&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; if i lock a ztable from SM37  using the FM  " ENQUEUE_E_TABLEE " the table will lock ,but table  will be unlocked only if we come back of the ENQUEUE_E_TABLEE  session and   then execute the FM  "DEUEUE_E_TABLEE" then table will be unlocked the correclty.&lt;/P&gt;&lt;P&gt;  but if use   othere seesion to executre the FM "DEUEUE_E_TABLEE,, then it will not unlock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   how can we  handle this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;-&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;cb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Mar 2010 09:01:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747382#M1459529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-29T09:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: DEQUEUE_E_TABLE  is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747383#M1459530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; the issue has been  resloved,the problem is with the parmeter ,we need to var key  in the deque FM also.&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;cb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Apr 2010 16:45:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue-e-table-is-not-working/m-p/6747383#M1459530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-19T16:45:55Z</dc:date>
    </item>
  </channel>
</rss>

