<?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: Error with BAPI BAPI_ALM_ORDER_MAINTAIN to release in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-bapi-bapi-alm-order-maintain-to-release/m-p/2197981#M469338</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have to append one more row to your table T_METHODS where the object type should be ' ' and method should be 'SAVE'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI documentation has explanation on how to save the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi,&lt;/P&gt;&lt;P&gt;&amp;gt; I need to release a PM order with the BAPI: &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; BAPI_ALM_ORDER_MAINTAIN  with the table T_METHODS&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; CLEAR T_METHODS.&lt;/P&gt;&lt;P&gt;&amp;gt; T_METHODS-REFNUMBER = 1.&lt;/P&gt;&lt;P&gt;&amp;gt; T_METHODS-OBJECTTYPE = 'HEADER'.&lt;/P&gt;&lt;P&gt;&amp;gt; T_METHODS-METHOD = 'RELEASE'.&lt;/P&gt;&lt;P&gt;&amp;gt; T_METHODS-OBJECTKEY = ORDERID.&lt;/P&gt;&lt;P&gt;&amp;gt; APPEND T_METHODS.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'&lt;/P&gt;&lt;P&gt;&amp;gt;   TABLES&lt;/P&gt;&lt;P&gt;&amp;gt;   IT_METHODS              = T_METHODS&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt;    RETURN                  = MES.&lt;/P&gt;&lt;P&gt;&amp;gt; CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; and it gives the following error me  :  &lt;/P&gt;&lt;P&gt;&amp;gt; "BAPI call must have a SAVE or DIALOG method"&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Please help me,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; regards&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Dayana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Apr 2007 19:47:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-30T19:47:58Z</dc:date>
    <item>
      <title>Error with BAPI BAPI_ALM_ORDER_MAINTAIN to release</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-bapi-bapi-alm-order-maintain-to-release/m-p/2197979#M469336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to release a PM order with the BAPI: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_ALM_ORDER_MAINTAIN  with the table T_METHODS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR T_METHODS.&lt;/P&gt;&lt;P&gt;T_METHODS-REFNUMBER = 1.&lt;/P&gt;&lt;P&gt;T_METHODS-OBJECTTYPE = 'HEADER'.&lt;/P&gt;&lt;P&gt;T_METHODS-METHOD = 'RELEASE'.&lt;/P&gt;&lt;P&gt;T_METHODS-OBJECTKEY = ORDERID.&lt;/P&gt;&lt;P&gt;APPEND T_METHODS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    IT_METHODS              = T_METHODS&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   RETURN                  = MES.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it gives the following error me  :  &lt;/P&gt;&lt;P&gt;"BAPI call must have a SAVE or DIALOG method"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dayana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 18:33:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-bapi-bapi-alm-order-maintain-to-release/m-p/2197979#M469336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T18:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error with BAPI BAPI_ALM_ORDER_MAINTAIN to release</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-bapi-bapi-alm-order-maintain-to-release/m-p/2197980#M469337</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;It seems like you need to execute this fm on a dialog program, so you should look for another FM. &lt;/P&gt;&lt;P&gt;You can also check the FM code to find where is giving you that error and change it before calling the function. Sometimes on the sy structure there is a flag that says if the FM is called from a dialog. Maybe is that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 18:44:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-bapi-bapi-alm-order-maintain-to-release/m-p/2197980#M469337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T18:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error with BAPI BAPI_ALM_ORDER_MAINTAIN to release</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-bapi-bapi-alm-order-maintain-to-release/m-p/2197981#M469338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have to append one more row to your table T_METHODS where the object type should be ' ' and method should be 'SAVE'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI documentation has explanation on how to save the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi,&lt;/P&gt;&lt;P&gt;&amp;gt; I need to release a PM order with the BAPI: &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; BAPI_ALM_ORDER_MAINTAIN  with the table T_METHODS&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; CLEAR T_METHODS.&lt;/P&gt;&lt;P&gt;&amp;gt; T_METHODS-REFNUMBER = 1.&lt;/P&gt;&lt;P&gt;&amp;gt; T_METHODS-OBJECTTYPE = 'HEADER'.&lt;/P&gt;&lt;P&gt;&amp;gt; T_METHODS-METHOD = 'RELEASE'.&lt;/P&gt;&lt;P&gt;&amp;gt; T_METHODS-OBJECTKEY = ORDERID.&lt;/P&gt;&lt;P&gt;&amp;gt; APPEND T_METHODS.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'&lt;/P&gt;&lt;P&gt;&amp;gt;   TABLES&lt;/P&gt;&lt;P&gt;&amp;gt;   IT_METHODS              = T_METHODS&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt;    RETURN                  = MES.&lt;/P&gt;&lt;P&gt;&amp;gt; CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; and it gives the following error me  :  &lt;/P&gt;&lt;P&gt;&amp;gt; "BAPI call must have a SAVE or DIALOG method"&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Please help me,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; regards&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Dayana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 19:47:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-with-bapi-bapi-alm-order-maintain-to-release/m-p/2197981#M469338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T19:47:58Z</dc:date>
    </item>
  </channel>
</rss>

