<?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>Question Re: Customer Expected Price in Enterprise Resource Planning Q&amp;A</title>
    <link>https://community.sap.com/t5/enterprise-resource-planning-q-a/customer-expected-price/qaa-p/12139560#M3937768</link>
    <description>&lt;P&gt;Come on, have you looked at the standard routine for EDI1 and EDI2?&lt;/P&gt;&lt;P&gt;If you have done that, you would have known that the routine uses the net price to calculate the difference, not a certain subtotal and definitely not just PR00.&lt;/P&gt;&lt;P&gt;Please, before posting the requirements of your client, preform at least some basic research.&lt;/P&gt;&lt;P&gt;Read the code, it is very easy to understand how to set CEPOK to 'B' in a custom routine.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Feb 2020 19:24:59 GMT</pubDate>
    <dc:creator>VeselinaPeykova</dc:creator>
    <dc:date>2020-02-17T19:24:59Z</dc:date>
    <item>
      <title>Customer Expected Price</title>
      <link>https://community.sap.com/t5/enterprise-resource-planning-q-a/customer-expected-price/qaq-p/12139559</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
  &lt;P&gt;Standard EDI1 condition type will check the Price from the Price condition(e.g. PR00) and it will block the sales order if any discrepancy. &lt;/P&gt;
  &lt;P&gt;We have the requirement to check the price after specific discount and not the PR00 price. In this case can we do this with the standard EDI1 or EDI2 condition type configuration.Please suggest.&lt;/P&gt;
  &lt;P&gt;Second requirement is , customer is sending some discount with Price. In this case we need to check the Price as well as discount with the actual Price and discount , and if any differences in Price or discount then the sales order should blocked.&lt;/P&gt;
  &lt;P&gt;Please suggest.&lt;/P&gt;
  &lt;P&gt;Thanks and Regards,&lt;/P&gt;
  &lt;P&gt;PM&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 17:59:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/enterprise-resource-planning-q-a/customer-expected-price/qaq-p/12139559</guid>
      <dc:creator>Pankaj_M</dc:creator>
      <dc:date>2020-02-17T17:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Customer Expected Price</title>
      <link>https://community.sap.com/t5/enterprise-resource-planning-q-a/customer-expected-price/qaa-p/12139560#M3937768</link>
      <description>&lt;P&gt;Come on, have you looked at the standard routine for EDI1 and EDI2?&lt;/P&gt;&lt;P&gt;If you have done that, you would have known that the routine uses the net price to calculate the difference, not a certain subtotal and definitely not just PR00.&lt;/P&gt;&lt;P&gt;Please, before posting the requirements of your client, preform at least some basic research.&lt;/P&gt;&lt;P&gt;Read the code, it is very easy to understand how to set CEPOK to 'B' in a custom routine.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 19:24:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/enterprise-resource-planning-q-a/customer-expected-price/qaa-p/12139560#M3937768</guid>
      <dc:creator>VeselinaPeykova</dc:creator>
      <dc:date>2020-02-17T19:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Customer Expected Price</title>
      <link>https://community.sap.com/t5/enterprise-resource-planning-q-a/customer-expected-price/qaa-p/12139561#M3937769</link>
      <description>&lt;P&gt;Thank you &lt;SPAN class="mention-scrubbed"&gt;veselina.peykova&lt;/SPAN&gt; for your inputs.&lt;/P&gt;&lt;P&gt;I agree with you the routine uses the net price to calculate the difference. I understood from your answer that the i need to create the custom routine to check the specific value and also for the discount condition.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;PM&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 20:18:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/enterprise-resource-planning-q-a/customer-expected-price/qaa-p/12139561#M3937769</guid>
      <dc:creator>Pankaj_M</dc:creator>
      <dc:date>2020-02-18T20:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Customer Expected Price</title>
      <link>https://community.sap.com/t5/enterprise-resource-planning-q-a/customer-expected-price/qaa-p/12139562#M3937770</link>
      <description>&lt;P&gt;Why the need to be rude and tell people to read ABAP code? Reading code is not mandatory to post any questions, AFAIK. And not everyone has the skills to read code.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 17:10:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/enterprise-resource-planning-q-a/customer-expected-price/qaa-p/12139562#M3937770</guid>
      <dc:creator>hark101</dc:creator>
      <dc:date>2020-02-20T17:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Customer Expected Price</title>
      <link>https://community.sap.com/t5/enterprise-resource-planning-q-a/customer-expected-price/qaa-p/12139563#M3937771</link>
      <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;edson.vieira3&lt;/SPAN&gt; the reason why I mentioned to the OP to read the code is to see in an example from the standard routine assigned to EDI1 in RVAA01 procedure how the requirement can be fulfilled.&lt;/P&gt;&lt;P&gt;A part of the research for using a functionality is to understand how it works. Understanding how pricing works is a mandatory skill for any SD consultant, especially when a need arises to use a standard functionality in a non-standard way. And you do not need deep ABAP knowledge to understand code like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;form frm_kondi_wert_008.

  data: maximum(3) type p value 100,
        difference(7) type p.

  check: komp-cepok ne 'C',
         komp-kposn ne 0,
         komk-vbtyp na vbtyp_fakt.
  if komp-fxmsg = space.
    komp-fxmsg = '805'.
  endif.
  komp-cepok = ' '.
  check: komp-prsfd = 'X'.
  komp-cepok = 'A'.
  difference = komp-netwr - xkwert.
  if difference lt 0.
    difference = difference * -1.
  endif.
  check: difference gt maximum.
  komp-cepok = 'B'.
  xkomv-fxmsg = '249'.

endform.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If you feel offended by the post (it seems the OP understood why I mentioned reviewing the code from the routine), you can use the Alert Moderator link.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 17:48:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/enterprise-resource-planning-q-a/customer-expected-price/qaa-p/12139563#M3937771</guid>
      <dc:creator>VeselinaPeykova</dc:creator>
      <dc:date>2020-02-20T17:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Customer Expected Price</title>
      <link>https://community.sap.com/t5/enterprise-resource-planning-q-a/customer-expected-price/qaa-p/12139564#M3937772</link>
      <description>&lt;P&gt;Thank you for your inputs.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 18:56:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/enterprise-resource-planning-q-a/customer-expected-price/qaa-p/12139564#M3937772</guid>
      <dc:creator>Pankaj_M</dc:creator>
      <dc:date>2020-02-20T18:56:03Z</dc:date>
    </item>
  </channel>
</rss>

