<?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: How to create contract using BAPI_SALESORDER_CREATEFROMDAT2 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-contract-using-bapi-salesorder-createfromdat2/m-p/3491547#M839675</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shameem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't use that BAPI it's for sales orders only. Use BAPI_CONTRACT_CREATEFROMDATA to create Sales contracts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Mar 2008 07:24:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-11T07:24:34Z</dc:date>
    <item>
      <title>How to create contract using BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-contract-using-bapi-salesorder-createfromdat2/m-p/3491546#M839674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;      I am trying create contract (VA41) using the BAPI &lt;STRONG&gt;BAPI_SALESORDER_CREATEFROMDAT2&lt;/STRONG&gt;. But it is throwing error as "Unpermitted combination of business object BUS2032 and sales doc. category G". I have filled the fields order type, sales org, distribution channel, division and I put partner function as 'AG' and partner as some kunnr. what are the mandatory fields has to be filled for the creation of contract. Please help me out of this. Helpful answers will be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shameem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2008 07:05:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-contract-using-bapi-salesorder-createfromdat2/m-p/3491546#M839674</guid>
      <dc:creator>asik_shameem</dc:creator>
      <dc:date>2008-03-11T07:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to create contract using BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-contract-using-bapi-salesorder-createfromdat2/m-p/3491547#M839675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shameem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't use that BAPI it's for sales orders only. Use BAPI_CONTRACT_CREATEFROMDATA to create Sales contracts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2008 07:24:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-contract-using-bapi-salesorder-createfromdat2/m-p/3491547#M839675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-11T07:24:34Z</dc:date>
    </item>
  </channel>
</rss>

