<?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 BAPI or FM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-or-fm/m-p/2840056#M665128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any BAPI or FM to update the partners of PM Order and then update order header status for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried using &amp;#147;Ibapi_alm_orderpartner_maint&amp;#148; and &amp;#147;BAPI_ALM_ORDER_MAINTAIN &amp;#147; for updating partners, but they are not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide me some inputs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Oct 2007 08:38:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-03T08:38:06Z</dc:date>
    <item>
      <title>BAPI or FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-or-fm/m-p/2840056#M665128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any BAPI or FM to update the partners of PM Order and then update order header status for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried using &amp;#147;Ibapi_alm_orderpartner_maint&amp;#148; and &amp;#147;BAPI_ALM_ORDER_MAINTAIN &amp;#147; for updating partners, but they are not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide me some inputs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2007 08:38:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-or-fm/m-p/2840056#M665128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-03T08:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI or FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-or-fm/m-p/2840057#M665129</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;See some Function modules changes will be commited in the database after the commit command. This bapi needs a second bapi called BAPI_TRANSACTION_COMMIT after that, then it will work fine. This transaction_commit bapi should come immediately after the order maintain bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See some sample code below...&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   = methods&lt;/P&gt;&lt;P&gt;                it_header    = header&lt;/P&gt;&lt;P&gt;                it_header_up = header_up&lt;/P&gt;&lt;P&gt;                return       = return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;                EXPORTING&lt;/P&gt;&lt;P&gt;                  wait   = 'X'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2007 11:05:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-or-fm/m-p/2840057#M665129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-03T11:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI or FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-or-fm/m-p/2840058#M665130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could also use this right after you call BAPI_ALM_ORDER_MAINTAIN:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'ALM_ME_COMMIT_OR_ROLLBACK'&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        return = lt_RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It performs the same function as BAPI_TRANSACTION_COMMIT.  I hope this helps.&lt;/P&gt;&lt;P&gt; - April King&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2007 17:55:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-or-fm/m-p/2840058#M665130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-03T17:55:57Z</dc:date>
    </item>
  </channel>
</rss>

