<?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 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/3061185#M725097</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;i use BAPI_SALESORDER_CREATEFROMDAT2 to create sales order!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this sales document type = 'CR' or 'DR' but&lt;/P&gt;&lt;P&gt;i will get return :Unpermitted combination of business object BUS2032and sales doc. category K and error number is 761&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why BAPI_SALESORDER_CREATEFROMDAT2 can't create CR of SO.&lt;/P&gt;&lt;P&gt;and how to resolve! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;urgent ! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Nov 2007 06:24:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-30T06:24:00Z</dc:date>
    <item>
      <title>BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/3061185#M725097</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;i use BAPI_SALESORDER_CREATEFROMDAT2 to create sales order!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this sales document type = 'CR' or 'DR' but&lt;/P&gt;&lt;P&gt;i will get return :Unpermitted combination of business object BUS2032and sales doc. category K and error number is 761&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why BAPI_SALESORDER_CREATEFROMDAT2 can't create CR of SO.&lt;/P&gt;&lt;P&gt;and how to resolve! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;urgent ! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2007 06:24:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/3061185#M725097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-30T06:24: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/3061186#M725098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have resolve it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2007 07:28:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/3061186#M725098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-30T07:28:40Z</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/3061187#M725099</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;please could you explain the resolution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many tanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2007 14:36:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/3061187#M725099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-04T14:36:45Z</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/3061188#M725100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Weel, if xiaobing does not explain, I could do: &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; BAPI_SALESORDER_CREATEFROMDAT2 calls 'SD_SALESDOCUMENT_CREATE' with parameter &lt;/P&gt;&lt;P&gt;business_object         = 'BUS2032'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We had the same problem and used a wrapper function where we passed the business object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then we proceed without change and it works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the business type assignment:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  case lv_vbtyp.
    when gc_vbtyp_order.
      lv_oj_name = 'BUS2032'.
    when gc_vbtyp_return.
      lv_oj_name = 'BUS2102'.
    when gc_vbtyp_credit_req.
      lv_oj_name = 'BUS2094'.
    when gc_vbtyp_debit_req.
      lv_oj_name = 'BUS2096'.
    when others.
* no good
  endcase." lv_vbtyp.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2007 15:07:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2/m-p/3061188#M725100</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2007-12-04T15:07:56Z</dc:date>
    </item>
  </channel>
</rss>

