<?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: Problem of FM ENQUEUE_EVVBLKE return code 2. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-of-fm-enqueue-evvblke-return-code-2/m-p/6641138#M1443458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will lock the whole table.It is dangerours.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Jul 2010 03:01:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-02T03:01:21Z</dc:date>
    <item>
      <title>Problem of FM ENQUEUE_EVVBLKE return code 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-of-fm-enqueue-evvblke-return-code-2/m-p/6641134#M1443454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The delivery picking program is customizing. I used FM 'ENQUEUE_EVVBLKE' in order to lock the delivery no. before picking. I also used FM 'DEQUEUE_EVVBLKE'  after the user finish picking the delivery. But the delivery still be locked if another user run the same program again. The return code of the FM 'ENQUEUE_EVVBLKE'  is 2. That's why? Thanks!&lt;/P&gt;&lt;P&gt;The codes are as follows:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;lock delivery&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CALL FUNCTION 'ENQUEUE_EVVBLKE' &lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        MODE_LIKP            = 'E' &lt;/P&gt;&lt;P&gt;        MANDT                = SY-MANDT &lt;/P&gt;&lt;P&gt;        vbeln          = v_vbeln&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        foreign_lock   = 2&lt;/P&gt;&lt;P&gt;        system_failure = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*unlock delivery&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'DEQUEUE_EVVBLKE' &lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;       MODE_LIKP       = 'E'&lt;/P&gt;&lt;P&gt;       MANDT           = SY-MANDT&lt;/P&gt;&lt;P&gt;       VBELN           = v_vbeln.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      X_VBELN         = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      _SCOPE          = '3'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      _SYNCHRON       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      _COLLECT        = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 05:34:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-of-fm-enqueue-evvblke-return-code-2/m-p/6641134#M1443454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-02T05:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem of FM ENQUEUE_EVVBLKE return code 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-of-fm-enqueue-evvblke-return-code-2/m-p/6641135#M1443455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does any one can help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 14:28:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-of-fm-enqueue-evvblke-return-code-2/m-p/6641135#M1443455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-02T14:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem of FM ENQUEUE_EVVBLKE return code 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-of-fm-enqueue-evvblke-return-code-2/m-p/6641136#M1443456</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;put a break-point on CALL FUNCTION 'DEQUEUE_EVVBLKE'  and check if it is always reached and if the value of v_vbeln is the same as at the point of calling FM 'ENQUEUE_EVVBLKE'. Also check if no 'ENQUEUE_EVVBLKE' is called after 'DEQUEUE_EVVBLKE' for the same v_vbeln. If these things are ok, try to call dequeue function module with &lt;U&gt;SYNCHRON = 'X'. You can also check locks in transaction SM12 after call of DEQUEUE&lt;/U&gt;EVVBLKE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 18:47:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-of-fm-enqueue-evvblke-return-code-2/m-p/6641136#M1443456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-02T18:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem of FM ENQUEUE_EVVBLKE return code 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-of-fm-enqueue-evvblke-return-code-2/m-p/6641137#M1443457</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;You can try the following too:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ENQUEUE_E_TABLE'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   MODE_RSTABLE         = 'X'&lt;/P&gt;&lt;P&gt;   TABNAME              = 'EVVBLKE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DEQUEUE_E_TABLE'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   MODE_RSTABLE       = 'X'&lt;/P&gt;&lt;P&gt;   TABNAME            = 'EVVBLKE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gilberto Li&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 20:22:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-of-fm-enqueue-evvblke-return-code-2/m-p/6641137#M1443457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-02T20:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem of FM ENQUEUE_EVVBLKE return code 2.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-of-fm-enqueue-evvblke-return-code-2/m-p/6641138#M1443458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will lock the whole table.It is dangerours.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 03:01:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-of-fm-enqueue-evvblke-return-code-2/m-p/6641138#M1443458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-02T03:01:21Z</dc:date>
    </item>
  </channel>
</rss>

