<?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 Problems with running BAPI   BAPI_SALESORDER_CREATEFROMDAT2 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-running-bapi-bapi-salesorder-createfromdat2/m-p/10335946#M1836824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’ve got a problem running BAPIs in SD invironment.&lt;/P&gt;&lt;P&gt;I’m creating contract releases in SD via BAPI.&lt;/P&gt;&lt;P&gt;First I run BAPI BAPISORDER_GETDETAILEDLIST in my program to get detaildata of the contract. &lt;/P&gt;&lt;P&gt;Then I run the BAPI&amp;nbsp;&amp;nbsp; BAPI_SALESORDER_CREATEFROMDAT2 filled with contract reference data and in addition with order data to create the contract release.This works properly so far. On both sides in the contract and in he contract release I find the correct document flow. Means: in document flow of the contract I find all the releases created . Also I find the contract in the documentflow of the releases. &lt;/P&gt;&lt;P&gt;But…something does not work: In the contract the released values are not updated. When I create a release manually, the release values are accumulated&amp;nbsp; in the contract in field&amp;nbsp; ‘value released’ under flag ‘item detail’. But this does not work, when the leases are created via BAPI. However I checked several parameters in the BAPIS but I cannot find something that leads to an update .&lt;/P&gt;&lt;P&gt;Can somebody help me and can tell me what is to be done to get this field updated? Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same in German...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ich habe ein Problem mit BAPIs im SD.&lt;/P&gt;&lt;P&gt;Ich erzeuge Abrufe zum Kontrakt im SD mittels BAPIs.&lt;/P&gt;&lt;P&gt;Zuerst lasse ich den BAPI BAPISORDER_GETDETAILEDLIST laufen, um mittels Kontraktnummer alle Daten zum Kontrakt zu bekommen. Dann lasse ich den BAPI&amp;nbsp;&amp;nbsp; BAPI_SALESORDER_CREATEFROMDAT2 gefüllt mit SD-Abrufdaten und den Referenzdaten des Kontraktes laufen Dies funktioniert soweit sehr gut. Sowohl im Kontrakt als auch im Abruf sind jeweils die übergeordneten bzw. untergeordneten Vertiebsbelege zu sehen. Die Referenz wird also hergestellt. Jedoch wird im Kontrakt nicht die Abrufwerte aufsummiert. Normalerweise wird bei manueller Erstellung der Abrufe im Kontrakt die jeweilgen abgerufenen Werte gegen den Kontraktwert aufsummiert (Feld abgerufene Werte im Kontrakt unter Reiter ‚Positionsdetail‘. Ich habe alle möglichen Parameter im BAPI geprüft und getestet aber nichts gefunden, was mir die abgerufenen Werten aufsummiert. &lt;/P&gt;&lt;P&gt;Kann mir dazu einen Tip geben, was ich tun kann, damit auch die Werte richtig referenzieren ? Danke im Voraus.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 May 2014 15:40:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-05-25T15:40:26Z</dc:date>
    <item>
      <title>Problems with running BAPI   BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-running-bapi-bapi-salesorder-createfromdat2/m-p/10335946#M1836824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’ve got a problem running BAPIs in SD invironment.&lt;/P&gt;&lt;P&gt;I’m creating contract releases in SD via BAPI.&lt;/P&gt;&lt;P&gt;First I run BAPI BAPISORDER_GETDETAILEDLIST in my program to get detaildata of the contract. &lt;/P&gt;&lt;P&gt;Then I run the BAPI&amp;nbsp;&amp;nbsp; BAPI_SALESORDER_CREATEFROMDAT2 filled with contract reference data and in addition with order data to create the contract release.This works properly so far. On both sides in the contract and in he contract release I find the correct document flow. Means: in document flow of the contract I find all the releases created . Also I find the contract in the documentflow of the releases. &lt;/P&gt;&lt;P&gt;But…something does not work: In the contract the released values are not updated. When I create a release manually, the release values are accumulated&amp;nbsp; in the contract in field&amp;nbsp; ‘value released’ under flag ‘item detail’. But this does not work, when the leases are created via BAPI. However I checked several parameters in the BAPIS but I cannot find something that leads to an update .&lt;/P&gt;&lt;P&gt;Can somebody help me and can tell me what is to be done to get this field updated? Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same in German...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ich habe ein Problem mit BAPIs im SD.&lt;/P&gt;&lt;P&gt;Ich erzeuge Abrufe zum Kontrakt im SD mittels BAPIs.&lt;/P&gt;&lt;P&gt;Zuerst lasse ich den BAPI BAPISORDER_GETDETAILEDLIST laufen, um mittels Kontraktnummer alle Daten zum Kontrakt zu bekommen. Dann lasse ich den BAPI&amp;nbsp;&amp;nbsp; BAPI_SALESORDER_CREATEFROMDAT2 gefüllt mit SD-Abrufdaten und den Referenzdaten des Kontraktes laufen Dies funktioniert soweit sehr gut. Sowohl im Kontrakt als auch im Abruf sind jeweils die übergeordneten bzw. untergeordneten Vertiebsbelege zu sehen. Die Referenz wird also hergestellt. Jedoch wird im Kontrakt nicht die Abrufwerte aufsummiert. Normalerweise wird bei manueller Erstellung der Abrufe im Kontrakt die jeweilgen abgerufenen Werte gegen den Kontraktwert aufsummiert (Feld abgerufene Werte im Kontrakt unter Reiter ‚Positionsdetail‘. Ich habe alle möglichen Parameter im BAPI geprüft und getestet aber nichts gefunden, was mir die abgerufenen Werten aufsummiert. &lt;/P&gt;&lt;P&gt;Kann mir dazu einen Tip geben, was ich tun kann, damit auch die Werte richtig referenzieren ? Danke im Voraus.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 May 2014 15:40:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-running-bapi-bapi-salesorder-createfromdat2/m-p/10335946#M1836824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-25T15:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with running BAPI   BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-running-bapi-bapi-salesorder-createfromdat2/m-p/10335947#M1836825</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;maybe you got the wrong BAPIs for contracts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look at BAPI list &lt;STRONG&gt;&lt;EM&gt;BAPI*CONTRACT*&lt;/EM&gt;&lt;/STRONG&gt; and BAPI &lt;STRONG&gt;&lt;EM&gt;BAPI_SALES_DEL_SCHEDULE_CREATE&lt;/EM&gt;&lt;/STRONG&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;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 05:04:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-running-bapi-bapi-salesorder-createfromdat2/m-p/10335947#M1836825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-26T05:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with running BAPI   BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-running-bapi-bapi-salesorder-createfromdat2/m-p/10335948#M1836826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the usage of exactly this BAPIs in the way I described&amp;nbsp; is in according to SAP note 370988.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_SALES_DEL_SCHEDULE_CREATE ist for SD schedule agreements and not for SD contracts and does not offer Input parameters for e.g.&amp;nbsp; adding price conditions what is needed for my task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field in contract I mentioned e.g. in Transaction VA42 VA43 is filled / gets its Information out of Infostructure/table S135. The BAPI seems not be able to fill this structure while creating the contract release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking for example an input parameter I did not found already or any other option that leads to an update of infostructure S135 while creating/posting a release via BAPI. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 06:25:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-running-bapi-bapi-salesorder-createfromdat2/m-p/10335948#M1836826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-27T06:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with running BAPI   BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-running-bapi-bapi-salesorder-createfromdat2/m-p/10335949#M1836827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you check the fields: "w_items_in-val_contr" and "w_items_in-val_con_i" and also the corresponding fields: "w_items_inx-val_contr" and "w_items_inx-val_con_i" in the form: "SET_ITEMS" of the bapi?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally these fields are neccessary for the contract.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bets regards,&lt;/P&gt;&lt;P&gt;Julian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 07:08:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-running-bapi-bapi-salesorder-createfromdat2/m-p/10335949#M1836827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-26T07:08:13Z</dc:date>
    </item>
  </channel>
</rss>

