<?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: SO creation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-creation/m-p/1939911#M388220</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;      You also have to fill the tables and structures .&lt;/P&gt;&lt;P&gt;ORDER_HEADER_INX&lt;/P&gt;&lt;P&gt;ORDER_ITEMS_INX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also partners tables .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Feb 2007 05:46:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-26T05:46:35Z</dc:date>
    <item>
      <title>SO creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-creation/m-p/1939910#M388219</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;&lt;/P&gt;&lt;P&gt;I am trying to create a sales order  using  'BAPI_SALESORDER_CREATEFROMDAT2'.&lt;/P&gt;&lt;P&gt;i am passing the following values to the bapi.&lt;/P&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;&lt;P&gt;lw_hd1-doc_type = 'TA'.&lt;/P&gt;&lt;P&gt;lw_hd1-sales_org = '1030'.&lt;/P&gt;&lt;P&gt;lw_hd1-distr_chan = '10'.&lt;/P&gt;&lt;P&gt;lw_hd1-division = '10'.&lt;/P&gt;&lt;P&gt;lw_hd1-purch_no_s = '1234'.&lt;/P&gt;&lt;P&gt;lw_hd1-po_dat_s = sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lw_hd1x-updateflag = 'I'.&lt;/P&gt;&lt;P&gt;lw_hd1x-doc_type = 'X'.&lt;/P&gt;&lt;P&gt;lw_hd1x-sales_org = 'X'.&lt;/P&gt;&lt;P&gt;lw_hd1x-distr_chan = 'X'.&lt;/P&gt;&lt;P&gt;lw_hd1x-division = 'X'.&lt;/P&gt;&lt;P&gt;lw_hd1-purch_no_s = 'X'.&lt;/P&gt;&lt;P&gt;lw_hd1-po_dat_s = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*populating the partner data.&lt;/P&gt;&lt;P&gt;lt_pr-partn_role = 'AG'.&lt;/P&gt;&lt;P&gt;lt_pr-partn_numb = '0000008000'.&lt;/P&gt;&lt;P&gt;APPEND lt_pr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lt_itm-material = 'L0873'.&lt;/P&gt;&lt;P&gt;lt_itm-plant =  '2502'.&lt;/P&gt;&lt;P&gt;lt_itm-val_type = '0304'.&lt;/P&gt;&lt;P&gt;lt_itm-target_qty = 10.&lt;/P&gt;&lt;P&gt;APPEND lt_itm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lt_itmx-updateflag = 'I'.&lt;/P&gt;&lt;P&gt;lt_itmx-material = 'X'.&lt;/P&gt;&lt;P&gt;lt_itmx-plant = 'X'.&lt;/P&gt;&lt;P&gt;lt_itmx-val_type = 'X'.&lt;/P&gt;&lt;P&gt;lt_itmx-target_qty = 'X'.&lt;/P&gt;&lt;P&gt;APPEND lt_itmx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*calling the bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'&lt;/P&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;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By passing the same values in VA01 tcode  i am able to create a sales order .&lt;/P&gt;&lt;P&gt;but when i try to create it using bapi its throwing following messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SALES_HEADER_IN has been processed successfully&lt;/P&gt;&lt;P&gt;SALES_ITEM_IN has been processed successfully&lt;/P&gt;&lt;P&gt;The sales document is not yet complete: Edit data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any body pls tell me what is the data am missing ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;sandeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 05:42:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-creation/m-p/1939910#M388219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T05:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: SO creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-creation/m-p/1939911#M388220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;      You also have to fill the tables and structures .&lt;/P&gt;&lt;P&gt;ORDER_HEADER_INX&lt;/P&gt;&lt;P&gt;ORDER_ITEMS_INX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also partners tables .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 05:46:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-creation/m-p/1939911#M388220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T05:46:35Z</dc:date>
    </item>
  </channel>
</rss>

