<?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: Dynamic  script calculation  on St Date and En Date in Financial Management Q&amp;A</title>
    <link>https://community.sap.com/t5/financial-management-q-a/dynamic-script-calculation-on-st-date-and-en-date/qaa-p/11889712#M218587</link>
    <description>&lt;P&gt;  &lt;SPAN class="mention-scrubbed"&gt;vadim.kalinin&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;yes, I understood that your suggesting Custom_BADI. We have only less then 10 PO 's at present.&lt;/P&gt;&lt;P&gt;Trying to achieve in Script:)&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kishore V&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2019 11:20:26 GMT</pubDate>
    <dc:creator>BalaValluru</dc:creator>
    <dc:date>2019-04-11T11:20:26Z</dc:date>
    <item>
      <title>Dynamic  script calculation  on St Date and En Date</title>
      <link>https://community.sap.com/t5/financial-management-q-a/dynamic-script-calculation-on-st-date-and-en-date/qaq-p/11889706</link>
      <description>&lt;P&gt;Dear Experts,&lt;/P&gt;
  &lt;P&gt;We have a scenario, were logic based on start date and end date of PO. Calculate the logic (total area* rate per sf= Base Rent) and post respective time periods dynamically.&lt;/P&gt;
  &lt;P&gt;Total area and rate per sq ft and Base rent are Account dimension members &lt;/P&gt;
  &lt;P&gt;Start date and End date maintained properties in PO dimension.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1666472-logic1.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt; can some one help to post results dynamically to time period based on st date and ed date.&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;
  &lt;P&gt;Kishore V&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 09:15:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/dynamic-script-calculation-on-st-date-and-en-date/qaq-p/11889706</guid>
      <dc:creator>BalaValluru</dc:creator>
      <dc:date>2019-04-11T09:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic  script calculation  on St Date and En Date</title>
      <link>https://community.sap.com/t5/financial-management-q-a/dynamic-script-calculation-on-st-date-and-en-date/qaa-p/11889707#M218582</link>
      <description>&lt;P&gt;Sorry, but do you really using &lt;A href="https://answers.sap.com/tags/01200615320800000726"&gt;SAP Business Planning and Consolidation, version for the Microsoft platform&lt;/A&gt; ????&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 09:38:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/dynamic-script-calculation-on-st-date-and-en-date/qaa-p/11889707#M218582</guid>
      <dc:creator>former_member186338</dc:creator>
      <dc:date>2019-04-11T09:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic  script calculation  on St Date and En Date</title>
      <link>https://community.sap.com/t5/financial-management-q-a/dynamic-script-calculation-on-st-date-and-en-date/qaa-p/11889708#M218583</link>
      <description>&lt;P&gt;  &lt;SPAN class="mention-scrubbed"&gt;vadim.kalinin&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; sorry wrongly tagged to MS version now corrected&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 09:42:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/dynamic-script-calculation-on-st-date-and-en-date/qaa-p/11889708#M218583</guid>
      <dc:creator>BalaValluru</dc:creator>
      <dc:date>2019-04-11T09:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic  script calculation  on St Date and En Date</title>
      <link>https://community.sap.com/t5/financial-management-q-a/dynamic-script-calculation-on-st-date-and-en-date/qaa-p/11889709#M218584</link>
      <description>&lt;P&gt;It's possible to create a script logic that will perform required calculations for &lt;STRONG&gt;SINGLE &lt;/STRONG&gt;PO!&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;//PO - dimension purchase order
//%PO_SET%=PO1 - single value
*SELECT(%START%,START_DATE,PO,ID=%PO_SET%)
*SELECT(%END%,END_DATE,PO,ID=%PO_SET%)
*SELECT(%STARTTID%,TIMEID,TIME,ID=%START%)
*SELECT(%ENDTID%,TIMEID,TIME,ID=%END%)
*SELECT(%PERIODS%,ID,TIME,TIMEID&amp;gt;=%STARTTID% AND TIMEID&amp;lt;=%ENDTID%)
//%PERIODS% - target periods between dates
...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But to process multiple PO you will have to execute this script using RUNLOGIC_PH badi with CHANGED parameter - PO (so the script will be executed for each PO member separately). For sure &lt;STRONG&gt;the performance will be awful&lt;/STRONG&gt;!!!!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For this requirements the right solution is to develop CUSTOM LOGIC Badi!&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 10:03:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/dynamic-script-calculation-on-st-date-and-en-date/qaa-p/11889709#M218584</guid>
      <dc:creator>former_member186338</dc:creator>
      <dc:date>2019-04-11T10:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic  script calculation  on St Date and En Date</title>
      <link>https://community.sap.com/t5/financial-management-q-a/dynamic-script-calculation-on-st-date-and-en-date/qaa-p/11889710#M218585</link>
      <description>&lt;P&gt;  &lt;SPAN class="mention-scrubbed"&gt;vadim.kalinin&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Thanks Vadim for providing code for dynamic Time calculation . Can I extend below to your code for results Total Area* Rate Sqft = Base_Rent. I will this scenario for single PO and let me check the performance.  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*XDIM_MEMBERSET CATEGORY=FORECAST
*XDIM_MEMBERSET PURCHASEORDER=P1234567
*XDIM_MEMBERSET AUDITTRAIL=Input

*WHEN ACCOUNT
*IS Total_Area
*REC(EXPRESSION=%VALUE%*[ACCOUNT].[Total_Area],ACCOUNT=Base_Rent,AUDITTRAIL=Input_BR)
*ENDWHEN

*WHEN ACCOUNT
*IS Rate_Sqft
*REC(EXPRESSION=%VALUE%*[ACCOUNT].[Rate_Sqft],ACCOUNT=Base_Rent,AUDITTRAIL=Input_BR)
*ENDWHEN


&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Apr 2019 10:58:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/dynamic-script-calculation-on-st-date-and-en-date/qaa-p/11889710#M218585</guid>
      <dc:creator>BalaValluru</dc:creator>
      <dc:date>2019-04-11T10:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic  script calculation  on St Date and En Date</title>
      <link>https://community.sap.com/t5/financial-management-q-a/dynamic-script-calculation-on-st-date-and-en-date/qaa-p/11889711#M218586</link>
      <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;valluru&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Looks like you don't want to read my answer to the end!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Script logic will not work for multiple PO members processing!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Script logic will not work for multiple PO members processing!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Script logic will not work for multiple PO members processing!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Use custom logic badi!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 11:04:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/dynamic-script-calculation-on-st-date-and-en-date/qaa-p/11889711#M218586</guid>
      <dc:creator>former_member186338</dc:creator>
      <dc:date>2019-04-11T11:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic  script calculation  on St Date and En Date</title>
      <link>https://community.sap.com/t5/financial-management-q-a/dynamic-script-calculation-on-st-date-and-en-date/qaa-p/11889712#M218587</link>
      <description>&lt;P&gt;  &lt;SPAN class="mention-scrubbed"&gt;vadim.kalinin&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;yes, I understood that your suggesting Custom_BADI. We have only less then 10 PO 's at present.&lt;/P&gt;&lt;P&gt;Trying to achieve in Script:)&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kishore V&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 11:20:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/dynamic-script-calculation-on-st-date-and-en-date/qaa-p/11889712#M218587</guid>
      <dc:creator>BalaValluru</dc:creator>
      <dc:date>2019-04-11T11:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic  script calculation  on St Date and En Date</title>
      <link>https://community.sap.com/t5/financial-management-q-a/dynamic-script-calculation-on-st-date-and-en-date/qaa-p/11889713#M218588</link>
      <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;valluru&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Only very bad consultants assume that the number of PO will not increase! Sorry!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 11:24:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/dynamic-script-calculation-on-st-date-and-en-date/qaa-p/11889713#M218588</guid>
      <dc:creator>former_member186338</dc:creator>
      <dc:date>2019-04-11T11:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic  script calculation  on St Date and En Date</title>
      <link>https://community.sap.com/t5/financial-management-q-a/dynamic-script-calculation-on-st-date-and-en-date/qaa-p/11889714#M218589</link>
      <description>&lt;P&gt;  &lt;SPAN class="mention-scrubbed"&gt;vadim.kalinin&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;These are related to Rent on property business will not increase every time. Not regular one PO&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 11:42:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/dynamic-script-calculation-on-st-date-and-en-date/qaa-p/11889714#M218589</guid>
      <dc:creator>BalaValluru</dc:creator>
      <dc:date>2019-04-11T11:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic  script calculation  on St Date and En Date</title>
      <link>https://community.sap.com/t5/financial-management-q-a/dynamic-script-calculation-on-st-date-and-en-date/qaa-p/11889715#M218590</link>
      <description>&lt;P&gt;If you have only 10 PO, then instead of script logic create EPM input form and perform calculations using Excel formulas &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 12:44:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/dynamic-script-calculation-on-st-date-and-en-date/qaa-p/11889715#M218590</guid>
      <dc:creator>former_member186338</dc:creator>
      <dc:date>2019-04-11T12:44:45Z</dc:date>
    </item>
  </channel>
</rss>

