<?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/4186789#M1000822</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes you can use this bapi with refrence of invoice.&lt;/P&gt;&lt;P&gt;just see this field &lt;STRONG&gt;BAPISDHD1-REFDOCTYPE&lt;/STRONG&gt;.in that you need to fill ref doc number.&lt;/P&gt;&lt;P&gt;for more read functional module documentation in SE37&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jul 2008 07:45:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-28T07:45:59Z</dc:date>
    <item>
      <title>BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/4186787#M1000820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can we use BAPI_SALESORDER_CREATEFROMDAT2  to create a sales order with reference to an invoice?If yes please tell me what should be given in the import parameters and export parameters.Please explain in detail if possible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 07:33:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/4186787#M1000820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T07:33:55Z</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/4186788#M1000821</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;Refer to this thread&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5702272"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 07:37:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/4186788#M1000821</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2008-07-28T07:37:51Z</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/4186789#M1000822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes you can use this bapi with refrence of invoice.&lt;/P&gt;&lt;P&gt;just see this field &lt;STRONG&gt;BAPISDHD1-REFDOCTYPE&lt;/STRONG&gt;.in that you need to fill ref doc number.&lt;/P&gt;&lt;P&gt;for more read functional module documentation in SE37&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 07:45:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/4186789#M1000822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T07:45:59Z</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/4186790#M1000823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for passing parameters refer to following link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5702272"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 07:54:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/4186790#M1000823</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T07:54:13Z</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/4186791#M1000824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, you can find what you want by F1 doc.&lt;/P&gt;&lt;P&gt;here's the . Mandatory entries for it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Mandatory entries:&lt;/P&gt;&lt;P&gt;ORDER_HEADER_IN : DOC_TYPE     Sales document type&lt;/P&gt;&lt;P&gt;                   SALES_ORG    Sales organization&lt;/P&gt;&lt;P&gt;                   DISTR_CHAN   Distribution channel&lt;/P&gt;&lt;P&gt;                   DIVISION     Division&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORDER_PARTNERS..: PARTN_ROLE   Partner functions, SP sold-to party&lt;/P&gt;&lt;P&gt;                   PARTN_NUMB   Customer number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORDER_ITEMS_IN..: MATERIAL     Material number&lt;/P&gt;&lt;P&gt;                   REQ_QTY      Order quantity in sales unit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 08:01:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/4186791#M1000824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T08:01:37Z</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/4186792#M1000825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pavan/Twinkal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am really sorry to Shah he got some irrilivent input from both.and intersting thing is that both have indicate the same link ;-).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me elaborate bit i hope Shah is not asking about parameters which need to be filled in Fm but he is asking can we create a sales order with reference to an invoice?&lt;/P&gt;&lt;P&gt;an both provide a uninformed link which he not suppose to get.&lt;/P&gt;&lt;P&gt;sorry if i hurt you both.&lt;/P&gt;&lt;P&gt;and sorry if i misunderstood his question.&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 08:02:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/4186792#M1000825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T08:02:58Z</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/4186793#M1000826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You still the same..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If yes please tell me what should be given in the import parameters and export parameters&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i gave reply regarding this..and in that link there is a code with import export parameter so that he can get some hint for his question..I asked same question for BAPI FM so i know how much it helps if somebody gives atleast this type of code, when you dont know anything about that FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 08:09:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/4186793#M1000826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T08:09:00Z</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/4186794#M1000827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Twinkal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Wrote:
You still the same..&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;more:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;i gave reply regarding this..and in that link there is a code with import export parameter so that he can get some hint for his question..&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;EXPORTING&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ORDER_HEADER_IN = W_HEAD&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;IMPORTING&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SALESDOCUMENT = ZONC_ORDER_NUMBER&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TABLES&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;RETURN = T_RETURN&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ORDER_ITEMS_IN = T_LINE&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ORDER_ITEMS_INX = T_LINEX&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ORDER_PARTNERS = T_PARTNER&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ORDER_CONDITIONS_IN = T_COND&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ORDER_CONDITIONS_INX = T_CONDX&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ORDER_CCARD = T_CCARD&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ORDER_TEXT = T_TEXT&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;EXTENSIONIN = T_EXTEN.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;this is what about both you and pavan posted about&lt;/P&gt;&lt;P&gt;are you able to see here what is filled in W_HEAD? which is exporting parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;simpal questionar is asking about the refrence document number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;be specific.&lt;/P&gt;&lt;P&gt;any ways your help is always welcome here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 08:44:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/4186794#M1000827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T08:44:51Z</dc:date>
    </item>
  </channel>
</rss>

