<?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_CONTRACT_CREATEFROMDATA: Problem with order quantity in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-problem-with-order-quantity/m-p/1547251#M248743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have realized that the BAPI is missing a TABLES parameter that is required for the order quantities.&lt;/P&gt;&lt;P&gt;Looking under the hood the BAPI does nothing else but calling function module &amp;lt;b&amp;gt;SD_SALESDOCUMENT_CREATE&amp;lt;/b&amp;gt;. This function module contains the additional TABLES parameter &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SALES_SCHEDULES_IN&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Interestingly, this function module is RFC-enabled. Thus, instead of calling the BAPI I will directly call function module SD_SALESDOCUMENT_CREATE.&lt;/P&gt;&lt;P&gt;Perhaps SAP will correct this BAPI and release it for customers in the near future (although on ECC 6.0 it still looks the same).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;   Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Sep 2006 08:25:11 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2006-09-08T08:25:11Z</dc:date>
    <item>
      <title>BAPI_CONTRACT_CREATEFROMDATA: Problem with order quantity</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-problem-with-order-quantity/m-p/1547250#M248742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Working on SAP R/3 Enterprise (4.70, basis 6.20) I am using BAPI_CONTRACT_CREATEFROMDATA to create a contract with several positions. While I am able to set the target quantity I cannot set the order quantity for the positions.&lt;/P&gt;&lt;P&gt;I do not see which field (if at all) of the TABLES parameter &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CONTRACT_ITEMS_IN&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; does allow to set the order quantity.&lt;/P&gt;&lt;P&gt;If anybody has a solution for my problem I will appreciate your input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;   Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 15:09:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-problem-with-order-quantity/m-p/1547250#M248742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-07T15:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CONTRACT_CREATEFROMDATA: Problem with order quantity</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-problem-with-order-quantity/m-p/1547251#M248743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have realized that the BAPI is missing a TABLES parameter that is required for the order quantities.&lt;/P&gt;&lt;P&gt;Looking under the hood the BAPI does nothing else but calling function module &amp;lt;b&amp;gt;SD_SALESDOCUMENT_CREATE&amp;lt;/b&amp;gt;. This function module contains the additional TABLES parameter &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SALES_SCHEDULES_IN&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Interestingly, this function module is RFC-enabled. Thus, instead of calling the BAPI I will directly call function module SD_SALESDOCUMENT_CREATE.&lt;/P&gt;&lt;P&gt;Perhaps SAP will correct this BAPI and release it for customers in the near future (although on ECC 6.0 it still looks the same).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;   Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 08:25:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-createfromdata-problem-with-order-quantity/m-p/1547251#M248743</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-09-08T08:25:11Z</dc:date>
    </item>
  </channel>
</rss>

