<?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: SalesOrder-creation with BAPI - pricing problems in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/salesorder-creation-with-bapi-pricing-problems/m-p/4790393#M1122039</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Nov 2008 09:50:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-18T09:50:40Z</dc:date>
    <item>
      <title>SalesOrder-creation with BAPI - pricing problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/salesorder-creation-with-bapi-pricing-problems/m-p/4790389#M1122035</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 have a problem with the BAPI BAPI_SALESORDER_CREATEFROMDAT2 that I use to create a new sales order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I call it with the following input-data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
    EXPORTING
      order_header_in    = ls_header
      testrun            = ' '
    IMPORTING
      salesdocument      = lv_new_vbeln
    TABLES
      return             = lt_return
      order_items_in     = lt_order_items
      order_schedules_in = lt_order_schedule
      order_partners     = lt_order_partner.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem now is that the document can only be saves uncomplete, that means the return table of the BAPI contains the message V1555 "The sales document is not yet complete: Edit data". The missing data is the complete pricing of the document. I want that the pricing is done automaticly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I go then to VA02 and select "Edit - New pricing document" in the menu it works and the pricing is done by SAP in the right way.&lt;/P&gt;&lt;P&gt;How can I configure the BAPI for automaticly do the pricing? I don't wanna do the pricing manually in programm if possible (I mean filling the conditions-table of BAPI). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Markus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 08:43:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/salesorder-creation-with-bapi-pricing-problems/m-p/4790389#M1122035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T08:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: SalesOrder-creation with BAPI - pricing problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/salesorder-creation-with-bapi-pricing-problems/m-p/4790390#M1122036</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;Try to set the LOGIC_SWITCH parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 08:49:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/salesorder-creation-with-bapi-pricing-problems/m-p/4790390#M1122036</guid>
      <dc:creator>pole_li</dc:creator>
      <dc:date>2008-11-18T08:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: SalesOrder-creation with BAPI - pricing problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/salesorder-creation-with-bapi-pricing-problems/m-p/4790391#M1122037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which value should I set to the pricing fields in the logic_switch parameter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 09:04:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/salesorder-creation-with-bapi-pricing-problems/m-p/4790391#M1122037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T09:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: SalesOrder-creation with BAPI - pricing problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/salesorder-creation-with-bapi-pricing-problems/m-p/4790392#M1122038</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;LOGIC_SWITCH-PRICING, Pls try value "D"&lt;/P&gt;&lt;P&gt;It has the following value:&lt;/P&gt;&lt;P&gt;A	Copy price components and redetermine scales&lt;/P&gt;&lt;P&gt;B	Carry out new pricing&lt;/P&gt;&lt;P&gt;C	Copy manual pricing elements and redetermine the others&lt;/P&gt;&lt;P&gt;D	Copy pricing elements unchanged&lt;/P&gt;&lt;P&gt;E	Adopt price components and fix values&lt;/P&gt;&lt;P&gt;F	Copy pricing elements, turn value and fix&lt;/P&gt;&lt;P&gt;G	Copy pricing elements unchanged and redetermine taxes&lt;/P&gt;&lt;P&gt;H	Redetermine freight conditions&lt;/P&gt;&lt;P&gt;I	Redetermine rebate conditions&lt;/P&gt;&lt;P&gt;J	Redetermine confirmed purch. net price / value (KNTYP=d)&lt;/P&gt;&lt;P&gt;K	Adopt price components and cose. Redetermine taxes.&lt;/P&gt;&lt;P&gt;M	Copy pricing elements, turn value&lt;/P&gt;&lt;P&gt;N	Transfer pricing components unchanged, new cost&lt;/P&gt;&lt;P&gt;O	Redetermine variant conditions (KNTYP=O)&lt;/P&gt;&lt;P&gt;Q	Redetermine calculation conditions (KNTYP=Q)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 09:37:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/salesorder-creation-with-bapi-pricing-problems/m-p/4790392#M1122038</guid>
      <dc:creator>pole_li</dc:creator>
      <dc:date>2008-11-18T09:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: SalesOrder-creation with BAPI - pricing problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/salesorder-creation-with-bapi-pricing-problems/m-p/4790393#M1122039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 09:50:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/salesorder-creation-with-bapi-pricing-problems/m-p/4790393#M1122039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T09:50:40Z</dc:date>
    </item>
  </channel>
</rss>

