<?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: SAP IBP Calculating current week and aggregating it to next wekk in Supply Chain Management Q&amp;A</title>
    <link>https://community.sap.com/t5/supply-chain-management-q-a/sap-ibp-calculating-current-week-and-aggregating-it-to-next-wekk/qaa-p/12811035#M196413</link>
    <description>&lt;P&gt;Hey Sravanthi&lt;/P&gt;&lt;P&gt;Check the Configuration guide: &lt;A href="https://help.sap.com/docs/SAP_INTEGRATED_BUSINESS_PLANNING/bf99e931b8d44aafb4e306ec3602cbdd/78da2d554c95743ce10000000a174cb4.html?locale=en-US" target="_blank"&gt;Using Time Periods in Key Figure Calculations&lt;/A&gt; :&lt;/P&gt;&lt;P&gt;You could have a Helper KF1 with calculated value IF(PERIODIDn &amp;lt;= $$PERIODIDnCU$$, 0, 1) and add an additional KF as input on the same planning level.&lt;BR /&gt;If your time profile provides Y, Q, M, CalWK, TW and D, and your calculation should be on Calendar Weeks, then n would be 4 and PERIODID4 &amp;lt;= $$PERIODID4CU$$&lt;/P&gt;&lt;P&gt;Then you have according to &lt;A href="https://help.sap.com/docs/SAP_INTEGRATED_BUSINESS_PLANNING/bf99e931b8d44aafb4e306ec3602cbdd/c7f3218d10584e74bb71b76580a13cf4.html?locale=en-US" target="_blank"&gt;Cumulative Aggregation&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;KF@CALWKxxx = IBP_CAGGR(KF1@CALWKxxx, ,''SUM'',''FORWARD'',''CURRENTFUTURE'')&lt;/P&gt;&lt;P&gt;Good Luck, Irmi&lt;/P&gt;</description>
    <pubDate>Tue, 17 Oct 2023 05:31:11 GMT</pubDate>
    <dc:creator>Irmi_Kuntze</dc:creator>
    <dc:date>2023-10-17T05:31:11Z</dc:date>
    <item>
      <title>SAP IBP Calculating current week and aggregating it to next wekk</title>
      <link>https://community.sap.com/t5/supply-chain-management-q-a/sap-ibp-calculating-current-week-and-aggregating-it-to-next-wekk/qaq-p/12811034</link>
      <description>&lt;P&gt;WE have a requirement were in the current week to be displayed as 0 and next week as 1 and second week as 2 and so on&lt;/P&gt;
  &lt;P&gt;How do we achieve this in SAP IBP through key figure&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2213914-image.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 18:18:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/supply-chain-management-q-a/sap-ibp-calculating-current-week-and-aggregating-it-to-next-wekk/qaq-p/12811034</guid>
      <dc:creator>snlak</dc:creator>
      <dc:date>2023-10-16T18:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAP IBP Calculating current week and aggregating it to next wekk</title>
      <link>https://community.sap.com/t5/supply-chain-management-q-a/sap-ibp-calculating-current-week-and-aggregating-it-to-next-wekk/qaa-p/12811035#M196413</link>
      <description>&lt;P&gt;Hey Sravanthi&lt;/P&gt;&lt;P&gt;Check the Configuration guide: &lt;A href="https://help.sap.com/docs/SAP_INTEGRATED_BUSINESS_PLANNING/bf99e931b8d44aafb4e306ec3602cbdd/78da2d554c95743ce10000000a174cb4.html?locale=en-US" target="_blank"&gt;Using Time Periods in Key Figure Calculations&lt;/A&gt; :&lt;/P&gt;&lt;P&gt;You could have a Helper KF1 with calculated value IF(PERIODIDn &amp;lt;= $$PERIODIDnCU$$, 0, 1) and add an additional KF as input on the same planning level.&lt;BR /&gt;If your time profile provides Y, Q, M, CalWK, TW and D, and your calculation should be on Calendar Weeks, then n would be 4 and PERIODID4 &amp;lt;= $$PERIODID4CU$$&lt;/P&gt;&lt;P&gt;Then you have according to &lt;A href="https://help.sap.com/docs/SAP_INTEGRATED_BUSINESS_PLANNING/bf99e931b8d44aafb4e306ec3602cbdd/c7f3218d10584e74bb71b76580a13cf4.html?locale=en-US" target="_blank"&gt;Cumulative Aggregation&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;KF@CALWKxxx = IBP_CAGGR(KF1@CALWKxxx, ,''SUM'',''FORWARD'',''CURRENTFUTURE'')&lt;/P&gt;&lt;P&gt;Good Luck, Irmi&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 05:31:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/supply-chain-management-q-a/sap-ibp-calculating-current-week-and-aggregating-it-to-next-wekk/qaa-p/12811035#M196413</guid>
      <dc:creator>Irmi_Kuntze</dc:creator>
      <dc:date>2023-10-17T05:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAP IBP Calculating current week and aggregating it to next wekk</title>
      <link>https://community.sap.com/t5/supply-chain-management-q-a/sap-ibp-calculating-current-week-and-aggregating-it-to-next-wekk/qaa-p/12811036#M196414</link>
      <description>&lt;P&gt;Thank you for the response ,I have tried to apply the above logic but its getting errored out&lt;/P&gt;&lt;P&gt;"The key figure can't have the same calculation more than once"&lt;/P&gt;&lt;P&gt;IBP_CAGGR("ZCURRENTSAPWEEKS@CALWKPRODLOC" ,''SUM'',''FORWARD'',''CURRENTFUTURE'',10)&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 15:06:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/supply-chain-management-q-a/sap-ibp-calculating-current-week-and-aggregating-it-to-next-wekk/qaa-p/12811036#M196414</guid>
      <dc:creator>snlak</dc:creator>
      <dc:date>2023-10-17T15:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAP IBP Calculating current week and aggregating it to next wekk</title>
      <link>https://community.sap.com/t5/supply-chain-management-q-a/sap-ibp-calculating-current-week-and-aggregating-it-to-next-wekk/qaa-p/12811037#M196415</link>
      <description>&lt;P&gt;Why the 10 at the end? A normal time profile is only going up to 5, 10 usually does not exist. The Parameter is optional. Do you get the error message as well if you leave it out?&lt;/P&gt;&lt;P&gt;The error message sounds as if you have for the same KF two calculations at the same planning level. Are you really working with 2 different KF as described? Cannot work in one step&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 10:34:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/supply-chain-management-q-a/sap-ibp-calculating-current-week-and-aggregating-it-to-next-wekk/qaa-p/12811037#M196415</guid>
      <dc:creator>Irmi_Kuntze</dc:creator>
      <dc:date>2023-10-19T10:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAP IBP Calculating current week and aggregating it to next wekk</title>
      <link>https://community.sap.com/t5/supply-chain-management-q-a/sap-ibp-calculating-current-week-and-aggregating-it-to-next-wekk/qaa-p/12811038#M196416</link>
      <description>&lt;P&gt;Thank you for responding!!&lt;/P&gt;&lt;P&gt;I am getting the error message even when I have not given the parameter and yes its 2 diff Key figures only i have tried out&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 11:44:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/supply-chain-management-q-a/sap-ibp-calculating-current-week-and-aggregating-it-to-next-wekk/qaa-p/12811038#M196416</guid>
      <dc:creator>snlak</dc:creator>
      <dc:date>2023-10-19T11:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAP IBP Calculating current week and aggregating it to next wekk</title>
      <link>https://community.sap.com/t5/supply-chain-management-q-a/sap-ibp-calculating-current-week-and-aggregating-it-to-next-wekk/qaa-p/12811039#M196417</link>
      <description>&lt;P&gt;Hi Sravanthi,&lt;/P&gt;&lt;P&gt;You can also try below&lt;/P&gt;&lt;P&gt;Define a key figure KF1 as : if periodid = current period id then 0 else 1 (give input as any stored key figure same as that of base planning level of this KF1) and another key figure KF2 as : IBP_CAGGR ( KF1, SUM, FORWARD, CURRENT FUTURE) KF2 should reflect what you're looking for.&lt;/P&gt;&lt;P&gt;Please refer the correct syntax from IBP model configuration guide.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Piyush&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 19:33:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/supply-chain-management-q-a/sap-ibp-calculating-current-week-and-aggregating-it-to-next-wekk/qaa-p/12811039#M196417</guid>
      <dc:creator>piyush_parekh</dc:creator>
      <dc:date>2023-10-19T19:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAP IBP Calculating current week and aggregating it to next wekk</title>
      <link>https://community.sap.com/t5/supply-chain-management-q-a/sap-ibp-calculating-current-week-and-aggregating-it-to-next-wekk/qaa-p/12811040#M196418</link>
      <description>&lt;P&gt;Hey Sravanthi&lt;/P&gt;&lt;P&gt;Without having a look into the system, I dont know how to find the error. So you could open an OSS ticket&lt;/P&gt;&lt;P&gt;And bye the way, what Piyush has written is exactly the same approach as described by me.&lt;/P&gt;&lt;P&gt;Yours&lt;/P&gt;&lt;P&gt;Irmi&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 20:08:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/supply-chain-management-q-a/sap-ibp-calculating-current-week-and-aggregating-it-to-next-wekk/qaa-p/12811040#M196418</guid>
      <dc:creator>Irmi_Kuntze</dc:creator>
      <dc:date>2023-10-19T20:08:00Z</dc:date>
    </item>
  </channel>
</rss>

