<?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: FM SD_SALESDOCUMENT_CREATE  on creating a sales order using reference in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-sd-salesdocument-create-on-creating-a-sales-order-using-reference/m-p/7478258#M1555915</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please search in SDN so many thread related to create sales order&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Nov 2010 12:18:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-22T12:18:18Z</dc:date>
    <item>
      <title>FM SD_SALESDOCUMENT_CREATE  on creating a sales order using reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-sd-salesdocument-create-on-creating-a-sales-order-using-reference/m-p/7478257#M1555914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I create a sales order using a reference order number.On displaying it in VA02, and giving document flow, the reference document which I used to create the sales order gets displayed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A program/fm u2018Xu2019 is called on giving document flow (which takes the reference order number I used as input )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if that u2018Xu2019 is getting the data of the reference order I used from some table u201CT_Yu201D.This table u201CT_Yu201D must be set during sales order creation itself. So, some program which is called during creation of sales order gets the reference order number I used as input and puts it in that table u201CT_Yu201D.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My assumption is that SD_SALESDOCUMENT_CREATE is the function module handling that part. If it is not for that, then what is its function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****If it is handling that part, which structure which this FM gets as input contains that order number which I used as reference?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 3 bapiu2019s called on sales order creation, BAPI_SALESORDER_CREATEFROMDAT2, BAPI_SALESORDER_CREATEFROMDAT1, BAPI_SALESORDER_CREATEFROMDATA.&lt;/P&gt;&lt;P&gt;Only one BAPI calls SD_SALESDOCUMENT_CREATE namely BAPI_SALESORDER_CREATEFROMDAT2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****Why does the FM SD_SALESDOCUMENT_CREATE not get triggered when I set a breakpoint in it during sales order creation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 12:08:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-sd-salesdocument-create-on-creating-a-sales-order-using-reference/m-p/7478257#M1555914</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-19T12:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: FM SD_SALESDOCUMENT_CREATE  on creating a sales order using reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-sd-salesdocument-create-on-creating-a-sales-order-using-reference/m-p/7478258#M1555915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please search in SDN so many thread related to create sales order&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 12:18:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-sd-salesdocument-create-on-creating-a-sales-order-using-reference/m-p/7478258#M1555915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-22T12:18:18Z</dc:date>
    </item>
  </channel>
</rss>

