<?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 Avoid substitute material.., while creating sales order with BAPI? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-substitute-material-while-creating-sales-order-with-bapi/m-p/8385622#M1643299</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use BAPI_SALESDOCU_CREATEFROMDATA1 function module to create a sales order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Material A has a substitute material B with substitute reason 0005.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if I use material A when creating sales order with above BAPI function, the order is created with material B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to substitute the material automatically. I want to create the sales order with material A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should I do? Help me please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Nov 2011 19:00:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-11-21T19:00:40Z</dc:date>
    <item>
      <title>Avoid substitute material.., while creating sales order with BAPI?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-substitute-material-while-creating-sales-order-with-bapi/m-p/8385622#M1643299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use BAPI_SALESDOCU_CREATEFROMDATA1 function module to create a sales order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Material A has a substitute material B with substitute reason 0005.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if I use material A when creating sales order with above BAPI function, the order is created with material B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to substitute the material automatically. I want to create the sales order with material A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should I do? Help me please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 19:00:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-substitute-material-while-creating-sales-order-with-bapi/m-p/8385622#M1643299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-21T19:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid substitute material.., while creating sales order with BAPI?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-substitute-material-while-creating-sales-order-with-bapi/m-p/8385623#M1643300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you would need to reset the configuration (assuming this is controlled by config) for the BAPI load, or if that is not feasible, perhaps you could force it back in user exits during the order creation after input processing.  Not sure how the substitution works now...may have to somehow avoid obtaining the substituted value in an exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: BreakPoint on Nov 21, 2011 8:22 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 19:20:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-substitute-material-while-creating-sales-order-with-bapi/m-p/8385623#M1643300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-21T19:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid substitute material.., while creating sales order with BAPI?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-substitute-material-while-creating-sales-order-with-bapi/m-p/8385624#M1643301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi bvrn Reddy, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know, your message is almost two years old, but, did you find a solution? I'm facing the same problem. The material A has B as substitute, but in va01 a popup appears (its customizing inside the substitution reason, strategy = A). Of course, we have no popup inside the bapi, but there must be a way to decide which material the bapi should use. At the moment I only get the substitute, never the old mat (even there is something in stock).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you've got a helpful hint for me, thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 11:46:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-substitute-material-while-creating-sales-order-with-bapi/m-p/8385624#M1643301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-25T11:46:07Z</dc:date>
    </item>
  </channel>
</rss>

