<?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: Mass sales order creation using BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894184#M373864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick response. Yes I am calling FM call &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;      return = p_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after calling BAPI.  Please note that I am calling bapi BAPI_SALESORDER_CREATEFROMDAT2 only after population of data.&lt;/P&gt;&lt;P&gt;That means not in a LOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please thow me light again on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jan 2007 14:06:32 GMT</pubDate>
    <dc:creator>chandra_bangalore</dc:creator>
    <dc:date>2007-01-08T14:06:32Z</dc:date>
    <item>
      <title>Mass sales order creation using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894182#M373862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help in  mass sales order creation using Bapi BAPI_SALESORDER_CREATEFROMDAT2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if i want to create 3 sales order with three item per order . i am populating &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HEADER = 3 Records&lt;/P&gt;&lt;P&gt;Item   = 9 records&lt;/P&gt;&lt;P&gt;schedule = 9 records&lt;/P&gt;&lt;P&gt;partner  = 1 record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then after populating the records I am calling Bapi BAPI_SALESORDER_CREATEFROMDAT2&lt;/P&gt;&lt;P&gt;to create order. It should have created three order but unfortunately it creates&lt;/P&gt;&lt;P&gt;only one sales order. I debugged and found that records are correct both in header,&lt;/P&gt;&lt;P&gt;item, scheudle and partners.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please guide me what I am missing for creation of mass orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your time and many thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 13:54:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894182#M373862</guid>
      <dc:creator>chandra_bangalore</dc:creator>
      <dc:date>2007-01-08T13:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Mass sales order creation using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894183#M373863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you doing a commit work after each of the BAPI calls.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 13:59:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894183#M373863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-08T13:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Mass sales order creation using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894184#M373864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick response. Yes I am calling FM call &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;      return = p_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after calling BAPI.  Please note that I am calling bapi BAPI_SALESORDER_CREATEFROMDAT2 only after population of data.&lt;/P&gt;&lt;P&gt;That means not in a LOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please thow me light again on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 14:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894184#M373864</guid>
      <dc:creator>chandra_bangalore</dc:creator>
      <dc:date>2007-01-08T14:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Mass sales order creation using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894185#M373865</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;It should create three orders, pls check all the parameters u have passing and check the bapi return table for more idea.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 14:10:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894185#M373865</guid>
      <dc:creator>alex_m</dc:creator>
      <dc:date>2007-01-08T14:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Mass sales order creation using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894186#M373866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Loop. Populate one header with the corresponding items at a time, call BAPI  and then COMMIT.  hope this will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhavana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 14:14:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894186#M373866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-08T14:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Mass sales order creation using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894187#M373867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at Header table into wa_header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*-- Move BAPI Header data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Loop at item table into wa_item where condition.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;*--  in this move all Item and Schedule line item  to the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  At end of item .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the below function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; BAPI_SALESORDER_CREATEFROMDAT2&lt;/P&gt;&lt;P&gt; BAPI_TRANSACTION_COMMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Endloop.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&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;Balavardhan.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 14:17:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894187#M373867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-08T14:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Mass sales order creation using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894188#M373868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhavana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick suggestion. Can we get around LOOP process. The reason being if you are uploading 3000 orders for each record it calls BAPI and comit this will reduce the system perfomrance time and uncessary kill the processor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please suggest me doing without a LOOP. I think SAP has faciliated internal table for Header, Item and schedule to populate then why need to have&lt;/P&gt;&lt;P&gt;LOOP again that my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your early reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 14:28:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894188#M373868</guid>
      <dc:creator>chandra_bangalore</dc:creator>
      <dc:date>2007-01-08T14:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Mass sales order creation using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894189#M373869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Performance will be a serious concern if u r going to use loop. So check your BAPI calling parameters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 15:07:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894189#M373869</guid>
      <dc:creator>alex_m</dc:creator>
      <dc:date>2007-01-08T15:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Mass sales order creation using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894190#M373870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please what parameters I need to check. If possilbe forward an example to look at. Once again I appreciate your help.&lt;/P&gt;&lt;P&gt;Many thanks and looking forward your more advise.&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 15:50:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894190#M373870</guid>
      <dc:creator>chandra_bangalore</dc:creator>
      <dc:date>2007-01-08T15:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Mass sales order creation using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894191#M373871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP has provided the option for internal table so that we can populate one header at a time not to populate all headers together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get the clarification of this by doing the below steps.&lt;/P&gt;&lt;P&gt;1. Go to SE37. Give the BAPI Name-&amp;gt; API_SALESORDER_CREATEFROMDAT2.&lt;/P&gt;&lt;P&gt;2. Prerss F8. Now fill the values in header table ORDER_HEADER_IN. Once you double click the icon to fill the data, you will get we can populate only one header line at a time. There is no tab available to insert second line to populate the header data. Means you can't populate more than 1 header.&lt;/P&gt;&lt;P&gt;3. Now try to populate data in Iitem table. You will find there is an option to insert second line, third line.....&lt;/P&gt;&lt;P&gt;I just observe BAPI structure and replied. Hope it's clear now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhavana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 07:02:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894191#M373871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-09T07:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Mass sales order creation using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894192#M373872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhavana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your right response. That means SAP does not provide the mass creation of&lt;/P&gt;&lt;P&gt;Sales orders at one shot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day.&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 09:53:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894192#M373872</guid>
      <dc:creator>chandra_bangalore</dc:creator>
      <dc:date>2007-01-10T09:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Mass sales order creation using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894193#M373873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward the points if my answers were helpful &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhavana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 09:43:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mass-sales-order-creation-using-bapi/m-p/1894193#M373873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T09:43:23Z</dc:date>
    </item>
  </channel>
</rss>

