<?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: Using quote values w/ BAPI_SALESORDER_SIMULATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-quote-values-w-bapi-salesorder-simulate/m-p/5066841#M1177222</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is really an interesting question!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want to link the sales order item to a quote item and if a quote already exists you want to pull that price rather than repricing within the order simulation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try, passing the three reference document fields for preceding document within ORDER_ITEMS_IN table parameter, with REF_DOC = Quote, REF_DOC_IT = item and REF_DOC_CA = 'B' for quotation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
BAPI_SALESORDER_SIMULATE

Fields from TABLE: ORDER_ITEMS_IN 

REF_DOC	VGBEL	CHAR	10	0	Document number of the reference document
REF_DOC_IT	VGPOS	NUMC	6	0	Item number of the reference item
REF_DOC_CA	VBTYP_V	CHAR	1	0	Document category of preceding SD document&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if it takes the price for this item from the quote instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jan 2009 16:32:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-30T16:32:55Z</dc:date>
    <item>
      <title>Using quote values w/ BAPI_SALESORDER_SIMULATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-quote-values-w-bapi-salesorder-simulate/m-p/5066840#M1177221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am simulating an order with BAPI_SALESORDER_SIMULATE. When i enter the order via VA01, i get a popup that there is an open quote, and i can select thequote and get a specific price. I need to be able to, at the item level, either tell it to use any open quote price, or specify a quote number and item number. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to get the same price for the simulation that i get for VA01, somehow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for any help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 16:25:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-quote-values-w-bapi-salesorder-simulate/m-p/5066840#M1177221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T16:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using quote values w/ BAPI_SALESORDER_SIMULATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-quote-values-w-bapi-salesorder-simulate/m-p/5066841#M1177222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is really an interesting question!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want to link the sales order item to a quote item and if a quote already exists you want to pull that price rather than repricing within the order simulation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try, passing the three reference document fields for preceding document within ORDER_ITEMS_IN table parameter, with REF_DOC = Quote, REF_DOC_IT = item and REF_DOC_CA = 'B' for quotation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
BAPI_SALESORDER_SIMULATE

Fields from TABLE: ORDER_ITEMS_IN 

REF_DOC	VGBEL	CHAR	10	0	Document number of the reference document
REF_DOC_IT	VGPOS	NUMC	6	0	Item number of the reference item
REF_DOC_CA	VBTYP_V	CHAR	1	0	Document category of preceding SD document&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if it takes the price for this item from the quote instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 16:32:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-quote-values-w-bapi-salesorder-simulate/m-p/5066841#M1177222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T16:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using quote values w/ BAPI_SALESORDER_SIMULATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-quote-values-w-bapi-salesorder-simulate/m-p/5066842#M1177223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i was missing the "B". i tried it, but it is still ignoring the quote.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 16:47:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-quote-values-w-bapi-salesorder-simulate/m-p/5066842#M1177223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T16:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using quote values w/ BAPI_SALESORDER_SIMULATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-quote-values-w-bapi-salesorder-simulate/m-p/5066843#M1177224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you pointed me in the right direction, though. it turns out to be the VAL_CONTR and VAL_CON_I fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 16:51:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-quote-values-w-bapi-salesorder-simulate/m-p/5066843#M1177224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T16:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using quote values w/ BAPI_SALESORDER_SIMULATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-quote-values-w-bapi-salesorder-simulate/m-p/5066844#M1177225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me try this in my system and let you know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 17:09:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-quote-values-w-bapi-salesorder-simulate/m-p/5066844#M1177225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T17:09:44Z</dc:date>
    </item>
  </channel>
</rss>

