<?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 Create multiple order using BAPI_ALM_ORDER_MAINTAIN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-multiple-order-using-bapi-alm-order-maintain/m-p/9179062#M1712875</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;&lt;/P&gt;&lt;P&gt;Is it possible to create multiple order with BAPI , BAPI_ALM_ORDER_MAINTAIN?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sijin K P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jan 2013 19:18:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-01-21T19:18:42Z</dc:date>
    <item>
      <title>Create multiple order using BAPI_ALM_ORDER_MAINTAIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-multiple-order-using-bapi-alm-order-maintain/m-p/9179062#M1712875</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;&lt;/P&gt;&lt;P&gt;Is it possible to create multiple order with BAPI , BAPI_ALM_ORDER_MAINTAIN?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sijin K P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 19:18:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-multiple-order-using-bapi-alm-order-maintain/m-p/9179062#M1712875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-21T19:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create multiple order using BAPI_ALM_ORDER_MAINTAIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-multiple-order-using-bapi-alm-order-maintain/m-p/9179063#M1712876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer following links where they explain how it is done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/3225925"&gt;http://scn.sap.com/thread/3225925&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.benx.de/benx(bD1lbiZjPTAwMQ==)/de/index.do?onInputProcessing(brai_thread)&amp;amp;001_thread_id=1135829"&gt;http://www.benx.de/benx(bD1lbiZjPTAwMQ==)/de/index.do?onInputProcessing(brai_thread)&amp;amp;001_thread_id=1135829&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two things to remember here,&lt;/P&gt;&lt;P&gt;1) When creating multiple orders you need to clear the buffer/flag. (There are a flag that is not cleaned after each call to the bapi.)&lt;/P&gt;&lt;P&gt;Use FM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a function which cleans it: &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'PERMIT_INIT_AFTER_POST'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;2) After each BAPI call to create order you need to use the FM 'BAPI_TRANSACTION_COMMIT'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Executing function module BAPI_TRANSACTION_COMMIT after executing the &lt;/P&gt;&lt;P&gt;method ensures that the data is updated in the database.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;swanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 19:54:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-multiple-order-using-bapi-alm-order-maintain/m-p/9179063#M1712876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-21T19:54:28Z</dc:date>
    </item>
  </channel>
</rss>

