<?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 VL046 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-vl046/m-p/9123520#M1707934</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The If_synchron parameter is X and the No_commit is not passed to the function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Nov 2012 14:58:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-11-27T14:58:38Z</dc:date>
    <item>
      <title>Error VL046</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-vl046/m-p/9123511#M1707925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have implemented in ABAP the next flow: &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create Stock Transfer Order.&lt;/LI&gt;&lt;LI&gt;Create outbound delivery for this STO.&lt;/LI&gt;&lt;LI&gt;Post the outbound delivery.&lt;/LI&gt;&lt;LI&gt;Create the inbound delivery.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem that I´m facing is that when I post the outbound delivery, the system is giving me the next error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VL046: This delivery XXXXXXXXX is currently being processed by another user XXXXXX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could I post the outbound delivery only when the delivery in unblocked and completely finished? Do anyone any tip for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 10:41:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-vl046/m-p/9123511#M1707925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-23T10:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error VL046</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-vl046/m-p/9123512#M1707926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nobody faced this problem before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 09:36:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-vl046/m-p/9123512#M1707926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-26T09:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error VL046</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-vl046/m-p/9123513#M1707927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you elaborate the what you are doing? Are you using BAPIs one after another to create all things you mentioned? if yes then which BAPIs?. Are you using BAPI transaction Commit after every BAPI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 10:23:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-vl046/m-p/9123513#M1707927</guid>
      <dc:creator>former_member189779</dc:creator>
      <dc:date>2012-11-26T10:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error VL046</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-vl046/m-p/9123514#M1707928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Need more details, as Vinit suggested. Also - what do you mean by "post delivery"? PGI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 19:50:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-vl046/m-p/9123514#M1707928</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2012-11-26T19:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error VL046</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-vl046/m-p/9123515#M1707929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add a breakpoint at the point of code where you are posting the delivery, now before you try to post it check SM12 entries, check if this is locked for longer duration or a shorter one, if it disappears after a refresh then probably it is because the delivery has message outputs with dispatch time 4, if so then change it to 1/3 appropriately and then try.&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;check for proper enqueu and dequeue functions in your code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Umar Syed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 06:58:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-vl046/m-p/9123515#M1707929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-27T06:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error VL046</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-vl046/m-p/9123516#M1707930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not enough information for a full analysis, nevertheless&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you are using BAPI, use the option WAIT of COMMIT WORK or BAPI_TRANSACTION_COMMIT at end of each step&lt;/LI&gt;&lt;LI&gt;Try to lock the delivery before executing next step (FM ENQUEUE_EVVBLKE)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Could you give more information, at least the list of the tools used, for your "flow", its context ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 07:15:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-vl046/m-p/9123516#M1707930</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-11-27T07:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error VL046</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-vl046/m-p/9123517#M1707931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The flow is as next:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a purchase order with Bapi BAPI_PO_CREATE1.&lt;/P&gt;&lt;P&gt;Then, I create a outbound delivery with function GN_DELIVERY_CREATE.&lt;/P&gt;&lt;P&gt;At this time, I must PGI, but is in this moment whe I get the error of blocked by user. To do this I use the funcion BAPI_OUTB_DELIVERY_CONFIRM_DEC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the funcion DEQUEUE_EVVBLKE, I´m still getting the same error. I suppose that this function will wait until the delivery was unblocked, but is not working as I wish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for all the replies. Any idea of how to solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 11:16:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-vl046/m-p/9123517#M1707931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-27T11:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error VL046</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-vl046/m-p/9123518#M1707932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At last line in this FM &lt;SPAN class="L0S52"&gt;PERFORM &lt;/SPAN&gt;beleg_daten_init_afterwards. Seems locks are released here but not completely. May be not completely.&lt;/P&gt;&lt;P&gt;May be try BAPI_TRANSACTION_COMMIT Wait = X after delivery create FM to refresh the buffers as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 13:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-vl046/m-p/9123518#M1707932</guid>
      <dc:creator>former_member189779</dc:creator>
      <dc:date>2012-11-27T13:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error VL046</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-vl046/m-p/9123519#M1707933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What value did you give to GN_DELIVERY_CREATE parameters NO_COMMIT and IF_SYNCHRON ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 14:49:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-vl046/m-p/9123519#M1707933</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-11-27T14:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error VL046</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-vl046/m-p/9123520#M1707934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The If_synchron parameter is X and the No_commit is not passed to the function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 14:58:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-vl046/m-p/9123520#M1707934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-27T14:58:38Z</dc:date>
    </item>
  </channel>
</rss>

