<?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: KF calculations - Price changes in Supply Chain Management Q&amp;A</title>
    <link>https://community.sap.com/t5/supply-chain-management-q-a/kf-calculations-price-changes/qaa-p/12580368#M188280</link>
    <description>&lt;P&gt;Hi Lucas, you mentioned you guys did use a Local Member to achieve the goal, but wouldn't a CPI do the job as easy as well?&lt;/P&gt;</description>
    <pubDate>Tue, 13 Dec 2022 17:05:40 GMT</pubDate>
    <dc:creator>former_member811144</dc:creator>
    <dc:date>2022-12-13T17:05:40Z</dc:date>
    <item>
      <title>KF calculations - Price changes</title>
      <link>https://community.sap.com/t5/supply-chain-management-q-a/kf-calculations-price-changes/qaq-p/12580364</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;
  &lt;P&gt;we're trying to create a KF calculation that will calculate the projected price based on an initial price and monthly raises in % as shown in the picture.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2104937-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Projected price (month n) = projected price (month n-1) * (1 + Price change(n))&lt;/P&gt;
  &lt;P&gt;Does anybody know how to do this in kf calculations? we tried using IBP_LPA and IBP_PERIODSHIFT but anything seems to work.&lt;/P&gt;
  &lt;P&gt;Any advice is greatly appreciated. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 15:50:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/supply-chain-management-q-a/kf-calculations-price-changes/qaq-p/12580364</guid>
      <dc:creator>d_lucas</dc:creator>
      <dc:date>2022-10-18T15:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: KF calculations - Price changes</title>
      <link>https://community.sap.com/t5/supply-chain-management-q-a/kf-calculations-price-changes/qaa-p/12580365#M188277</link>
      <description>&lt;P&gt;Hello &lt;SPAN class="mention-scrubbed"&gt;szuffiaurre&lt;/SPAN&gt;&lt;/P&gt;Whether you use IBP_LPA and IBP_PERIODSHIFT  or CAGGR along with, you cannot acheive the desired caluclation using standard KF expressions available. The reason behind is your calculation formula is having n dynamically calculated in 2 different inputs in the calculation. This cannot be done using KF expression as it will form a loop cycle in the calculation.I think this calculation will be a good candidate for Lcode. My suggestion would be to raise an OSS for Locde to SAP and see what they can come up with.</description>
      <pubDate>Tue, 18 Oct 2022 19:06:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/supply-chain-management-q-a/kf-calculations-price-changes/qaa-p/12580365#M188277</guid>
      <dc:creator>AyanBishnu</dc:creator>
      <dc:date>2022-10-18T19:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: KF calculations - Price changes</title>
      <link>https://community.sap.com/t5/supply-chain-management-q-a/kf-calculations-price-changes/qaa-p/12580366#M188278</link>
      <description>&lt;P&gt;Hi Lucas,&lt;/P&gt;&lt;P&gt;Assuming the price change is constant throughout the periods, you can use below key figures as a calculation of the projected price:&lt;/P&gt;&lt;P&gt;KF1: Copy the price to each bucket in future buckets.&lt;/P&gt;&lt;P&gt;KF2: The "Price change %" key figure in your example. (preferred this as an Attribute as KF)&lt;/P&gt;&lt;P&gt;KF3: Count key figure, Current bucket = 0; next month = 1; next to next month = 2 and so on.&lt;/P&gt;&lt;P&gt;KF4 (Projected Price) = KF1 *(1+ KF2 %)^KF3. Note:  &lt;STRONG&gt;for power operator use ** instead of ^.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please find attached the KF calculation details for reference.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2108546-image.png" /&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Praveen Jadhav&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 20:28:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/supply-chain-management-q-a/kf-calculations-price-changes/qaa-p/12580366#M188278</guid>
      <dc:creator>Praveen_Jadhav</dc:creator>
      <dc:date>2022-10-21T20:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: KF calculations - Price changes</title>
      <link>https://community.sap.com/t5/supply-chain-management-q-a/kf-calculations-price-changes/qaa-p/12580367#M188279</link>
      <description>&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;thanks for your answer. This issue appeared when working for a company in Argentina where prices usually change a lot, so unfortunately the price change is not the same throughout the periods and therefore we cannot use your solution. We ended up calculating the projected price with a local member (the calculation is super simple in Excel) and then copying those values to the key figure using a macro with VBA code.&lt;/P&gt;&lt;P&gt;Hopefully SAP will come with a better solution in the future.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 13:30:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/supply-chain-management-q-a/kf-calculations-price-changes/qaa-p/12580367#M188279</guid>
      <dc:creator>d_lucas</dc:creator>
      <dc:date>2022-12-07T13:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: KF calculations - Price changes</title>
      <link>https://community.sap.com/t5/supply-chain-management-q-a/kf-calculations-price-changes/qaa-p/12580368#M188280</link>
      <description>&lt;P&gt;Hi Lucas, you mentioned you guys did use a Local Member to achieve the goal, but wouldn't a CPI do the job as easy as well?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 17:05:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/supply-chain-management-q-a/kf-calculations-price-changes/qaa-p/12580368#M188280</guid>
      <dc:creator>former_member811144</dc:creator>
      <dc:date>2022-12-13T17:05:40Z</dc:date>
    </item>
  </channel>
</rss>

