<?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: BAPI_SALESORDER_CREATEFROMDAT2 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/1258761#M146960</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;Check out &amp;lt;a href="https://websmp202.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&amp;amp;_OBJECT=011000358700008751302001"&amp;gt;OSS Note 370988&amp;lt;/a&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAUTION!  Apparently the above referenced OSS Note is not completely correct.  Creating with reference using this BAPI seems to work just fine as long as you include the ref doc as shown below.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm glad it worked for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;James G.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: James Gaddis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Mar 2006 19:24:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-09T19:24:49Z</dc:date>
    <item>
      <title>BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/1258760#M146959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts, &lt;/P&gt;&lt;P&gt;I'm facing a interesting problem using bapi BAPI_SALESORDER_CREATEFROMDAT2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm creating a sales order with reference using this bapi, but, the document flow is not being mainteined...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone know why it happen ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alexandre Nogueira&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 18:56:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/1258760#M146959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T18:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/1258761#M146960</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;Check out &amp;lt;a href="https://websmp202.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&amp;amp;_OBJECT=011000358700008751302001"&amp;gt;OSS Note 370988&amp;lt;/a&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAUTION!  Apparently the above referenced OSS Note is not completely correct.  Creating with reference using this BAPI seems to work just fine as long as you include the ref doc as shown below.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm glad it worked for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;James G.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: James Gaddis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 19:24:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/1258761#M146960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T19:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/1258762#M146961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Item table being passed into the BAPI...&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      ORDER_HEADER_IN           = hdr&lt;/P&gt;&lt;P&gt;      convert                   = 'X'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      SALESDOCUMENT             = salesdoc&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      return                    = ret_tbl&lt;/P&gt;&lt;P&gt;      ORDER_ITEMS_IN            = itm&lt;/P&gt;&lt;P&gt;      ORDER_PARTNERS            = prtnr&lt;/P&gt;&lt;P&gt;      ORDER_ITEMS_inx           = itmx&lt;/P&gt;&lt;P&gt;      ORDER_CONDITIONS_IN       = conds&lt;/P&gt;&lt;P&gt;      ORDER_CONDITIONS_INX      = condsx&lt;/P&gt;&lt;P&gt;      order_schedules_in        = schd_lin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that you fill in:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Assigning ref doc to create line item entries in VBFA.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    itm-REF_DOC    = i_vakgu-vbeln. "ref doc&lt;/P&gt;&lt;P&gt;    itm-REF_DOC_IT = i_vbap-posnr. "line item of ref doc&lt;/P&gt;&lt;P&gt;    itm-REF_DOC_CA = 'B'.        "doc type of ref doc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 19:27:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/1258762#M146961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T19:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/1258763#M146962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks John,&lt;/P&gt;&lt;P&gt;You solved my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alexandre Nogueira&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 19:33:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/1258763#M146962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T19:33:59Z</dc:date>
    </item>
  </channel>
</rss>

