<?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: PM order create with Reference (GET_DETAIL &amp; Maintain sequence error) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pm-order-create-with-reference-get-detail-maintain-sequence-error/m-p/11020632#M1897868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For creating a Process Order With Reference ,there is &lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;STRONG&gt;BAPI_PROCORD_CREATE_FROM_REF&lt;/STRONG&gt; .&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2015 04:05:16 GMT</pubDate>
    <dc:creator>Arun_Prabhu_K</dc:creator>
    <dc:date>2015-04-27T04:05:16Z</dc:date>
    <item>
      <title>PM order create with Reference (GET_DETAIL &amp; Maintain sequence error)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pm-order-create-with-reference-get-detail-maintain-sequence-error/m-p/11020630#M1897866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Day. i had a requirement to create PM order with reference - since there is no FM or BAPI to copy and create PM order - i decided to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) BAPI_ALM_ORDER_GET_DETAIL and&lt;/P&gt;&lt;P&gt;2) BAPI_ALM_ORDER_MAINTAIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in sequence. That's where the issue is occuring. When used in sequence the Order no using in Step 1 - still is carried forward in internal table during calling of BAPI_ALM_ORDER_MAINTAIN and causing BAPI to fail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried using BUFFER_REFRESH_ALL and roll back in between, but no change...still fails..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The failure is happening at FM CO_BT_CAUFV_READ_WITH_KEY where CAUFV_BT table contains the old order no and its details....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody comes across this situation and if so any resolution? Please update.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 01:44:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pm-order-create-with-reference-get-detail-maintain-sequence-error/m-p/11020630#M1897866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-27T01:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: PM order create with Reference (GET_DETAIL &amp; Maintain sequence error)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pm-order-create-with-reference-get-detail-maintain-sequence-error/m-p/11020631#M1897867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;What's the exact error message from BAPI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 03:09:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pm-order-create-with-reference-get-detail-maintain-sequence-error/m-p/11020631#M1897867</guid>
      <dc:creator>Arun_Prabhu_K</dc:creator>
      <dc:date>2015-04-27T03:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: PM order create with Reference (GET_DETAIL &amp; Maintain sequence error)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pm-order-create-with-reference-get-detail-maintain-sequence-error/m-p/11020632#M1897868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For creating a Process Order With Reference ,there is &lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;STRONG&gt;BAPI_PROCORD_CREATE_FROM_REF&lt;/STRONG&gt; .&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 04:05:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pm-order-create-with-reference-get-detail-maintain-sequence-error/m-p/11020632#M1897868</guid>
      <dc:creator>Arun_Prabhu_K</dc:creator>
      <dc:date>2015-04-27T04:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: PM order create with Reference (GET_DETAIL &amp; Maintain sequence error)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pm-order-create-with-reference-get-detail-maintain-sequence-error/m-p/11020633#M1897869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message thrown by BAPI is "Error&amp;nbsp; during processing of BAPI methods"&lt;/P&gt;&lt;P&gt;E - IWO_BAPI2 - 113 -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; On debugging found its happening in FM IBAPI_ORDER_OPERATION_CREATE .&lt;/P&gt;&lt;P&gt;&amp;nbsp; Exception:&lt;/P&gt;&lt;P&gt; order_header_not_found&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;SPAN class="L0S32"&gt;3&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S32"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S32"&gt;This is because it is still using the Old order no I used in Get_Detail and trying to use it and results in Header error.... &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S32"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S32"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 04:44:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pm-order-create-with-reference-get-detail-maintain-sequence-error/m-p/11020633#M1897869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-27T04:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: PM order create with Reference (GET_DETAIL &amp; Maintain sequence error)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pm-order-create-with-reference-get-detail-maintain-sequence-error/m-p/11020634#M1897870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but we are looking for Plant Maintenance order. This FM is for PP/CO. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 04:45:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pm-order-create-with-reference-get-detail-maintain-sequence-error/m-p/11020634#M1897870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-27T04:45:33Z</dc:date>
    </item>
  </channel>
</rss>

