<?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: why i am getting the user already processing Purchase Order through BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-i-am-getting-the-user-already-processing-purchase-order-through-bapi/m-p/1491846#M228741</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;1.&lt;/P&gt;&lt;P&gt;Usually if PO is created through BDC, then many times we forget to EXIT the transaction once we SAVE the PO. Hence the PO is still in change mode and no one else can open it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;Since you are using BAPI, the reason would be that database tables are not updated, hence it would be giving that error. Do a COMMIT WORK AND WAIT after the BAPI call. Then create 2nd good receipt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Aug 2006 01:02:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-18T01:02:44Z</dc:date>
    <item>
      <title>why i am getting the user already processing Purchase Order through BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-i-am-getting-the-user-already-processing-purchase-order-through-bapi/m-p/1491845#M228740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abapers&lt;/P&gt;&lt;P&gt;when i am creating two good reciepts for the same purchase order through BAPI, first good reciept cretaed sussfully adn second good reciept giving the error message "The use 'ramesh' already processing '4000000732'.&lt;/P&gt;&lt;P&gt;i want to know the SAP back ground reason why sap is displaying this message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2006 00:43:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-i-am-getting-the-user-already-processing-purchase-order-through-bapi/m-p/1491845#M228740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-18T00:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: why i am getting the user already processing Purchase Order through BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-i-am-getting-the-user-already-processing-purchase-order-through-bapi/m-p/1491846#M228741</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;1.&lt;/P&gt;&lt;P&gt;Usually if PO is created through BDC, then many times we forget to EXIT the transaction once we SAVE the PO. Hence the PO is still in change mode and no one else can open it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;Since you are using BAPI, the reason would be that database tables are not updated, hence it would be giving that error. Do a COMMIT WORK AND WAIT after the BAPI call. Then create 2nd good receipt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2006 01:02:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-i-am-getting-the-user-already-processing-purchase-order-through-bapi/m-p/1491846#M228741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-18T01:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: why i am getting the user already processing Purchase Order through BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-i-am-getting-the-user-already-processing-purchase-order-through-bapi/m-p/1491847#M228742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The reason ur getting that issues is because Sap does update using CALL FUNCTION MODULE IN UPDATE TASK which happens in a separate work process. In the first pass of the loop the BAPI sends a request to update the GR but the update has still not happend and it takes few seconds before the records are created in the database. So in the seond pass of the loop it says that the person who is running the program is blocking the PO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Try writing this command before calling the FM&lt;/P&gt;&lt;P&gt; SET UPDATE TASK LOCAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Cheers&lt;/P&gt;&lt;P&gt; VJ&lt;/P&gt;&lt;P&gt; Some points would be gr8 if this helps..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2006 01:03:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-i-am-getting-the-user-already-processing-purchase-order-through-bapi/m-p/1491847#M228742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-18T01:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: why i am getting the user already processing Purchase Order through BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-i-am-getting-the-user-already-processing-purchase-order-through-bapi/m-p/1491848#M228743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are couple ways to handle this,  you can do more than one receipt for the purchase order at one time,  just add another line item for the goods_movement_item table,  this way you don't have to worry about the locking,  or you can do the COMMIT WORK AND WAIT directly after the BAPI call, and then an explicit DEQUEUE, using the function module DEQUEUE_ALL.  This will unlock after the COMMIT.  The next time thru the loop, there should be no problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;RIch HEilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2006 01:23:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-i-am-getting-the-user-already-processing-purchase-order-through-bapi/m-p/1491848#M228743</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-18T01:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: why i am getting the user already processing Purchase Order through BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-i-am-getting-the-user-already-processing-purchase-order-through-bapi/m-p/1491849#M228744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your replys&lt;/P&gt;&lt;P&gt;i tested in ABAP using SET UPDATE TASK LOCAL BAPI is working fine.&lt;/P&gt;&lt;P&gt;but we are calling this BAPI from JCO.&lt;/P&gt;&lt;P&gt;is there any remote enabled function module for SET UPDATE TASK LOCAL.&lt;/P&gt;&lt;P&gt;or any solution reply please&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2006 01:26:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-i-am-getting-the-user-already-processing-purchase-order-through-bapi/m-p/1491849#M228744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-18T01:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: why i am getting the user already processing Purchase Order through BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-i-am-getting-the-user-already-processing-purchase-order-through-bapi/m-p/1491850#M228745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call BAPI_TRANSACTION_COMMIT after the 1st RFC call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2006 01:37:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-i-am-getting-the-user-already-processing-purchase-order-through-bapi/m-p/1491850#M228745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-18T01:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: why i am getting the user already processing Purchase Order through BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-i-am-getting-the-user-already-processing-purchase-order-through-bapi/m-p/1491851#M228746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for you reply&lt;/P&gt;&lt;P&gt;i tried calling BAPI_TRANSACTION_COMMIT by passing wait = 'x'.&lt;/P&gt;&lt;P&gt;but still i am getting the samre problem from jco calling.&lt;/P&gt;&lt;P&gt;is there any other Remote enabled function module that can give solution to my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2006 01:42:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-i-am-getting-the-user-already-processing-purchase-order-through-bapi/m-p/1491851#M228746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-18T01:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: why i am getting the user already processing Purchase Order through BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-i-am-getting-the-user-already-processing-purchase-order-through-bapi/m-p/1491852#M228747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try passing an upper case "X".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wait = &amp;lt;b&amp;gt;'X'&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2006 01:46:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-i-am-getting-the-user-already-processing-purchase-order-through-bapi/m-p/1491852#M228747</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-18T01:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: why i am getting the user already processing Purchase Order through BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-i-am-getting-the-user-already-processing-purchase-order-through-bapi/m-p/1491853#M228748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even i passed to BAPI parameter  wait = 'X' with caps.&lt;/P&gt;&lt;P&gt;Its giving the same error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2006 03:33:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-i-am-getting-the-user-already-processing-purchase-order-through-bapi/m-p/1491853#M228748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-18T03:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: why i am getting the user already processing Purchase Order through BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-i-am-getting-the-user-already-processing-purchase-order-through-bapi/m-p/1491854#M228749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u have to call like this &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;b&amp;gt;call dequeue_all&amp;lt;/b&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; after the COMMIT work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; if i_return[] is initial.
 commit work and wait.
 call function 'DEQUEUE_ALL'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhu&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2006 04:45:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-i-am-getting-the-user-already-processing-purchase-order-through-bapi/m-p/1491854#M228749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-18T04:45:09Z</dc:date>
    </item>
  </channel>
</rss>

