<?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 ENQUEUE_EVVBAKE is not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194432#M1909828</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a problem, i am using the lock object ENQUEUE_EVVBAKE in BSP , Please find the sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL FUNCTION 'ENQUEUE_EVVBAKE'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VBELN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = PF_VBELN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXCEPTIONS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FOREIGN_LOCK&amp;nbsp;&amp;nbsp; = 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SYSTEM_FAILURE = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/747024" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is working fine in the debugging mode, When i press F8 or it comes out from the debugger system release lock object automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Arjun&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jul 2015 06:25:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-07-14T06:25:44Z</dc:date>
    <item>
      <title>ENQUEUE_EVVBAKE is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194432#M1909828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a problem, i am using the lock object ENQUEUE_EVVBAKE in BSP , Please find the sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL FUNCTION 'ENQUEUE_EVVBAKE'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VBELN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = PF_VBELN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXCEPTIONS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FOREIGN_LOCK&amp;nbsp;&amp;nbsp; = 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SYSTEM_FAILURE = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/747024" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is working fine in the debugging mode, When i press F8 or it comes out from the debugger system release lock object automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Arjun&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 06:25:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194432#M1909828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-14T06:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: ENQUEUE_EVVBAKE is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194433#M1909829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arjun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is due to the fact that the Sales Document is already locked by another.. Please check the user ID which is locking it and if is not your user id then ask the user to come out of edit mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or else delete the lock via, SM12..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might be also due to ENQUEUE is done properly and DEQUEUE FM is not called after completing editing of SD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepan Swaminathan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 06:31:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194433#M1909829</guid>
      <dc:creator>deepan_v_s</dc:creator>
      <dc:date>2015-07-14T06:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: ENQUEUE_EVVBAKE is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194434#M1909830</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;This lock is done by the code i&amp;nbsp; have used . But in only debug mode after the FM called , But when I press F8 . It will release Lock automatically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 06:42:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194434#M1909830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-14T06:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: ENQUEUE_EVVBAKE is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194435#M1909831</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;This lock is done by the code i&amp;nbsp; have used . But in only debug mode after the FM called , But when I press F8 . It will release Lock automatically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 06:43:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194435#M1909831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-14T06:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: ENQUEUE_EVVBAKE is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194436#M1909832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please execute the code without debugging and check the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepan Swaminathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 06:47:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194436#M1909832</guid>
      <dc:creator>deepan_v_s</dc:creator>
      <dc:date>2015-07-14T06:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: ENQUEUE_EVVBAKE is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194437#M1909833</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 believe you have included DEQUEUE_&lt;SPAN style="color: #333333; font-size: 12px;"&gt;EVVBAKE fm also next to this enqueue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to regenerate the program and relogin again,test it.Some times this may be due to memory issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if the issue still persists.&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;Pawan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 07:09:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194437#M1909833</guid>
      <dc:creator>sriram_korlepara</dc:creator>
      <dc:date>2015-07-14T07:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: ENQUEUE_EVVBAKE is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194438#M1909834</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 have put only &lt;SPAN style="color: #333333; font-size: 12px;"&gt;ENQUEUE_&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; color: #333333; background: #ffffff;"&gt;EVVBAKE. If&amp;nbsp; i am running this FM in SE37 , It is doing the same. If i come out from this FM it will release the lock automatically&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; color: #333333; background: #ffffff;"&gt;My requirement is to lock the by my program sales order until unless i will not release that lock.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 07:19:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194438#M1909834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-14T07:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: ENQUEUE_EVVBAKE is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194439#M1909835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please use FM DEQUEUE FM in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow these steps,&lt;/P&gt;&lt;P&gt;1. Use ENQUEUE FM.&lt;/P&gt;&lt;P&gt;2. Process the SD document and Save the document.&lt;/P&gt;&lt;P&gt;3.Once saving is done, please use the FM &lt;SPAN style="color: #333333; font-size: 12px;"&gt; DEQUEUE_&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; color: #333333; background: #ffffff;"&gt;EVVBAKE, to release the lock.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this and it will solve the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepan Swaminathan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 07:25:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194439#M1909835</guid>
      <dc:creator>deepan_v_s</dc:creator>
      <dc:date>2015-07-14T07:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: ENQUEUE_EVVBAKE is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194440#M1909836</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;I have design a custom UI via BSP. Now i want if user will open any sales order in UI than it should not be editable any other user in UI and SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i want to lock the sales order if that is open in UI.&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;Arjun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 07:32:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194440#M1909836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-14T07:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: ENQUEUE_EVVBAKE is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194441#M1909837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Arjun, i understand the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what if the user saves the UI or closes the UI. In that case lock should be released.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is not released, then the lock will be there in the document forever. (Even if the same user tries to open the Document in different session, error message will be displayed informing that SD is already locked)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you need to call the DEQUEUE FM, ince the user completes his work in UI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepan Swaminathan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 07:36:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194441#M1909837</guid>
      <dc:creator>deepan_v_s</dc:creator>
      <dc:date>2015-07-14T07:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: ENQUEUE_EVVBAKE is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194442#M1909838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #333333; font-size: 12px;"&gt;Deepan &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exactly i have also develop a BSP to release the lock. But my first BSP is not working to lock the Sales Order. That is the main problem for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the debug mode it will lock the SO after execution of SO, But when after FM execution when i press F8 it will release the lock automatically&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&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;Arjun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 10:22:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194442#M1909838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-14T10:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: ENQUEUE_EVVBAKE is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194443#M1909839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arjun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Place an external break point just before DEQUEUE FM and check if the Document is locked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check it from UI, Place external break point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 10:35:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194443#M1909839</guid>
      <dc:creator>deepan_v_s</dc:creator>
      <dc:date>2015-07-14T10:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: ENQUEUE_EVVBAKE is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194444#M1909840</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 have put the break point ,yes the object is locked. But when i execute further it will release the lock automatically. I have also checked in SM12 also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even i have commented the &lt;SPAN style="color: #333333; font-size: 12px;"&gt;DEQUEUE FM in my BSP but Don't know why the lock object is releasing.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 10:51:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194444#M1909840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-14T10:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: ENQUEUE_EVVBAKE is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194445#M1909841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arjun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initailly the Enqueue Fm(incorporated by you) is locking the sale order.&lt;/P&gt;&lt;P&gt;First try to identify where the lock is getting released.&lt;/P&gt;&lt;P&gt;I believe there is some standard code which is releasing the lock.If you want to to lock it or release it as per your requirement,try to put your code next to standard code using some enhancements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you are calling from portal,i cannot replicate the issue in my system&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 11:05:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194445#M1909841</guid>
      <dc:creator>sriram_korlepara</dc:creator>
      <dc:date>2015-07-14T11:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: ENQUEUE_EVVBAKE is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194446#M1909842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide me a solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 11:56:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194446#M1909842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-15T11:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: ENQUEUE_EVVBAKE is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194447#M1909843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arjun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried the way that I suggested above.&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;Pawan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 12:06:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194447#M1909843</guid>
      <dc:creator>sriram_korlepara</dc:creator>
      <dc:date>2015-07-15T12:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: ENQUEUE_EVVBAKE is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194448#M1909844</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;I have found on thing, In the debugger it is working fine , Because Lock object is active for the session when we execute the debugger or F8 it will release the lock automatically.If we can keep that session that it is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now how can i make a session active ?&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;Arjun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 12:21:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194448#M1909844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-15T12:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: ENQUEUE_EVVBAKE is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194449#M1909845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats my understanding too - Locks are released automatically when the program execution is finished. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally, you shouldn't be locking the sales order when the person opens it in a browser. Because he may just close the browser window and your program may be still holding the lock on the order. My suggestion would be to change the design of the program .... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. User opens the order&lt;/P&gt;&lt;P&gt;2. User makes changes to the order and presses save&lt;/P&gt;&lt;P&gt;3. This triggers PAI event&lt;/P&gt;&lt;P&gt;4. Lock the order, Make changes to order, Unlock order&lt;/P&gt;&lt;P&gt;5. If lock fails, then wait and repeat for a certain amount of time. If still not successful, then display message to user&lt;/P&gt;&lt;P&gt;5. Refresh user display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Juwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 12:52:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194449#M1909845</guid>
      <dc:creator>Juwin</dc:creator>
      <dc:date>2015-07-15T12:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: ENQUEUE_EVVBAKE is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194450#M1909846</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;If you want the lock to be carried onto the V1 processes you have to set the _SCOPE = '3'. By default it takes '2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Explanation : ( From SAP Documentation ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/abapdocu_70/en/ABENSAP_LOCK.htm" title="http://help.sap.com/abapdocu_70/en/ABENSAP_LOCK.htm"&gt;http://help.sap.com/abapdocu_70/en/ABENSAP_LOCK.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Times New Roman';"&gt;When you set an SAP lock using the ENQUEUE function module, the value transferred to the _SCOPE entry parameter determines the lock duration. Depending on the formal parameter _SCOPE, you can release an SAP lock as follows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If _SCOPE is set to 1, the lock is not linked to the current SAP LUW. You can release the lock either by calling the DEQUEUE function module whose formal parameter _SCOPE can have any value, or by terminating the program.&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt;If _SCOPE is set to 2, the lock is linked to the current SAP LUW. In case &lt;A href="http://help.sap.com/abapdocu_70/en/ABAPCALL_FUNCTION_UPDATE.htm"&gt;&lt;STRONG style="font-size: 10pt; font-family: 'Courier New';"&gt;CALL FUNCTION ... FOR UPDATE TASK&lt;/STRONG&gt;&lt;/A&gt; has registered at least one update function module, the statement &lt;A href="http://help.sap.com/abapdocu_70/en/ABAPCOMMIT.htm"&gt;&lt;STRONG style="font-size: 10pt; font-family: 'Courier New';"&gt;COMMIT WORK&lt;/STRONG&gt;&lt;/A&gt; or &lt;A href="http://help.sap.com/abapdocu_70/en/ABAPROLLBACK.htm"&gt;&lt;STRONG style="font-size: 10pt; font-family: 'Courier New';"&gt;ROLLBACK WORK&lt;/STRONG&gt;&lt;/A&gt; releases the lock upon completion of the SAP LUW. When using &lt;STRONG style="font-size: 10pt; font-family: 'Courier New';"&gt;COMMIT WORK&lt;/STRONG&gt;, the update function releases the lock after processing the update function modules. This type of lock may persist beyond the end of a program until the update procedure has been completed.&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt;If _SCOPE is set to 3, both the update function and the program must release the lock. The update function releases the lock as if _SCOPE had a value of 2. The program releases the lock as if _SCOPE had a value of 1. The entire release procedure is specified by the last user who released the lock.&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #000000; font-family: 'Times New Roman';"&gt;If you want to release an SAP lock using the DEQUEUE function module independent of the update function, you must transfer a value to the formal parameter _SCOPE that is greater than or equal to the value transferred to the parameter of the same name for the ENQUEUE function module.&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Times New Roman';"&gt;Besides the _SCOPE parameter, the entry parameters of a DEQUEUE function module correspond to those of the ENQUEUE function module. You can then use the additional parameter _SYNCHRON to specify whether the release of the lock should be delayed until the program processing continues.&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Times New Roman';"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Times New Roman';"&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 15:31:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194450#M1909846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-15T15:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: ENQUEUE_EVVBAKE is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194451#M1909847</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;Did you Try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;CALL FUNCTION 'ENQUEUE_EVVBAKE'&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MODE_VBAK = 'X'&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VBELN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = PF_VBELN&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXCEPTIONS&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FOREIGN_LOCK&amp;nbsp;&amp;nbsp; = 2&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SYSTEM_FAILURE = 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 20:53:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-evvbake-is-not-working/m-p/11194451#M1909847</guid>
      <dc:creator>max_anjos</dc:creator>
      <dc:date>2015-07-15T20:53:52Z</dc:date>
    </item>
  </channel>
</rss>

