<?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: Purchase order modification in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/purchase-order-modification/m-p/5894846#M1326950</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;The object is still locked when you try to change with BAPI_PO_CHANGE and thats the reason you are getting the error message.&lt;/P&gt;&lt;P&gt;Before calling BAPI_PO_CHANGE, check whether the object is unlocked, you can do that with deque function .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jul 2009 09:38:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-29T09:38:31Z</dc:date>
    <item>
      <title>Purchase order modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/purchase-order-modification/m-p/5894845#M1326949</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;We are using this functionaly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We change purchase requistiion quantity with BAPI BAPI_REQUISITION_CHANGE.&lt;/P&gt;&lt;P&gt;If modification is correct we are doing a BAPI_TRANSACTION_COMMIT with WAIT and also we modify purchase order quantity with BAPI BAPI_PO_CHANGE. &lt;/P&gt;&lt;P&gt;If purchase order modification is correct we are doing a BAPI_TRANSACTION_COMMIT with WAIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes occurs that if a change is done with BAPI_REQUISITION_CHANGE correctly and we are doing the correspondant changes to purchase order BAPI_PO_CHANGE, this bapi give error ME 006 (User alredy processing requisition).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How it is possible if we have done a commit and wait?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards¡¡¡&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 09:25:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/purchase-order-modification/m-p/5894845#M1326949</guid>
      <dc:creator>david_escofettrenado</dc:creator>
      <dc:date>2009-07-29T09:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Purchase order modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/purchase-order-modification/m-p/5894846#M1326950</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;The object is still locked when you try to change with BAPI_PO_CHANGE and thats the reason you are getting the error message.&lt;/P&gt;&lt;P&gt;Before calling BAPI_PO_CHANGE, check whether the object is unlocked, you can do that with deque function .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 09:38:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/purchase-order-modification/m-p/5894846#M1326950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-29T09:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Purchase order modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/purchase-order-modification/m-p/5894847#M1326951</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;Try using FM : ENQUE_SLEEP for wait process.&lt;/P&gt;&lt;P&gt;Actually sometimes, due to some database constraints, process takes time to save document.&lt;/P&gt;&lt;P&gt;SO better to give 5 seconds delay for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ENQUE_SLEEP'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;          SECONDS        = '5'&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;          SYSTEM_FAILURE = 1&lt;/P&gt;&lt;P&gt;          OTHERS         = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 09:49:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/purchase-order-modification/m-p/5894847#M1326951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-29T09:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Purchase order modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/purchase-order-modification/m-p/5894848#M1326952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try WAIT UP TO 10 SECONDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 09:52:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/purchase-order-modification/m-p/5894848#M1326952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-29T09:52:42Z</dc:date>
    </item>
  </channel>
</rss>

