<?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: Is there a Function Module or BAPI that will close a Purchase Order? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-a-function-module-or-bapi-that-will-close-a-purchase-order/m-p/5011137#M1166401</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mark,&lt;/P&gt;&lt;P&gt;                 Check these FM's:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/SAPPO/MAPI_PO_ORDER_CLOSE,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;W_FRM_PO_CLOSE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                  &lt;STRONG&gt;and&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/SAPPO/BAPI_ORDER_CLOSE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greetson&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Greetson Shunmugasundaram on Jan 8, 2009 7:01 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jan 2009 17:58:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-08T17:58:49Z</dc:date>
    <item>
      <title>Is there a Function Module or BAPI that will close a Purchase Order?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-a-function-module-or-bapi-that-will-close-a-purchase-order/m-p/5011135#M1166399</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 looking for a function module/BAPI that will close purchase orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!!!&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 17:49:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-a-function-module-or-bapi-that-will-close-a-purchase-order/m-p/5011135#M1166399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-08T17:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a Function Module or BAPI that will close a Purchase Order?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-a-function-module-or-bapi-that-will-close-a-purchase-order/m-p/5011136#M1166400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use this FM BAPI_PO_CHANGE to close PO.&lt;/P&gt;&lt;P&gt;Please pass 'X' to NO_MORE_GR field of the item to mark the delivery complete indicator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~ From Forum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 17:54:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-a-function-module-or-bapi-that-will-close-a-purchase-order/m-p/5011136#M1166400</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2009-01-08T17:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a Function Module or BAPI that will close a Purchase Order?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-a-function-module-or-bapi-that-will-close-a-purchase-order/m-p/5011137#M1166401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mark,&lt;/P&gt;&lt;P&gt;                 Check these FM's:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/SAPPO/MAPI_PO_ORDER_CLOSE,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;W_FRM_PO_CLOSE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                  &lt;STRONG&gt;and&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/SAPPO/BAPI_ORDER_CLOSE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greetson&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Greetson Shunmugasundaram on Jan 8, 2009 7:01 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 17:58:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-a-function-module-or-bapi-that-will-close-a-purchase-order/m-p/5011137#M1166401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-08T17:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a Function Module or BAPI that will close a Purchase Order?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-a-function-module-or-bapi-that-will-close-a-purchase-order/m-p/5011138#M1166402</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 these function modules&lt;/P&gt;&lt;P&gt;1.CO_SF_CLOSE_ORDER_TECHNICAL &lt;/P&gt;&lt;P&gt;2.CO_ZF_ORDER_CLOSE &lt;/P&gt;&lt;P&gt;3. W_FRM_PO_CLOSE,&lt;/P&gt;&lt;P&gt;4.Fucntion group WFR12(Close and Adjust Purchase Orders) you may get a FM to Close the PO.&lt;/P&gt;&lt;P&gt;5.BAPI_PO_CHANGE  pass 'X' to NO_MORE_GR field of the item to mark the delivery complete indicator.&lt;/P&gt;&lt;P&gt;Or u can also use transaction ME22N and enter PO number (Shift+F5) and hit enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the info was helpful..&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;Vasavi Kotha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 18:33:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-a-function-module-or-bapi-that-will-close-a-purchase-order/m-p/5011138#M1166402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-08T18:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a Function Module or BAPI that will close a Purchase Order?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-a-function-module-or-bapi-that-will-close-a-purchase-order/m-p/5011139#M1166403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all - Thanks for the informative responses.  I am not quite coding this yet, but will be soon and I will let you know what works best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2009 21:46:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-a-function-module-or-bapi-that-will-close-a-purchase-order/m-p/5011139#M1166403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-09T21:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a Function Module or BAPI that will close a Purchase Order?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-a-function-module-or-bapi-that-will-close-a-purchase-order/m-p/5011140#M1166404</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; you can go for the below process .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Close Open Postprocessing Orders&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the BAPIs /SAPPO/BAPI_ORDER_OPEN,  /SAPPO/BAPI_ORDER_SET, /SAPPO/BAPI_ORDER_SAVE and /SAPPO/BAPI_ORDER_CLOSE to change postprocessing orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must use the following call up sequence:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/SAPPO/BAPI_ORDER_OPEN&lt;/P&gt;&lt;P&gt;DO&lt;/P&gt;&lt;P&gt;/SAPPO/BAPI_ORDER_SET&lt;/P&gt;&lt;P&gt;/SAPPO/BAPI_ORDER_SAVE&lt;/P&gt;&lt;P&gt;BAPI_TRANSACTION_COMMIT&lt;/P&gt;&lt;P&gt;ENDDO&lt;/P&gt;&lt;P&gt;/SAPPO/BAPI_ORDER_CLOSE&lt;/P&gt;&lt;P&gt;After you call up /SAPPO/BAPI_PO_ORDER_OPEN, you can read the global memory of the function group using the BAPIs /SAPPO/BAPI_ORDER_GET_DETAIL and /SAPPO/BAPI_ORDER_GET_DETAILS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI /SAPPO/BAPI_PO_ORDER_OPEN locks the postprocessing orders to be opened for postprocessing, reads them from the database, and writes them to the global memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI /SAPPO/BAPI_PO_ORDER_SET updates the global memory. You must specify the postprocessing orders to be changed and the new values for the changeable fields in the parameter ALLOWEDUPDATEFIELDS. Note that you must also enter the old contents for fields that cannot be changed. For more information, see the documentation for the parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI /SAPPO/BAPI_PO_ORDER_SAVE persists the global memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI /SAPPO/BAPI_PO_ORDER_CLOSE deletes the global memory and removes the locks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will work definately .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ,&lt;/P&gt;&lt;P&gt;Nilesh Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jan 2009 04:43:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-a-function-module-or-bapi-that-will-close-a-purchase-order/m-p/5011140#M1166404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-10T04:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a Function Module or BAPI that will close a Purchase Order?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-a-function-module-or-bapi-that-will-close-a-purchase-order/m-p/5011141#M1166405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found it.  Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 21:16:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-there-a-function-module-or-bapi-that-will-close-a-purchase-order/m-p/5011141#M1166405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T21:16:14Z</dc:date>
    </item>
  </channel>
</rss>

