<?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: User WF-Batch is already processing Purchase Order in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-wf-batch-is-already-processing-purchase-order/m-p/9197739#M1715024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiii,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have you configure workflow for PO Release strategy ??? Because in workflow for background processing WF-BATCH user is responsible , so for the particular scenario which was you described &lt;STRONG&gt;( when one SAP PO and one Retro PO are getting posted to One Invoice ) &lt;/STRONG&gt;when BAPI_PO_RELEASE calls at that time i thing your workflow trigger and your PO processed by background user WF-BATCH please check your workflow for PO Release strategy something that has missed , or you can do one thing when you got message &lt;STRONG&gt;(User WF-Batch is already processing Purchase Order ') &lt;/STRONG&gt;RUN report &lt;STRONG&gt;SWEL&lt;/STRONG&gt; ( before this please turn on event trace - &lt;STRONG&gt;swels&lt;/STRONG&gt; )check whether your workflow is triggering or not&amp;nbsp; for your scenario and you can check background job and debug it .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jan 2013 07:52:30 GMT</pubDate>
    <dc:creator>Aashish28</dc:creator>
    <dc:date>2013-01-15T07:52:30Z</dc:date>
    <item>
      <title>User WF-Batch is already processing Purchase Order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-wf-batch-is-already-processing-purchase-order/m-p/9197738#M1715023</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 getting this error message &lt;/P&gt;&lt;P&gt;'User WF-Batch is already processing Purchase Order '&lt;/P&gt;&lt;P&gt;We have an interface and we are trying to Post Invoice for the POs, if we dont find SAP PO for an external PO number, we will create Retro PO(Program will create a PO with details in SAP and will release with&amp;nbsp; BAPI_PO_RELEASE).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error is not consistent, its appearing sometimes only, for the scenario when one SAP PO and one Retro PO are getting posted to One Invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'book antiqua', palatino; color: #ff0000;"&gt;&amp;lt;Priority normalized by moderator&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arpit Varma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vinod Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 07:14:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-wf-batch-is-already-processing-purchase-order/m-p/9197738#M1715023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-15T07:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: User WF-Batch is already processing Purchase Order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-wf-batch-is-already-processing-purchase-order/m-p/9197739#M1715024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiii,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have you configure workflow for PO Release strategy ??? Because in workflow for background processing WF-BATCH user is responsible , so for the particular scenario which was you described &lt;STRONG&gt;( when one SAP PO and one Retro PO are getting posted to One Invoice ) &lt;/STRONG&gt;when BAPI_PO_RELEASE calls at that time i thing your workflow trigger and your PO processed by background user WF-BATCH please check your workflow for PO Release strategy something that has missed , or you can do one thing when you got message &lt;STRONG&gt;(User WF-Batch is already processing Purchase Order ') &lt;/STRONG&gt;RUN report &lt;STRONG&gt;SWEL&lt;/STRONG&gt; ( before this please turn on event trace - &lt;STRONG&gt;swels&lt;/STRONG&gt; )check whether your workflow is triggering or not&amp;nbsp; for your scenario and you can check background job and debug it .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 07:52:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-wf-batch-is-already-processing-purchase-order/m-p/9197739#M1715024</guid>
      <dc:creator>Aashish28</dc:creator>
      <dc:date>2013-01-15T07:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: User WF-Batch is already processing Purchase Order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-wf-batch-is-already-processing-purchase-order/m-p/9197740#M1715025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear varma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems PO is in SM12 lock queue, before creating Retro PO call the below FM "DEQUEUE_EMEKKOE" and delete the lock for PO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;goudham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 14:20:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-wf-batch-is-already-processing-purchase-order/m-p/9197740#M1715025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-11T14:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: User WF-Batch is already processing Purchase Order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-wf-batch-is-already-processing-purchase-order/m-p/9197741#M1715026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;goudham thangavelu wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems PO is in SM12 lock queue, before creating Retro PO call the below FM "DEQUEUE_EMEKKOE" and delete the lock for PO.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Oh boy... If a document is locked, then it is needed to complete a transaction. Forcing such lock removal could jeopardize data integrity. This is very dangerous. Kindly refrain from suggesting such solutions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To OP - lock errors usually occur because of timing. One transaction need to complete fully before the next one may start. You can look up any lock error question on SCN and will find the same advice everywhere. Either insert some wait period between the transactions or consider doing all the "regular" transactions first and then all the "retro" ones afterwards. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 20:26:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-wf-batch-is-already-processing-purchase-order/m-p/9197741#M1715026</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2013-02-11T20:26:12Z</dc:date>
    </item>
  </channel>
</rss>

