<?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 error: X is not allowed for LOGIC_SWITCH-PRICING in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error-x-is-not-allowed-for-logic-switch-pricing/m-p/9384269#M1734383</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;Did you have a look at fixed values of the domain 'KNPRS' ?? If so, then there all the allowed values are mentioned and your value 'X' is also present there with a description as "Customer reserve X". Please find out how to maintain required configurations to allow this pricing condition. Also you can search in scn with the key words "Customer reserve X" to find out relevant exits and copy routines involved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kartik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Mar 2013 04:12:27 GMT</pubDate>
    <dc:creator>Kartik2</dc:creator>
    <dc:date>2013-03-21T04:12:27Z</dc:date>
    <item>
      <title>BAPI error: X is not allowed for LOGIC_SWITCH-PRICING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error-x-is-not-allowed-for-logic-switch-pricing/m-p/9384268#M1734382</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;&amp;nbsp;&amp;nbsp; BAPI 'BAPI_SALESORDER_CHANGE' is giving an error when trying to 're-determine the sales order item price' by passing 'logic_switch-pricing = 'X''. After gone though different OSS notes '574088, 593246, 449068, 403065, 410907 and 375016', found that it works for only B / C / G / space pricing types. Found that its working fine using VA05 and /AFS/MDC tcodes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Could any one know how to re-determine sales order price for pricing type X. any other options. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks inadvance, &lt;/P&gt;&lt;P&gt;Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 19:31:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error-x-is-not-allowed-for-logic-switch-pricing/m-p/9384268#M1734382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-20T19:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI error: X is not allowed for LOGIC_SWITCH-PRICING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error-x-is-not-allowed-for-logic-switch-pricing/m-p/9384269#M1734383</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;Did you have a look at fixed values of the domain 'KNPRS' ?? If so, then there all the allowed values are mentioned and your value 'X' is also present there with a description as "Customer reserve X". Please find out how to maintain required configurations to allow this pricing condition. Also you can search in scn with the key words "Customer reserve X" to find out relevant exits and copy routines involved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kartik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 04:12:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error-x-is-not-allowed-for-logic-switch-pricing/m-p/9384269#M1734383</guid>
      <dc:creator>Kartik2</dc:creator>
      <dc:date>2013-03-21T04:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI error: X is not allowed for LOGIC_SWITCH-PRICING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error-x-is-not-allowed-for-logic-switch-pricing/m-p/9384270#M1734384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Kindly refer SAP Note 24832 - Pricing rules / TVCPF for your requirement.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; It states that you have to take use of &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;USEREXIT_PRICING_RULE&lt;/STRONG&gt; in Program &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;RV61AFZA&lt;/STRONG&gt;. This is called after the setup of internal table STEU which defines the behavior of pricing types.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;You need to&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt; maintain required configurations for pricing type X to allow this pricing condition.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Susmitha Pritam&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 07:34:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error-x-is-not-allowed-for-logic-switch-pricing/m-p/9384270#M1734384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-21T07:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI error: X is not allowed for LOGIC_SWITCH-PRICING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error-x-is-not-allowed-for-logic-switch-pricing/m-p/9384271#M1734385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Karthik, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I already checked this, i see X as fixed value for the Domain 'KNPRS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Susmitha, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; As per OSS note '24832' code was already written as below in the program 'RV61AFZA' &amp;amp; form 'userexit_pricing_rule'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S31"&gt;* OSS NOTE: 24832; Example #6;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L1S31"&gt;*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; STEU-KNPRS = &lt;SPAN class="L1S33"&gt;'X'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; STEU-KNTYP = &lt;SPAN class="L1S33"&gt;'GLRIEST...'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;IF&lt;/SPAN&gt; KOMK-KNUMA &lt;SPAN class="L1S52"&gt;IS&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;INITIAL&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STEU-KOAID = &lt;SPAN class="L1S33"&gt;'CD........'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ELSE&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STEU-KOAID = &lt;SPAN class="L1S33"&gt;'D.........'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ENDIF&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; STEU-MAUEB = &lt;SPAN class="L1S33"&gt;' '&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;APPEND&lt;/SPAN&gt; STEU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Since from tcodes &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;VA05 and /AFS/MDC working fine, not sure why its not working using BAPI '&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;BAPI_SALESORDER_CHANGE&lt;/SPAN&gt;'. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 14:02:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error-x-is-not-allowed-for-logic-switch-pricing/m-p/9384271#M1734385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-21T14:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI error: X is not allowed for LOGIC_SWITCH-PRICING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error-x-is-not-allowed-for-logic-switch-pricing/m-p/9384272#M1734386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved myself. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For future use, posting solution which i found. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because of '&lt;SPAN class="L1S52"&gt;CONSTANTS&lt;/SPAN&gt;: possible_pricing(&lt;SPAN class="L1S32"&gt;4&lt;/SPAN&gt;) &lt;SPAN class="L1S52"&gt;VALUE&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;' BCG'&lt;/SPAN&gt;. in the include LZ_FG_V45ATOP, getting an error from the below code, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S31"&gt; *&amp;nbsp; if i_logic_switch-pricing cn possible_pricing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L1S31"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp; sy-msgty = 'E'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L1S31"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp; sy-msgid = 'V4'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L1S31"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp; sy-msgno = '246'. "&amp;amp;1 nicht zulässig für LOGIC_SWITCH-PRICING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L1S31"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp; sy-msgv1 = i_logic_switch-pricing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L1S31"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp; perform fehler_ausgeben tables return&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L1S31"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; using 'LOGIC_SWITCH&amp;nbsp; '&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L1S31"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '0'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L1S31"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp; exit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L1S31"&gt;*&amp;nbsp; endif.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copied FMs - BAPI_SALESORDER_CHANGE', SD_SALES_DOCU_MAINTAIN &amp;amp; SD_SALESDOCUMENT_CHANGE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And commented above code in FM 'SD_SALES_DOCU_MAINTAIN'. Now ZBAPI_SALESORDER_CHANGE is working fine for pricing type X. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your above responses. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S31"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 19:28:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-error-x-is-not-allowed-for-logic-switch-pricing/m-p/9384272#M1734386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-22T19:28:25Z</dc:date>
    </item>
  </channel>
</rss>

