<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jganeshramalingam on Medium]]></title>
        <description><![CDATA[Stories by Jganeshramalingam on Medium]]></description>
        <link>https://medium.com/@jganeshramalingam?source=rss-14df6a3c4873------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*2Q2Kj7-GaprUcCIp</url>
            <title>Stories by Jganeshramalingam on Medium</title>
            <link>https://medium.com/@jganeshramalingam?source=rss-14df6a3c4873------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 02:17:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jganeshramalingam/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Dynamic generation of FIX statements using Groovy]]></title>
            <link>https://medium.com/@jganeshramalingam/dynamic-generation-of-fix-statements-using-groovy-384cdb917ad6?source=rss-14df6a3c4873------2</link>
            <guid isPermaLink="false">https://medium.com/p/384cdb917ad6</guid>
            <category><![CDATA[epbcs]]></category>
            <category><![CDATA[groovy]]></category>
            <category><![CDATA[oracle]]></category>
            <dc:creator><![CDATA[Jganeshramalingam]]></dc:creator>
            <pubDate>Tue, 17 Nov 2026 09:59:15 GMT</pubDate>
            <atom:updated>2026-11-17T09:59:15.818Z</atom:updated>
            <content:encoded><![CDATA[<h3>1. Introduction</h3><p>FIX statements are often used within Essbase Calculation Scripts in Oracle EPM Planning.</p><p>Traditionally FIX statements are written with hard coded dimensional members. If you want to run your calculations with different Scenarios, Versions, Years, Periods &amp; Entities then developers may need to amend the script or create multiple business rules.</p><p>Using Groovy to dynamically generate FIX statements offers a flexible solution.</p><p>Groovy can dynamically create FIX statements based on:</p><ul><li>Runtime Prompts</li><li>User selection</li><li>Form POV selections</li><li>Members edited within a form</li><li>Business needs &amp; requirements</li></ul><p>This can help in building flexible calculation scripts and reduce hard coding of members.</p><h3>2. Business Scenario</h3><p>We have an Oracle EPM Planning application with the following dimensions:</p><ul><li>Scenario</li><li>Version</li><li>Year</li><li>Period</li><li>Entity</li><li>Account</li><li>Product</li></ul><p>We want to calculate Revenue using the Scenario, Version, Year, Period and Entity the user has selected.</p><p>Instead of having multiple calculation scripts we can use a single groovy business rule that can create a dynamic FIX statement based on the Runtime Prompts.</p><h3>3. Implementation — Using Runtime Prompts</h3><h3>Create Groovy Business Rule</h3><p>Create a new Groovy business rule and add the Runtime Prompts.</p><p>Example Groovy script:</p><pre>/RTPS: {RTP_Scenario} {RTP_Version} {RTP_Year} {RTP_Period} {RTP_Entity}/</pre><pre>// Generate FIX members dynamically<br>String scenario = cscParams(rtps.RTP_Scenario)<br>String version  = cscParams(rtps.RTP_Version)<br>String year     = cscParams(rtps.RTP_Year)<br>String period   = cscParams(rtps.RTP_Period)<br>String entity   = cscParams(rtps.RTP_Entity)</pre><pre>// Construct calculation script<br>String calcScript = &quot;&quot;&quot;<br>FIX(${scenario}, ${version}, ${year}, ${period}, ${entity})</pre><pre>&quot;Revenue&quot; = &quot;Units&quot; * &quot;Price&quot;;</pre><pre>ENDFIX;<br>&quot;&quot;&quot;</pre><pre>// Display generated calculation script<br>println(&quot;Generated Calculation Script:&quot;)<br>println(calcScript)</pre><pre>// Return calculation script for execution<br>return calcScript</pre><h3>Run Business Rule</h3><p>When the business rule is run the selected RTP values will be sent to the Groovy script.</p><p>Groovy will use these to create the dynamic FIX statement.</p><h3>4. Output</h3><p>Assuming the users select the following:</p><p>DimensionSelectionScenarioBudgetVersionWorkingYearFY27PeriodJanEntityEntity_100</p><p>The created calculation script will be:</p><pre>FIX(&quot;Budget&quot;, &quot;Working&quot;, &quot;FY27&quot;, &quot;Jan&quot;, &quot;Entity_100&quot;)<br>&quot;Revenue&quot; = &quot;Units&quot; * &quot;Price&quot;;<br>ENDFIX;</pre><p>If another user selects: Actual, Final, FY28, Feb &amp; Entity_200 the same groovy rule will produce:</p><pre>FIX(&quot;Actual&quot;, &quot;Final&quot;, &quot;FY28&quot;, &quot;Feb&quot;, &quot;Entity_200&quot;)<br>&quot;Revenue&quot; = &quot;Units&quot; * &quot;Price&quot;;<br>ENDFIX;</pre><p>The calculation logic will be the same however the FIX statement has changed.</p><h3>5. More advanced — Using selections from form</h3><p>You can also use selections from the form to create a dynamic FIX statement.</p><h3>Business Requirement</h3><p>Assume the planning form has multiple products. We do not want to calculate all the products, we only want to calculate the ones the user has edited. Groovy can be used to determine which cells have been edited and find which product members have been edited.</p><h3>Example:</h3><pre>// Identify edited Products<br>Set editedProducts = []<br>operation.grid.dataCellIterator({<br>DataCell cell -&gt; cell.edited<br>}, MemberNameType.ESSBASE_NAME).each { DataCell cell -&gt;<br>editedProducts &lt;&lt; cell.getMemberName(&quot;Product&quot;)<br>}<br>// Validate edited Products<br>if (editedProducts.isEmpty()) {<br>println(&quot;No edited Products found&quot;)<br>return<br>}<br>// Generate FIX using edited Products<br>String productFix = cscParams(editedProducts)<br>String calcScript = &quot;&quot;&quot;<br>FIX(${productFix})<br>&quot;Revenue&quot; = &quot;Units&quot; * &quot;Price&quot;;<br>ENDFIX;<br>&quot;&quot;&quot;<br>println(&quot;Generated Calculation Script:&quot;)<br>println(calcScript)<br>return calcScript</pre><p>Groovy will:</p><ul><li>Identify which cells have been edited.</li><li>Get the relevant product members.</li><li>Remove any duplicate members using set.</li><li>Create a FIX statement using the edited products.</li><li>Only run the calculation on the identified products.</li></ul><p>This can be helpful if you have a large amount of products and do not want to calculate all of them.</p><h3>6. Key Points</h3><ul><li>Always use the correct functions to format members.</li><li>Ensure that the selections from the RTP are valid.</li><li>Do not create large FIX statements.</li><li>Handle situations when there are no edited cells.</li><li>Members could have special characters in their name.</li><li>Check the calculation script has been created correctly during development.</li><li>Test calculations in a non production environment.</li></ul><h3>7. Conclusion</h3><p>Using Groovy to dynamically generate FIX statements offers flexibility within Oracle EPM Planning. It can help to reduce hard coding within calculations and make them more reusable. The calculations can also be run on a specific set of data.</p><p>Combining Groovy scripts with Essbase calculation scripts can help to create more dynamic and efficient planning solutions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=384cdb917ad6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Groovy to Find Missing Data in Oracle EPM Planning]]></title>
            <link>https://medium.com/@jganeshramalingam/using-groovy-to-find-missing-data-in-oracle-epm-planning-ed320fae92b6?source=rss-14df6a3c4873------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed320fae92b6</guid>
            <category><![CDATA[epbcs]]></category>
            <category><![CDATA[groovy]]></category>
            <dc:creator><![CDATA[Jganeshramalingam]]></dc:creator>
            <pubDate>Thu, 12 Nov 2026 04:48:44 GMT</pubDate>
            <atom:updated>2026-11-12T04:48:44.111Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Within Oracle EPM Planning it is common that calculations rely on certain data being present within your dimensions.</p><p>If you do not include this data then you could get inaccurate results. To help prevent this you can find if there is any missing data before running your business rule.</p><p>With Groovy you can easily find any missing data.</p><p>In this blog I will show you:</p><ul><li>How to find missing data in your data using Groovy.</li><li>Loop through the cells in your form.</li><li>Check for any missing data.</li><li>Display a validation message.</li><li>Stop calculations being run if your mandatory data is missing.</li></ul><h3>1. Understand what constitutes Missing Data in Oracle EPM Planning</h3><p>Missing data in Essbase is denoted by #Missing.</p><p>It is important to understand the difference between 0 and missing data:</p><ul><li>0 means there is a valid number.</li><li>#Missing means there is no data stored in that intersection.</li></ul><p>You can use the isMissing() method in Groovy to find any missing values.</p><p>You can use the data property to get the value in your cell however this will return 0 for missing data and 0 so should not be used.</p><h3>2. Find Missing Data in Your Form</h3><p>If your Groovy business rule is attached to your form you can get access to your data grid using:</p><p>operation.grid</p><p>You can loop through your data cells using dataCellIterator():</p><p>Example:</p><pre>operation.grid.dataCellIterator().each { cell -&gt;<br>    if (cell.isMissing()) {<br>        println(&quot;Missing data found: &quot; + cell.memberNames)<br>    }<br>}</pre><p>This will:</p><ul><li>operation.grid will give you access to the data grid in your current form.</li><li>dataCellIterator() will loop through the data cells.</li><li>cell.isMissing() will check if the current cell has any missing data.</li><li>cell.memberNames will return the members in your dimensions.</li></ul><p>This will help you identify exactly where your missing data is.</p><h3>3. Stop Calculations From Running If Mandatory Data Is Missing</h3><p>Let’s say you have a business requirement where you want to make sure your mandatory data is present before running your calculation.</p><p>Scenario</p><p>Say you have a form where users will enter:</p><ul><li>Units</li><li>Price</li><li>Revenue</li></ul><p>You want to check if Units and Price are filled in before running the calculation.</p><p>If they are missing then you do not want to run the calculation.</p><p>Groovy:</p><pre>def missingCells = []</pre><pre>operation.grid.dataCellIterator(&#39;Units&#39;, &#39;Price&#39;).each { cell -&gt;<br>    if (cell.isMissing()) {<br>        missingCells &lt;&lt; cell.memberNames<br>    }<br>}</pre><pre>if (!missingCells.isEmpty()) {<br>    throwVetoException(<br>        &quot;Calculation cannot proceed. Missing data found at: &quot; +<br>        missingCells.join(&quot;; &quot;)<br>    )<br>}</pre><pre>println(&quot;Validation successful. Proceeding with calculation.&quot;)</pre><p>What this does:</p><ul><li>Loops through the Cells for Units and Price.</li><li>Checks if any of the cells have missing data.</li><li>Places any missing intersections into a list.</li><li>If there is any missing data then throwVetoException() will stop the script and display the validation message.</li><li>If all the required cells have data then the script will run.</li></ul><p>Depending on your form, the members and validation will vary. Just make sure your form has the correct intersections and you are selecting the right cells to denote the mandatory data.</p><h3>4. Real Life Scenarios</h3><p>This can be used in many scenarios:</p><ol><li>Revenue: To check units and price have been entered.</li><li>Workforce Planning: To check salary and headcount have been entered before calculating Employee Expenses.</li><li>Expense Planning: To check mandatory expense drivers have been entered.</li><li>Forecast: To make sure your actuals and forecast data is in before running forecast calculations.</li><li>Allocation: To check your source data has been entered.</li></ol><h3>5. Key Points</h3><ul><li>Use operation.grid to get your data grid.</li><li>Use dataCellIterator() to loop through your data cells.</li><li>Use cell.isMissing() to find missing data.</li><li>Use cell.data to get numbers. This will return 0 if there is missing data or 0.</li><li>Use throwVetoException() to stop the script if your mandatory data is missing.</li><li>Only validate the mandatory data inputs. Not all missing data will be an issue.</li><li>Make sure your Groovy rule is run before the calculation.</li></ul><h3>Conclusion</h3><p>Using Groovy makes it easy to find any missing data in Oracle EPM Planning.</p><p>Adding data validation to your business rules will help stop calculations from running when you do not have all your data. This will help reduce inaccuracies and also make your planning application more reliable.</p><p>This is great if you have multiple data drivers for your calculations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed320fae92b6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Read and Update Substitution Variables using Groovy]]></title>
            <link>https://medium.com/@jganeshramalingam/how-to-read-and-update-substitution-variables-using-groovy-1b869803b094?source=rss-14df6a3c4873------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b869803b094</guid>
            <category><![CDATA[groovy]]></category>
            <category><![CDATA[epbcs]]></category>
            <dc:creator><![CDATA[Jganeshramalingam]]></dc:creator>
            <pubDate>Thu, 05 Nov 2026 12:12:35 GMT</pubDate>
            <atom:updated>2026-11-05T12:12:35.056Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Substitution Variables are very important in Oracle EPM Planning applications. They are often used to store dynamic values such as Current Year, Current Period, Forecast Version etc.</p><p>When these values change they are often manually updated by administrators.</p><p>We can however automate reading and updating Substitution Variables using Groovy.</p><p>In this blog we will look at how to:</p><ul><li>Read Substitution Variable</li><li>Retrieve Value</li><li>Update Application Level Substitution Variable</li><li>Update Cube Level Substitution Variable</li><li>Use Substitution Variables dynamically within Groovy Business Rules</li></ul><h3>1. Substitution Variables</h3><p>Substitution Variables can be set at:</p><p>Application Level</p><p>A substitution variable that applies to all cubes in the application (unless overidden at cube level).</p><p>Current Year = FY27</p><p>Cube Level</p><p>A substitution variable that applies to a particular cube.</p><p>Current Period = Nov in Plan1 cube.</p><p>You can use Groovy APIs to read and update substitution variables without using REST APIs.</p><h3>2. Reading Application Level Substitution Variable</h3><p>We can use the getSubstitutionVariableValue() function to retrieve the effective value of a substitution variable.</p><p>Example</p><p>Assuming we have the below substitution variable:</p><p>Current Year = FY27</p><p>Groovy:</p><pre>String curYear = operation.application.getSubstitutionVariableValue(&quot;CurYear&quot;)</pre><pre>println(&quot;Current Year: &quot; + curYear)</pre><p>Output:</p><pre>Current Year: FY27</pre><p>This returns the effective value of the Substitution Variable and will return null if there is no effective value for the variable.</p><h3>3. Reading Cube Level Substitution Variable</h3><p>To read a substitution variable that applies to a particular cube we can use the Cube API.</p><p>Example</p><p>Assuming we have the below substitution variable in the Plan1 cube:</p><p>Current Period = Nov</p><p>Groovy:</p><pre>Cube cube = operation.application.getCube(&quot;Plan1&quot;)</pre><pre>String curPeriod = cube.getSubstitutionVariableValue(&quot;CurPeriod&quot;)</pre><pre>println(&quot;Current Period: &quot; + curPeriod)</pre><p>Output:</p><pre>Current Period: Nov</pre><p>This returns the value of the substitution variable at the cube level.</p><h3>4. Updating Application Level Substitution Variable</h3><p>We can use the setSubstitutionVariableValue() function to update a substitution variable.</p><p>If the substitution variable does not exist then it will create one.</p><p>Example</p><p>Assuming we want to update Current Year:</p><p>Current Year = FY27</p><p>To:</p><p>Current Year = FY28</p><p>Groovy:</p><pre>String subVarName = &quot;CurYear&quot;</pre><pre>String newValue = &quot;FY28&quot;</pre><pre>operation.application.setSubstitutionVariableValue(subVarName, newValue)</pre><pre>println(&quot;Updated &quot; + subVarName + &quot; to &quot; + newValue)</pre><p>Output:</p><pre>Updated CurYear to FY28</pre><p>This updates the substitution variable at the application level. This is a Privileged API so you need to ensure you have the correct permissions to run.</p><h3>5. Updating Cube Level Substitution Variable</h3><p>We can also update a substitution variable at a particular cube level.</p><p>Example</p><p>Assuming we want to update Current Period in Plan1 cube from November to December.</p><p>Groovy:</p><pre>Cube cube = operation.application.getCube(&quot;Plan1&quot;)</pre><pre>String subVarName = &quot;CurPeriod&quot;</pre><pre>String newValue = &quot;Dec&quot;</pre><pre>cube.setSubstitutionVariableValue(subVarName, newValue)</pre><pre>println(&quot;Updated &quot; + subVarName + &quot; to &quot; + newValue)</pre><p>Output:</p><pre>Updated CurPeriod to Dec</pre><p>This uses the Cube API to update the substitution variable at cube level.</p><h3>6. Example — Automatically Update Current Period</h3><p>Let’s say we have a business requirement to automatically update the Current Period substitution variable.</p><p>Rather than manually updating it each month we can create a Groovy Business Rule to do this.</p><p>Scenario</p><ul><li>Current Period: Nov</li><li>Should be updated to: Dec</li><li>Substitution Variable: CurPeriod</li></ul><p>Groovy:</p><pre>String currentPeriod = operation.application.getSubstitutionVariableValue(&quot;CurPeriod&quot;)</pre><pre>println(&quot;Existing Period: &quot; + currentPeriod)</pre><pre>String newPeriod = &quot;Dec&quot;</pre><pre>if (currentPeriod != newPeriod) {</pre><pre>    operation.application.setSubstitutionVariableValue(&quot;CurPeriod&quot;, newPeriod)</pre><pre>    println(&quot;Current Period updated to: &quot; + newPeriod)</pre><pre>} else {</pre><pre>    println(&quot;Current Period is already up to date.&quot;)</pre><pre>}</pre><p>Output:</p><pre>Existing Period: Nov</pre><pre>Current Period updated to: Dec</pre><p>This can be used to automate updating the forecast each month, current year etc.</p><h3>7. Key Notes</h3><ul><li>To read the effective value at application level: operation.application.getSubstitutionVariableValue()</li><li>To read the value at cube level: cube.getSubstitutionVariableValue()</li><li>To update a substitution variable at application level: operation.application.setSubstitutionVariableValue()</li><li>To update a substitution variable at cube level: cube.setSubstitutionVariableValue()</li><li>The update functions will create a substitution variable if it does not exist.</li><li>Ensure you have the correct priviledges to update the Substitution Variable.</li><li>Always check the existing value before updating.</li></ul><h3>Conclusion</h3><p>There are simple and effective APIs in Groovy to update and read substitution variables.</p><p>Using these functions in business rules can help automate repetitive tasks reducing manual effort and making your planning applications more dynamic.</p><p>This can be used to automate updating the forecast each month, current period etc.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b869803b094" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Groovy to Validate Planning Data Before Calculation]]></title>
            <link>https://medium.com/@jganeshramalingam/using-groovy-to-validate-planning-data-before-calculation-40097de8c9c3?source=rss-14df6a3c4873------2</link>
            <guid isPermaLink="false">https://medium.com/p/40097de8c9c3</guid>
            <category><![CDATA[epbcs]]></category>
            <category><![CDATA[groovy]]></category>
            <category><![CDATA[data-validation]]></category>
            <dc:creator><![CDATA[Jganeshramalingam]]></dc:creator>
            <pubDate>Wed, 07 Oct 2026 16:36:36 GMT</pubDate>
            <atom:updated>2026-10-07T16:36:36.487Z</atom:updated>
            <content:encoded><![CDATA[<p>In Oracle EPM Planning calculations are often dependent on users providing valid and complete data.</p><p>If the user enters invalid data into the form and a calculation is triggered right away the calculation could produce invalid results or require extensive troubleshooting.</p><p>Groovy can be used to validate the data before calculation proceeds.</p><h3>Why do we need to validate data before calculation?</h3><p>Let’s imagine that we have the following form:</p><pre>Entity<br>Account<br>Product<br>Period<br>Amount</pre><p>And the requirement says that Amount field cannot contain negative numbers.</p><p>Without Groovy validation we would have:</p><pre>User enters -100<br>↓<br>Calculation runs<br>↓<br>Wrong result</pre><p>However, with Groovy validation we would have:</p><pre>User enters -100<br>↓<br>Groovy Validation<br>↓<br>Amount is invalid<br>↓<br>Show Error<br>↓<br>Calculation does not run</pre><p>We now have a chance to investigate and fix the problem before calculation proceeds.</p><h3>What data can be validated?</h3><p>Depending on the business requirement different data can be validated with Groovy.</p><p>Some examples include:</p><ul><li>Required Values</li><li>Negative Values</li><li>Missing Values</li><li>Member Combinations</li><li>Values entered for specific Accounts</li><li>Values entered for specific Entities</li><li>Values entered for specific Products</li><li>Business conditions</li><li>Data relationships</li><li>User-entered values</li></ul><p>The validation should be based on the business requirement.</p><h3>Step 1: Read the data grid</h3><p>When using Groovy in Planning applications it is important to note that the rule is triggered by the form submission.</p><p>The form data is stored in the grid, which can be iterated with Groovy.</p><p>So, the first step is to read the data grid and process the data.</p><p>For example:</p><pre>operation.grid.dataCellIterator().each { cell -&gt;<br>    println(&quot;Value: ${cell.data}&quot;)<br>}</pre><p>The grid variable contains the cells that are available in the form.</p><p>The script can look at each cell and perform validation prior to calculation.</p><h3>Step 2: Validate the value</h3><p>Based on the business requirement we can write the validation logic.</p><p>For example, if the requirement says that the cells should not contain negative numbers the validation would be:</p><pre>operation.grid.dataCellIterator().each { cell -&gt;<br>    if (cell.data &lt; 0) {<br>        throwVetoException(<br>            &quot;Negative values are not allowed.&quot;<br>        )<br>    }<br>}</pre><p>If a negative number is found in a cell the rule would fail with the specified message.</p><p>The calculation would then abort.</p><h3>Step 3: Validate only edited cells</h3><p>It is common that the form has a lot of cells, but the requirement only applies to cells that the user has edited.</p><p>In such cases it is a good idea to only perform validation on edited cells.</p><p>This can be done by checking the edited property.</p><p>For example:</p><pre>operation.grid.dataCellIterator().each { cell -&gt;<br>    if (cell.edited &amp;&amp; cell.data &lt; 0) {<br>        throwVetoException(<br>            &quot;Negative values are not allowed.&quot;<br>        )<br>    }<br>}</pre><p>This way the validation only applies to edited cells.</p><p>It is important to make sure that the cells being validated are actually edited.</p><p>This can improve performance, especially when dealing with large grids.</p><h3>Validate a specific Account</h3><p>In some cases the validation needs to only apply to a specific Account.</p><p>For example, let’s assume that negative values are not allowed for the Revenue account.</p><p>The validation would be:</p><pre>operation.grid.dataCellIterator().each { cell -&gt;<br>    if (cell.edited &amp;&amp;<br>        cell.getMemberName(&quot;Account&quot;) == &quot;Revenue&quot; &amp;&amp;<br>        cell.data &lt; 0) {<br>        throwVetoException(<br>            &quot;Revenue account cannot have negative values.&quot;<br>        )<br>    }<br>}</pre><p>This way the validation only applies to the Revenue account.</p><h3>Validate a specific combination</h3><p>Sometimes the business requirement dictates that the validation should only apply to a specific combination of members.</p><p>For example:</p><pre>Account → Revenue<br>Scenario → Budget</pre><p>Based on this information we can write the validation:</p><pre>operation.grid.dataCellIterator().each { cell -&gt;<br>    def account = cell.getMemberName(&quot;Account&quot;)<br>    def scenario = cell.getMemberName(&quot;Scenario&quot;)</pre><pre>    if (cell.edited &amp;&amp;<br>        account == &quot;Revenue&quot; &amp;&amp;<br>        scenario == &quot;Budget&quot; &amp;&amp;<br>        cell.data &lt; 0) {<br>        throwVetoException(<br>            &quot;Revenue account cannot have negative values for Budget scenario.&quot;<br>        )<br>    }<br>}</pre><p>This validation would only apply to the combination of Account → Revenue and Scenario → Budget.</p><p>By comparing cell data with these two values we can determine if the validation applies.</p><h3>Validate the required data entries</h3><p>Another common requirement is to ensure that users enter the required data.</p><p>For example, if a certain Account always requires a value we can write the validation:</p><pre>operation.grid.dataCellIterator().each { cell -&gt;<br>    if (cell.edited &amp;&amp;<br>        cell.getMemberName(&quot;Account&quot;) == &quot;Revenue&quot; &amp;&amp;<br>        cell.missing) {<br>        throwVetoException(<br>            &quot;Revenue account value is required.&quot;<br>        )<br>    }<br>}</pre><p>This way the validation checks if the cell is missing a value and only applies to the Revenue account.</p><h3>Validate multiple conditions</h3><p>A Groovy script can also be used to validate multiple conditions.</p><p>For example:</p><pre>operation.grid.dataCellIterator().each { cell -&gt;<br>    def account = cell.getMemberName(&quot;Account&quot;)<br>    def scenario = cell.getMemberName(&quot;Scenario&quot;)</pre><pre>    if (!cell.edited) {<br>        return<br>    }</pre><pre>    if (cell.missing) {<br>        throwVetoException(<br>            &quot;Required value is missing for ${account}.&quot;<br>        )<br>    }</pre><pre>    if (cell.data &lt; 0) {<br>        throwVetoException(<br>            &quot;Negative value is not allowed for ${account}.&quot;<br>        )<br>    }</pre><pre>    if (account == &quot;Revenue&quot; &amp;&amp;<br>        scenario == &quot;Budget&quot; &amp;&amp;<br>        cell.data == 0) {<br>        throwVetoException(<br>            &quot;Revenue value cannot be zero for Budget scenario.&quot;<br>        )<br>    }<br>}</pre><p>This script can handle multiple validations.</p><p>First it checks if the cell was edited.</p><p>If the cell was not edited the script skips to the next cell.</p><p>Otherwise, it proceeds to the next validation.</p><p>The script then checks if the cell is empty.</p><p>If it is the script throws an exception with the corresponding message.</p><p>The next step is to check if the value stored in the cell is a negative number.</p><p>If it is a negative number another exception is thrown.</p><p>Finally, the script checks if the cell meets the condition of having a zero value for the Revenue account and the Budget scenario.</p><p>If the condition is met another exception is thrown.</p><h3>Validation before calculation</h3><p>The validation can also be run right before calculation.</p><p>The Groovy rule can have the following structure:</p><pre>// Step 1: Validate Planning Data</pre><pre>operation.grid.dataCellIterator().each { cell -&gt;<br>    def account = cell.getMemberName(&quot;Account&quot;)</pre><pre>    if (!cell.edited) {<br>        return<br>    }</pre><pre>    if (cell.missing) {<br>        throwVetoException(<br>            &quot;Required value is missing for ${account}.&quot;<br>        )<br>    }</pre><pre>    if (cell.data &lt; 0) {<br>        throwVetoException(<br>            &quot;Negative value is not allowed for ${account}.&quot;<br>        )<br>    }<br>}</pre><pre>// Step 2: Execute Calculation</pre><pre>def calcScript = &quot;&quot;&quot;<br>FIX(<br>    &quot;Budget&quot;,<br>    &quot;FY2026&quot;<br>)<br>/ Calculation logic /<br>ENDFIX<br>&quot;&quot;&quot;</pre><pre>cube.executeCalcScript(calcScript)</pre><p>Once again, the important part is to make sure that the calculation only executes if the validation passes.</p><p>If any of the validation steps fail the throwVetoException() function will cancel the rule.</p><p>As a result, calculation will not execute.</p><h3>Why should we use Groovy for validation?</h3><p>Using Groovy provides flexibility because the validation can be based on the data submitted with the form.</p><p>Instead of creating separate validation rules we can analyze the grid data and execute the necessary actions.</p><p>It can also be combined with the calculation, like in the example above.</p><p>The rule can then have the following structure:</p><pre>Data Validation<br>↓<br>Data Calculation<br>↓<br>Data Push</pre><p>This way multiple actions can be controlled with one business process.</p><h3>What should I consider?</h3><p>When developing Groovy validation scripts the following should be considered:</p><ul><li>Only validate the data that needs to be validated.</li><li>Make sure that the edited property is used when necessary.</li><li>Keep the validation conditions simple and easy to maintain.</li><li>Make sure that the messages provide enough context.</li><li>Avoid unnecessary processing of the data.</li><li>Consider the performance implications for large forms.</li><li>Consider whether the validation should only apply to Level 0 members.</li><li>Make sure that the script reflects the business requirement.</li><li>Avoid code duplication.</li></ul><p>For large forms unnecessary iterations can also impact performance.</p><p>The validation should reflect the business requirement and only apply to the data that needs to be validated.</p><h3>Example of a complete Groovy validation rule</h3><p>A complete validation rule can have the following structure:</p><pre>def cube = operation.cube</pre><pre>operation.grid.dataCellIterator().each { cell -&gt;</pre><pre>    if (!cell.edited) {<br>        return<br>    }</pre><pre>    def account = cell.getMemberName(&quot;Account&quot;)<br>    def entity = cell.getMemberName(&quot;Entity&quot;)</pre><pre>    if (cell.missing) {<br>        throwVetoException(<br>            &quot;Value is required for Account ${account} and Entity ${entity}.&quot;<br>        )<br>    }</pre><pre>    if (cell.data &lt; 0) {<br>        throwVetoException(<br>            &quot;Negative values are not allowed for Account ${account} and Entity ${entity}.&quot;<br>        )<br>    }<br>}</pre><pre>println(&quot;Planning data validation completed successfully.&quot;)</pre><pre>// Calculation can be executed after successful validation</pre><pre>def calcScript = &quot;&quot;&quot;<br>FIX(<br>    &quot;Budget&quot;,<br>    &quot;FY2026&quot;<br>)<br>/ Calculation logic /<br>ENDFIX<br>&quot;&quot;&quot;</pre><pre>cube.executeCalcScript(calcScript)</pre><p>This script can be used as a generic rule for planning data validation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40097de8c9c3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Auto Predict vs Advanced Predictions in Oracle EPM Planning]]></title>
            <link>https://medium.com/@jganeshramalingam/auto-predict-vs-advanced-predictions-in-oracle-epm-planning-af18b5150aee?source=rss-14df6a3c4873------2</link>
            <guid isPermaLink="false">https://medium.com/p/af18b5150aee</guid>
            <category><![CDATA[oracle-epm]]></category>
            <category><![CDATA[ipm]]></category>
            <dc:creator><![CDATA[Jganeshramalingam]]></dc:creator>
            <pubDate>Fri, 02 Oct 2026 17:37:42 GMT</pubDate>
            <atom:updated>2026-10-02T17:37:42.620Z</atom:updated>
            <content:encoded><![CDATA[<p>Forecasting is an important part of Oracle EPM Planning. In addition to using historical actuals, many organizations want to compare their forecasting with system generated predictions in order to detect risks, opportunities, and anomalies.</p><p>Oracle EPM Planning has Auto Predict and Advanced Predictions to aid in predictive forecasting.</p><p>Although both can be used to generate predictions, they are suited to different levels of forecasting requirements.</p><h3>What is Auto Predict?</h3><p>Auto Predict is designed to automatically generate predictions using historical data.</p><p>The objective is to make predictive forecasting easier without users having to manually configure detailed predictive models.</p><p>Conceptually:</p><pre>Historical Actuals<br>↓<br>Auto Predict<br>↓<br>System-generated Prediction<br>↓<br>Compare with Forecast</pre><p>Auto Predict can be useful when an organization wants to introduce predictive forecasting without users having to manually configure individual predictive models.</p><h3>What is Advanced Predictions?</h3><p>Advanced Predictions provides configuration options for predictive forecasting.</p><p>Instead of relying on just the automatic predictive process, Advanced Predictions allows greater control over how the predictions are generated.</p><p>Conceptually:</p><pre>Historical Data<br>↓<br>Advanced Predictions<br>↓<br>Configured Prediction<br>↓<br>Compare with Forecast</pre><p>This can be useful when the forecasting requirement has more control over the prediction process.</p><h3>How They Work with IPM Insights</h3><p>Auto Predict and Advanced Predictions can also be used as part of IPM Insights.</p><p>For example:</p><pre>Historical Actuals<br>↓<br>Prediction<br>↓<br>Forecast<br>↓<br>IPM Insights<br>↓<br>Identify Variance</pre><p>One of the IPM Insight types is Prediction Insight.</p><p>Prediction Insights compare the future forecast with a computer-generated prediction and can highlight areas where the forecast differs significantly from the predicted values.</p><p>For example:</p><pre>Future Forecast   = 120<br>System Prediction  = 100</pre><pre>Difference     = 20</pre><p>This difference can then be looked at as part of the forecasting process.</p><h3>When Would You Use Auto Predict?</h3><p>Auto Predict can be used when the main goal is to introduce predictive forecasting with minimal configuration.</p><p>For example, say an organization has several years of historical revenue data:</p><pre>2022 Actual<br>2023 Actual<br>2024 Actual<br>2025 Actual<br>↓<br>Auto Predict<br>↓<br>2026 Prediction</pre><p>The generated prediction can then be compared with the organization’s existing 2026 forecast.</p><p>This provides another reference for the planning team.</p><h3>When Would You Use Advanced Predictions?</h3><p>Advanced Predictions can be used when the organization needs more control over the predictive forecasting process.</p><p>For example, if different planning requirements need different predictive approaches, Advanced Predictions can provide additional configuration capabilities.</p><p>A typical process would be:</p><pre>Historical Data<br>↓<br>Configure Prediction<br>↓<br>Generate Prediction<br>↓<br>Compare with Forecast<br>↓<br>Review Variance</pre><h3>Example Business Scenario</h3><p>Suppose a company is planning their annual revenue forecast.</p><p>The planning team has created a forecast of:</p><pre>Product A<br>Forecast = 10M</pre><p>The predictive process has generated:</p><pre>Prediction = 8.5M</pre><p>The difference is:</p><pre>Forecast = 10M<br>Prediction = 8.5M<br>Difference = 1.5M</pre><p>This doesn’t necessarily mean the forecast is wrong.</p><p>Instead, it provides an added data point for the planner to look at.</p><p>The planner could then look at:</p><p>Historical trends</p><p>Recent actual performance</p><p>Business assumptions</p><p>Sales pipeline</p><p>Market conditions</p><p>Forecast assumptions</p><p>This is where predictive planning comes into complement the traditional planning process.</p><h3>Auto Predict Is Not a Replacement for the Forecast</h3><p>Another important point is that predictive forecasting doesn’t necessarily replace the organizations forecast.</p><p>The planning team may have information that isn’t in the historical data.</p><p>For example:</p><pre>Historical Trend<br>↓<br>System Prediction<br>+<br>Business Knowledge<br>↓<br>Management Forecast</pre><p>A planner may know about a new customer, product launch, acquisition, pricing change, or other business event that historical data can’t capture.</p><p>Therefore, the system generated prediction can be an additional reference during forecasting.</p><h3>Key Difference</h3><p>The simplest way to think about the two is:</p><p>Auto Predict</p><blockquote><em>Let Planning automatically generate the prediction.</em></blockquote><p>Advanced Predictions</p><blockquote><em>Provide additional control over how the prediction is generated.</em></blockquote><p>Both can support predictive planning but the right option depends on how much configuration and control is needed for the forecasting process.</p><h3>Practical Example</h3><p>A Planning application could use:</p><pre>Actuals<br>↓<br>Auto Predict<br>↓<br>Prediction<br>↓<br>Existing Forecast<br>↓<br>IPM Insights<br>↓<br>Planner Review</pre><p>For a more controlled predictive process:</p><pre>Actuals<br>↓<br>Advanced Predictions<br>↓<br>Configured Prediction<br>↓<br>Existing Forecast<br>↓<br>IPM Insights<br>↓<br>Planner Review</pre><p>The overall goal is the same: provide planners with an additional predictive view that can be compared against the organizations forecast and support their analysis.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af18b5150aee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Groovy To Execute Multiple Business Rules Sequentially in Oracle EPM Planning]]></title>
            <link>https://medium.com/@jganeshramalingam/using-groovy-to-execute-multiple-business-rules-sequentially-in-oracle-epm-planning-cd7c50ce47f6?source=rss-14df6a3c4873------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd7c50ce47f6</guid>
            <category><![CDATA[epbcs]]></category>
            <category><![CDATA[groovy]]></category>
            <category><![CDATA[business-rules]]></category>
            <dc:creator><![CDATA[Jganeshramalingam]]></dc:creator>
            <pubDate>Fri, 02 Oct 2026 17:28:36 GMT</pubDate>
            <atom:updated>2026-10-02T17:28:36.703Z</atom:updated>
            <content:encoded><![CDATA[<p>There are situations in Oracle EPM Planning where multiple business rules need to be executed in a certain order.</p><p>For instance:</p><pre>Business Rule 1<br>↓<br>Business Rule 2<br>↓<br>Business Rule 3<br>↓<br>Business Rule 4</pre><p>Instead of letting the end user execute these in a specific order, it could be useful to control the order from Groovy.</p><p>This could be useful if the results of one calculation are required for the next.</p><h3>Why would you want to execute business rules sequentially?</h3><p>Let’s imagine a planning process, where the following calculations need to be executed.</p><pre>Clear Data<br>↓<br>Load / Copy Data<br>↓<br>Calculate Revenue<br>↓<br>Calculate Margin<br>↓<br>Calculate Variance</pre><p>When these rules are executed individually, there is potential for the following:</p><ul><li>User has to execute them</li><li>Wrong order</li><li>User forgets to execute one</li><li>Hard to control the order</li></ul><p>Instead, Groovy could be used to orchestrate these calculations.</p><p>The overall flow would be similar to:</p><pre>Groovy Rule<br>↓<br>Execute Business Rule 1<br>↓<br>Execute Business Rule 2<br>↓<br>Execute Business Rule 3</pre><p>Groovy would act as the “controller”, while each business rule (in this case) has the calculation logic.</p><h3>Step 1: Get the Business Rules</h3><p>The application can be used to get the business rules that need to be executed.</p><p>For example:</p><pre>def rule1 = operation.application.getRule(&quot;Clear_Data&quot;)<br>def rule2 = operation.application.getRule(&quot;Calculate_Revenue&quot;)<br>def rule3 = operation.application.getRule(&quot;Calculate_Margin&quot;)</pre><p>Rule names need to correlate to the business rules in Planning.</p><h3>Step 2: Execute Rules</h3><p>After getting the business rules, they can be executed.</p><p>Conceptually:</p><pre>rule1.execute()<br>rule2.execute()<br>rule3.execute()</pre><p>The execution order would be:</p><pre>Clear_Data<br>↓<br>Calculate_Revenue<br>↓<br>Calculate_Margin</pre><p>The second business rule (Calculate_Revenue) is executed after the first execute() statement has finished.</p><h3>An example orchestration rule</h3><p>An example orchestration rule would be:</p><pre>def rule1 = operation.application.getRule(&quot;Clear_Data&quot;)<br>def rule2 = operation.application.getRule(&quot;Calculate_Revenue&quot;)<br>def rule3 = operation.application.getRule(&quot;Calculate_Margin&quot;)</pre><pre>println(&quot;Starting Clear Data&quot;)<br>rule1.execute()</pre><pre>println(&quot;Starting Revenue Calculation&quot;)<br>rule2.execute()</pre><pre>println(&quot;Starting Margin Calculation&quot;)<br>rule3.execute()</pre><pre>println(&quot;All business rules completed successfully.&quot;)</pre><p>This way, an end user only has to execute a single business rule (the orchestration rule).</p><p>Instead of executing the 3 rules separately, the user can just execute the Groovy rule.</p><h3>Error Handling</h3><p>When multiple business rules are executed, it can be useful to handle errors.</p><p>For example:</p><pre>try {</pre><pre>    println(&quot;Starting Clear Data&quot;)<br>    rule1.execute()</pre><pre>    println(&quot;Starting Revenue Calculation&quot;)<br>    rule2.execute()</pre><pre>    println(&quot;Starting Margin Calculation&quot;)<br>    rule3.execute()</pre><pre>    println(&quot;All business rules completed successfully.&quot;)</pre><pre>} catch (Exception e) {</pre><pre>    throwVetoException(<br>        &quot;Business rule execution failed: ${e.message}&quot;<br>    )<br>}</pre><p>If one of the rules fails, the exception can be caught to prevent the other rules from executing.</p><p>This is useful if the next calculation relies on the results from a previous one.</p><h3>Using a List To Store Business Rules</h3><p>If multiple business rules need to be executed in a certain order, it might be useful to store them in a List:</p><pre>def businessRules = [<br>    &quot;Clear_Data&quot;,<br>    &quot;Calculate_Revenue&quot;,<br>    &quot;Calculate_Margin&quot;,<br>    &quot;Calculate_Variance&quot;<br>]</pre><pre>businessRules.each { ruleName -&gt;</pre><pre>    println(&quot;Executing: ${ruleName}&quot;)</pre><pre>    def rule = operation.application.getRule(ruleName)</pre><pre>    if (rule == null) {<br>        throwVetoException(<br>            &quot;Business rule &#39;${ruleName}&#39; was not found.&quot;<br>        )<br>    }</pre><pre>    rule.execute()<br>}</pre><p>This makes it much easier to maintain the execution order:</p><pre>Clear_Data<br>↓<br>Calculate_Revenue<br>↓<br>Calculate_Margin<br>↓<br>Calculate_Variance</pre><p>Adding another business rule to the list is much easier than maintaining separate variables for each rule.</p><h3>Why is this useful?</h3><p>Using Groovy as an orchestration tool can be useful for several reasons:</p><ul><li>1 business rule instead of multiple</li><li>rules are executed in a certain order</li><li>errors can be handled in a centralized way</li><li>it’s easier to execute for the end user</li></ul><p>An example business process would be a forecasting process:</p><p>The end user executes one Groovy business rule, which leads to the following flow:</p><pre>1. Clear Forecast Data<br>↓<br>2. Copy Actuals<br>↓<br>3. Calculate Forecast<br>↓<br>4. Calculate Variance<br>↓<br>5. Push Data</pre><p>The end user only has to execute one business rule while Groovy handles the underlying complexity.</p><h3>What needs to be considered?</h3><p>When designing such a business process, the following should be considered:</p><ul><li>the order of execution</li><li>whether one calculation relies on the results of another</li><li>error handling</li><li>calculation scope</li><li>calculation time</li><li>redundant calculations</li><li>whether multiple calculations could be combined</li></ul><p>When multiple calculations are executed, it can often be much faster to combine them into one script.</p><p>For hundreds of calculations, it might not be the best idea to simply execute a series of business rules in a list.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd7c50ce47f6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Allocation of data using Groovy]]></title>
            <link>https://medium.com/@jganeshramalingam/allocation-of-data-using-groovy-10537438433d?source=rss-14df6a3c4873------2</link>
            <guid isPermaLink="false">https://medium.com/p/10537438433d</guid>
            <category><![CDATA[groovy]]></category>
            <category><![CDATA[data-allocation]]></category>
            <category><![CDATA[epbcs]]></category>
            <dc:creator><![CDATA[Jganeshramalingam]]></dc:creator>
            <pubDate>Thu, 01 Oct 2026 14:23:59 GMT</pubDate>
            <atom:updated>2026-10-01T14:23:59.626Z</atom:updated>
            <content:encoded><![CDATA[<p>One common requirement within Oracle EPM Planning is to allocate data from a generic Profit Center member to the appropriate Profit Center on the basis of another dimension, e.g. Product.</p><p>E.g. initially data may be inputted as:</p><p>Product → Product Member</p><p>Profit Center → No Profit Center</p><p>The business requirement is to allocate the data to the appropriate Profit Center based on the Product → Profit Center mapping.</p><p>A Groovy business rule can be employed instead of a separate calculation rule for every Product or Profit Center.</p><h3>Business Requirement</h3><p>Suppose data has been loaded into an intersection such as:</p><p>Scenario → Planning Scenario</p><p>Year → Planning Year</p><p>Entity → Entity Member</p><p>Distributor → Distributor Member</p><p>Plan Element → Plan Element Member</p><p>Product → Product Member</p><p>Profit Center → No Profit Center</p><p>Account → Account Member</p><p>Currency → Currency Member</p><p>The business requirement is to copy the data from No Profit Center to the appropriate Profit Center.</p><p>E.g.</p><p>Product A → Profit Center A</p><p>Product B → Profit Center B</p><p>Product C → Profit Center C</p><p>The Product → Profit Center mapping will need to be retained in the Groovy rule.</p><h3>Why use Groovy?</h3><p>Were there only a small number of Products and Profit Centers, a traditional calculation rule would suffice.</p><p>However, if the application has a large number of Products, it can be difficult to maintain individual calculations.</p><p>E.g.</p><p>Product A → Profit Center A</p><p>Product B → Profit Center B</p><p>Product C → Profit Center C</p><p>Product D → Profit Center D</p><p>Instead of creating individual calculation logic for every Product, Groovy can be used to maintain the mapping and dynamically generate the required calculation script.</p><p>This makes the rule easier to maintain should the Products and Profit Center change.</p><h3>Basic approach</h3><p>The overall process is:</p><p>Product → Profit Center Mapping</p><p>↓</p><p>Groovy reads the mapping</p><p>↓</p><p>Groovy identifies the Product and Profit Center</p><p>↓</p><p>Generate the calculation script</p><p>↓</p><p>Read data from No Profit Center</p><p>↓</p><p>Write data to the mapped Profit Center</p><h3>Step 1: Define the Product → Profit Center Mapping</h3><p>The first step is to define the relationship between Product and Profit Center. e.g.</p><pre>def productProfitCenterMap = [<br>    &quot;Product A&quot;: &quot;Profit Center A&quot;,<br>    &quot;Product B&quot;: &quot;Profit Center B&quot;,<br>    &quot;Product C&quot;: &quot;Profit Center C&quot;,<br>    &quot;Product D&quot;: &quot;Profit Center D&quot;<br>]</pre><p>Here,</p><p>Product A → Profit Center A</p><p>Product B → Profit Center B</p><p>Product C → Profit Center C</p><p>Product D → Profit Center D</p><p>This tells Groovy where to allocate the data for each Product.</p><h3>Step 2: Loop through the mapping</h3><p>Once the mapping has been defined, Groovy can loop through each Product and Profit Center:</p><pre>productProfitCenterMap.each { product, profitCenter -&gt;<br>    println(&quot;Product: ${product} -&gt; Profit Center: ${profitCenter}&quot;)<br>}</pre><p>E.g. the output would be:</p><pre>Product: Product A -&gt; Profit Center A<br>Product: Product B -&gt; Profit Center B<br>Product: Product C -&gt; Profit Center C<br>Product: Product D -&gt; Profit Center D</pre><p>This enables Groovy to generate the calculation dynamically.</p><h3>Step 3: Generate the calculation script</h3><p>The calculation script can now be dynamically generated for each Product and Profit Center combination:</p><pre>productProfitCenterMap.each { product, profitCenter -&gt;</pre><pre>    def calcScript = &quot;&quot;&quot;<br>FIX(<br>    &quot;Scenario&quot;,<br>    &quot;Year&quot;,<br>    &quot;Period&quot;,<br>    &quot;Entity&quot;,<br>    &quot;${product}&quot;,<br>    &quot;Distributor&quot;,<br>    &quot;Plan Element&quot;,<br>    &quot;${profitCenter}&quot;,<br>    &quot;Account&quot;,<br>    &quot;Currency&quot;<br>)</pre><pre>SET CREATENONMISSINGBLK ON;<br>SET CREATEBLOCKONEQ ON;</pre><pre>&quot;Currency&quot; = &quot;No Profit Center&quot;-&gt;&quot;Currency&quot;;</pre><pre>SET CREATEBLOCKONEQ OFF;<br>SET CREATENONMISSINGBLK OFF;</pre><pre>ENDFIX<br>&quot;&quot;&quot;</pre><pre>    cube.executeCalcScript(calcScript)<br>}</pre><p>The important part is:</p><pre>&quot;${product}&quot;</pre><p>and:</p><pre>&quot;${profitCenter}&quot;</pre><p>Groovy replaces these with the Product and Profit Center from the mapping. For example, the first iteration would generate something like:</p><p>Product A</p><p>Profit Center A</p><p>and the next iteration would generate something like:</p><p>Product B</p><p>Profit Center B</p><h3>How the allocation works</h3><p>Suppose the source data is:</p><pre>Product          Product A<br>Profit Center    No Profit Center<br>Account          Account A<br>Period           Period A<br>Currency         Currency A<br>Value            100</pre><p>The mapping contains the line:</p><p>Product A → Profit Center A</p><p>The calculation generated reads:</p><p>No Profit Center</p><p>And writes the value to:</p><p>Profit Center A</p><p>The resulting data is:</p><pre>Product          Product A<br>Profit Center    Profit Center A<br>Account          Account A<br>Period           Period A<br>Currency         Currency A<br>Value            100</pre><p>And the same process is repeated for the other Product → Profit Center mappings.</p><h3>Complete generic Groovy example</h3><p>The complete logic can be structured as:</p><pre>def cube = operation.application.getCube(&quot;Planning Cube&quot;)</pre><pre>def productProfitCenterMap = [<br>    &quot;Product A&quot;: &quot;Profit Center A&quot;,<br>    &quot;Product B&quot;: &quot;Profit Center B&quot;,<br>    &quot;Product C&quot;: &quot;Profit Center C&quot;,<br>    &quot;Product D&quot;: &quot;Profit Center D&quot;<br>]</pre><pre>productProfitCenterMap.each { product, profitCenter -&gt;</pre><pre>    println(&quot;Processing Product: ${product} -&gt; Profit Center: ${profitCenter}&quot;)</pre><pre>    def calcScript = &quot;&quot;&quot;<br>FIX(<br>    &quot;Scenario&quot;,<br>    &quot;Year&quot;,<br>    &quot;Period&quot;,<br>    &quot;Entity&quot;,<br>    &quot;${product}&quot;,<br>    &quot;Distributor&quot;,<br>    &quot;Plan Element&quot;,<br>    &quot;${profitCenter}&quot;,<br>    &quot;Account&quot;,<br>    &quot;Currency&quot;<br>)</pre><pre>SET CREATENONMISSINGBLK ON;<br>SET CREATEBLOCKONEQ ON;</pre><pre>&quot;Currency&quot; = &quot;No Profit Center&quot;-&gt;&quot;Currency&quot;;</pre><pre>SET CREATEBLOCKONEQ OFF;<br>SET CREATENONMISSINGBLK OFF;</pre><pre>ENDFIX<br>&quot;&quot;&quot;</pre><pre>    cube.executeCalcScript(calcScript)<br>}</pre><p>The important point is that the mapping is defined just once:</p><pre>def productProfitCenterMap = [<br>    &quot;Product A&quot;: &quot;Profit Center A&quot;,<br>    &quot;Product B&quot;: &quot;Profit Center B&quot;,<br>    &quot;Product C&quot;: &quot;Profit Center C&quot;,<br>    &quot;Product D&quot;: &quot;Profit Center D&quot;<br>]</pre><p>The calculation is then dynamically generated based on the mapping.</p><h3>Adding validation</h3><p>It’s also useful to validate the mapping before executing the calculation. E.g.</p><pre>productProfitCenterMap.each { product, profitCenter -&gt;</pre><pre>    if (!product || !profitCenter) {<br>        throwVetoException(<br>            &quot;Product → Profit Center mapping contains an invalid Product or Profit Center.&quot;<br>        )<br>    }<br>}</pre><p>This ensures that the rule does not attempt to create a calculation with a missing Product or Profit Center.</p><h3>Why maintain the mapping in Groovy?</h3><p>For a small number of mappings, maintaining the mapping directly in Groovy can be simple and easy to understand. E.g.</p><pre>def productProfitCenterMap = [<br>    &quot;Product A&quot;: &quot;Profit Center A&quot;,<br>    &quot;Product B&quot;: &quot;Profit Center B&quot;,<br>    &quot;Product C&quot;: &quot;Profit Center C&quot;<br>]</pre><p>However, if there are hundreds of Products, maintaining the mapping inside the Groovy rule may become difficult.</p><p>In this case, the mapping could instead be maintained externally or derived from the application’s metadata, depending on the business requirement.</p><p>The Groovy rule can dynamically retrieve the mapping, instead of having hundreds of hardcoded entries.</p><h3>Mapping based on the Product hierarchy</h3><p>Another approach is to utilise the Product hierarchy to determine the mapping.</p><p>E.g.</p><pre>Profit Center A<br>    |<br>    |-- Product A<br>    |-- Product B<br>    |-- Product C</pre><pre>Profit Center B<br>    |<br>    |-- Product D<br>    |-- Product E<br>    |-- Product F</pre><p>This type of design has the Profit Centre as the parent and the Products as the Level 0 members underneath it.</p><p>Groovy can retrieve the Level 0 Products for each Profit Center and dynamically generate the allocation logic.</p><p>Conceptually:</p><pre>Profit Center A<br>        ↓<br>Get Level 0 Products<br>        ↓<br>Product A<br>Product B<br>Product C<br>        ↓<br>Copy from No Profit Center<br>        ↓<br>Profit Center A</pre><p>This approach can save having to manually maintain a Product → Profit Center mapping in the Groovy code.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=10537438433d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oracle EPM Planning Metadata Best Practices]]></title>
            <link>https://medium.com/@jganeshramalingam/oracle-epm-planning-metadata-best-practices-d8e695986d5f?source=rss-14df6a3c4873------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8e695986d5f</guid>
            <category><![CDATA[dimensions]]></category>
            <category><![CDATA[integration]]></category>
            <category><![CDATA[epbcs]]></category>
            <category><![CDATA[metadata]]></category>
            <dc:creator><![CDATA[Jganeshramalingam]]></dc:creator>
            <pubDate>Thu, 01 Oct 2026 10:25:33 GMT</pubDate>
            <atom:updated>2026-10-01T10:25:33.082Z</atom:updated>
            <content:encoded><![CDATA[<p>Metadata is one of the most critical elements of an Oracle EPM Planning application.</p><p>With a well designed metadata structure, the Planning application becomes easier to maintain, deliver superior user experience, enable smoother integrations, and reduce issues in calculations and reporting.</p><p>As Planning applications grow in size and complexity, metadata complexity is likely to increase.</p><p>New Accounts, Entities, Products, Cost Centers and other dimensions are added to better support business analysis and reporting requirements.</p><p>Without careful governance, metadata hierarchies can become unwieldy and changes begin to impact forms, business rules, reports, security and integrations.</p><p>This is why it is vital to have a good metadata design strategy right from the beginning.</p><h3>Why Is Metadata Important?</h3><p>Metadata defines the structure of the Planning application.</p><p>It determines what dimensions and members exist, how and where members are organized, how and where members rollup, which members are used for planning, which members are used for reporting, and how the users interact with the application.</p><p>For example, a Planning application can have the following dimensions:</p><p>Account</p><p>Entity</p><p>Product</p><p>Cost Center</p><p>Scenario</p><p>Version</p><p>Currency</p><p>Period</p><p>Each dimension can have its own business logic and hierarchy.</p><p>A change to one or more dimensions can also affect:</p><p>Forms</p><p>Dashboards</p><p>Business rules</p><p>Reports</p><p>Smart View</p><p>Data Integration</p><p>Data Maps</p><p>Security</p><p>Calculation performance</p><p>Therefore, metadata should not just be looked at as a listing of members, but as an integral element of the entire Planning application.</p><h3>1. Design Dimensions Based on Business Requirements</h3><p>Understand business requirements before designing new dimensions.</p><p>For example, the business wants to track expenses by:</p><p>Entity</p><p>Department</p><p>Product</p><p>Cost Center</p><p>If Entity, Department, Product, and Cost Center are all independent views of the business, then separate dimensions should be created.</p><p>However, creating a new dimension for every possible reporting requirement could unnecessarily add to the complexity of the Planning application.</p><p>Before creating a new dimension, ask yourself the following questions:</p><p>What business requirement does this dimension solve?</p><p>Will the users enter data agains this dimension?</p><p>Is this dimension required for reporting?</p><p>Is this dimension required for calculations?</p><p>Is this dimension required for integration?</p><p>Could this business requirement be satisfied with an existing dimension or attribute?</p><p>The goal should be to design dimensions that provide clear business value.</p><h3>2. Avoid Creating Unnecessary Dimensions</h3><p>Each new dimension adds complexity to the Planning application, impacting:</p><p>Forms</p><p>Business rules</p><p>Reports</p><p>Integrations</p><p>Security</p><p>Data volume</p><p>Calculation performance</p><p>For example, if the requirement is to classify Products into categories, a new dimension may not always be required.</p><p>Depending on the requirement, using an Attribute, UDA, Smart List or an existing hierarchy can be more appropriate.</p><p>The correct approach will depend on how this information will be used.</p><h3>3. Establish Naming Conventions</h3><p>A consistent naming convention makes metadata easier to work with.</p><p>For example, use meaningful values instead of:</p><p>Product1</p><p>Product2</p><p>Product3</p><p>Use values such as:</p><p>WMAFYF8</p><p>WMAFYF9</p><p>WMAFYF10</p><p>Similarly, the parent members should reflect the purpose of the child members.</p><p>For example:</p><p>Total Product</p><p>Total Entity</p><p>Total Cost Center</p><p>The naming convention must be documented and followed across the application.</p><p>This becomes especially important when Groovy, business rules, integrations, and reporting tools such as Smart View reference members by name.</p><h3>4. Design Hierarchies Carefully</h3><p>Hierarchy design is another very important aspect of metadata design.</p><p>A hierarchy should reflect how the business wants to analyze and rollup the data.</p><p>For example:</p><p>Total Entity</p><p>→ North America</p><p>→ USA</p><p>→ Entity 1000</p><p>→ Entity 2000</p><p>→ Europe</p><p>→ Germany</p><p>→ Entity 3000</p><p>The hierarchy should make the rollup relationship clear at-a-glance.</p><p>Before designing a parent-child relationship, ensure that the parent member reflects a meaningful business grouping and that the parent member is required for reporting or calculations.</p><p>Ask yourself the following questions:</p><p>Does the parent member represent a meaningful business grouping?</p><p>Is the parent member required for reporting?</p><p>Will the users retrieve data at this level?</p><p>Will the calculations use this hierarchy?</p><p>Could the use of this hierarchy cause duplicate reporting paths?</p><p>Avoid creating parent members just to organize the metadata if the parent member has no business purpose.</p><h3>5. Avoid Unnecessary Parent Members</h3><p>As applications grow in size and complexity, it is not uncommon to see multiple levels of parent members.</p><p>For example:</p><p>Total Product</p><p>→ Product Group</p><p>→ Product Category</p><p>→ Product Subcategory</p><p>→ Product</p><p>If all levels of the hierarchy are required for reporting, it makes sense to create all parent members.</p><p>However, if some parent members are used just for organizing the metadata, it could unnecessarily add complexity to the hierarchy.</p><p>Every parent member must ideally have a clear business purpose.</p><h3>6. Consider Dense and Sparse Design</h3><p>Metadata design is closely related to Essbase storage design.</p><p>In Planning applications, dimensions are generally classified as Dense or Sparse.</p><p>Dense dimensions typically consist of dimensions such as:</p><p>Account</p><p>Period</p><p>Sparse dimensions are made of:</p><p>Entity</p><p>Product</p><p>Customer</p><p>Cost Center</p><p>Scenario</p><p>The exact design of Dense and Sparse dimensions will depend on the requirements of the application.</p><p>The impact of adding members to a dense dimension could be significantly different than the impact of adding members to a sparse dimension.</p><p>Metadata changes, therefore, must be closely evaluated in conjunction with Essbase storage design.</p><h3>7. Be Careful When Adding Members to the Account Dimension</h3><p>Account is a very important dimension since it is usually configured as a Dense dimension.</p><p>Adding a new Account member could have a much greater impact than adding a member to a sparse dimension.</p><p>Before adding a new account, ask yourself the following questions:</p><p>Is the account really required?</p><p>Where should the member be placed in the hierarchy?</p><p>Should the member be stored or dynamically calculated?</p><p>Does it need to appear on forms?</p><p>Does it need to be included in reports?</p><p>Will the existing calculations reference the parent member?</p><p>Will it need to be integrated?</p><p>A seemingly simple change to a Account member could have far reaching implications for the application.</p><h3>8. Use Attributes and UDAs Appropriately</h3><p>Attributes and UDAs are useful when additional classification is required.</p><p>For example, the business may require that all Products be classified based on:</p><p>Domestic</p><p>International</p><p>Strategic</p><p>Non-Strategic</p><p>Instead of adding additional hierarchy levels for every classification, attributes or UDAs may be appropriate depending on how the information will be used.</p><p>The key is to understand how the information will be used and to use the appropriate metadata structure.</p><p>Use attributes or UDAs if the information is required for:</p><p>Aggregation</p><p>Reporting</p><p>Filtering</p><p>Calculation</p><p>Security</p><p>Integration</p><h3>9. Separate Planning Hierarchies from Reporting Requirements</h3><p>Not all reporting requirements necessarily need to become part of the main planning hierarchy.</p><p>For example, the business may want to report Products by:</p><p>Product Family</p><p>Product Type</p><p>Region</p><p>Business Unit</p><p>But the application planning hierarchy may only need to have:</p><p>Total Product</p><p>→ Product Family</p><p>→ Product</p><p>Additional product classifications can be handled using attributes or other reporting structures.</p><h3>10. Automate Metadata Loads</h3><p>For large applications, it could become challenging to maintain manually created metadata.</p><p>Instead, automate metadata loads wherever possible.</p><p>A typical process could involve:</p><p>Source System</p><p>↓</p><p>Metadata File</p><p>↓</p><p>Validation</p><p>↓</p><p>Oracle EPM</p><p>↓</p><p>Metadata Refresh</p><p>Automation will help reduce the possibility of:</p><p>Manual errors</p><p>Duplicate members</p><p>Incorrect parent-child relationships</p><p>Naming inconsistencies</p><p>And enable easier and more frequent metadata refreshes.</p><h3>11. Validate Metadata Before Loading</h3><p>Metadata should be validated before being loaded into the Planning application.</p><p>Validation can include checks for:</p><p>Duplicate members</p><p>Missing parents</p><p>Invalid member names</p><p>Invalid hierarchy relationships</p><p>Invalid aliases</p><p>Invalid properties</p><p>Unexpected member movements</p><p>For example, before loading:</p><p>Product A → Product Group 1</p><p>Product B → Product Group 1</p><p>Product C → Product Group 2</p><p>ensure that Product Group 1 and Product Group 2 have been defined and that the hierarchy is valid.</p><p>A validation step can eliminate many downstream issues.</p><h3>12. Keep Metadata Files Organized</h3><p>For automated metadata processes, organize metadata files by dimension where possible.</p><p>For example:</p><p>Account.csv</p><p>Entity.csv</p><p>Product.csv</p><p>CostCenter.csv</p><p>Customer.csv</p><p>This makes troubleshooting easier and enables individual dimensions to be maintained independently.</p><p>It also helps identify which metadata changed during a particular deployment.</p><h3>Metadata Best Practices Checklist</h3><p>Before creating or modifying metadata, ask the following questions:</p><p>Is the member really required?</p><p>Does it have a clear business purpose?</p><p>Is the naming convention being followed?</p><p>Is the parent hierarchy correct?</p><p>Could an existing dimension be used?</p><p>Could an attribute or UDA satisfy the requirement?</p><p>Will the change impact:</p><p>Forms?</p><p>Business rules?</p><p>Reports?</p><p>Integrations?</p><p>Security?</p><p>Will it impact calculation performance?</p><p>Has the change been tested?</p><p>Has the change been documented?</p><h3>Key Takeaway</h3><p>Good metadata design is not just about creating members and building hierarchies.</p><p>It is about designing a structure that is:</p><p>Scalable</p><p>Consistent</p><p>Maintainable</p><p>Easy to understand</p><p>Easy to integrate</p><p>Easy to report on</p><p>And efficient for calculations.</p><p>As the EPM Planning application grows in complexity, metadata governance becomes increasingly important.</p><p>A well designed metadata structure is what makes the difference between an application that is easy to maintain and an application that becomes increasingly challenging to support as the number of users, dimensions, members, integrations and calculations grow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8e695986d5f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IPM Insights in Oracle EPM Planning]]></title>
            <link>https://medium.com/@jganeshramalingam/ipm-insights-in-oracle-epm-planning-60c9acd8fa76?source=rss-14df6a3c4873------2</link>
            <guid isPermaLink="false">https://medium.com/p/60c9acd8fa76</guid>
            <category><![CDATA[oracle-epm]]></category>
            <category><![CDATA[ipm-insights]]></category>
            <category><![CDATA[epbcs]]></category>
            <dc:creator><![CDATA[Jganeshramalingam]]></dc:creator>
            <pubDate>Wed, 30 Sep 2026 12:30:14 GMT</pubDate>
            <atom:updated>2026-09-30T12:32:47.098Z</atom:updated>
            <content:encoded><![CDATA[<p>One of the challenges of the Planning applications is that there can be a huge amount of data to analyze.</p><p>A planner may have thousands of Accounts, Entities, Products, or other dimensional intersections that they need to see. Manually analyzing all of this data to find any unusual movements, forecast issues, or potential risks can take a significant amount of time.</p><p>This is where IPM Insights can be useful.</p><p>IPM Insights uses a blend of data science and financial pattern recognition to analyze Planning data and highlight patterns, anomalies, forecast variance, and other areas that may need attention. Administrators configure the insights, and planners can review the generated insights through the Insights dashboard and other supported Planning experiences.</p><h3>Why Do We Need IPM Insights?</h3><p>Suppose we have the following:</p><p>Actuals</p><p>Forecast</p><p>Budget</p><p>Historical data</p><p>Future forecast data</p><p>A planner may need to compare this data across hundreds or thousands of intersections.</p><p>For example:</p><p>Identify where Actuals are significantly different from Forecast</p><p>Determine if planners have a consistent forecasting bias</p><p>Find where the Forecast differs significantly from a system-generated prediction</p><p>Discover unusual spikes or drops in Actuals</p><p>See if there’s a significant movement from one period to another</p><p>Doing this manually for every intersection can be time-consuming.</p><p>IPM Insights helps automate this analysis and highlights areas that cross the configured thresholds.</p><h3>Types of IPM Insights</h3><p>Oracle Planning currently provides several types of insights, including:</p><p>Forecast Variance &amp; Bias Insights</p><p>Prediction Insights</p><p>Anomaly Insights</p><p>Period Movement Variance Insights</p><p>The exact insight types available can depend on the current Cloud EPM release and application configuration.</p><h3>1. Forecast Variance &amp; Bias Insights</h3><p>Forecast Variance &amp; Bias Insights analyze historical forecast data against actual results.</p><p>For example, suppose we have:</p><p>Historical Forecast</p><p>vs.</p><p>Historical Actuals</p><p>IPM Insights can identify intersections where the difference between the Forecast and Actuals exceed the configured threshold.</p><p>It can also identify a tendency for forecasts to be consistently higher or lower than actual results.</p><p>Oracle describes this as forecast bias:</p><p>Over-forecasting — forecasts tend to be higher than actuals.</p><p>Under-forecasting — forecasts tend to be lower than actuals.</p><p>An insight can be generated when the configured variance or bias threshold is exceeded.</p><p>Example</p><p>Suppose a planner entered:</p><p>Forecast = 100</p><p>and the Actual was:</p><p>Actual = 80</p><p>The difference is:</p><p>25%</p><p>If the configured threshold is 10%, this intersection could generate an insight.</p><p>The idea isn’t just to show them the variance, however. It helps the planner identify areas where the forecasting process might need more attention.</p><h3>2. Prediction Insights</h3><p>Prediction Insights compare a planner’s future forecast with a computer-generated prediction.</p><p>For example:</p><p>Planner Forecast</p><p>vs.</p><p>System Prediction</p><p>This can help identify areas where the planner’s forecast differs significantly from the predicted value.</p><p>Oracle Planning can use Auto Predict or Advanced Predictions as the source of prediction data, depending on how IPM is configured.</p><h3>Example</h3><p>Suppose:</p><p>Planner Forecast = 1,000</p><p>System Prediction = 1,250</p><p>The difference is significant.</p><p>If the configured threshold is crossed, IPM Insights can generate a Prediction Insight for that intersection.</p><p>This gives the planner an opportunity to check out why the forecast differs from the system prediction.</p><h3>3. Anomaly Insights</h3><p>Anomaly Insights are used to identify unusual patterns in the data.</p><p>For example, suppose monthly sales normally look like:</p><p>100 → 105 → 110 → 108 → 112</p><p>and suddenly we see:</p><p>100 → 105 → 110 → 500 → 112</p><p>The value of 500 may be an unusual data point compared to the historical pattern.</p><p>IPM Insights can identify these types of outliers based on the configures anomaly detection method and threshold. Oracle describes the default anomaly approach in terms of statistical deviation such as Z-score, and the threshold determines when an observation is considered an outlier.</p><p>An anomaly doesn’t necessarily mean the data is wrong.</p><p>It could be:</p><p>A genuine business event</p><p>A large customer order</p><p>A one-time expense</p><p>A data-entry issue</p><p>Missing or unusual data</p><p>A change in business behavior</p><p>So the insight should be treated as something to investigate rather than automatically assuming that the underlying data was incorrect.</p><h3>4. Period Movement Variance Insights</h3><p>Period Movement Variance Insights identify significant movement between the current period and a comparison period or benchmark.</p><p>For example, we may want to identify:</p><p>Sales increased by more than 10% compared with the previous month.</p><p>IPM Insights can evaluate period movement using different benchmarks, including:</p><p>Year-on-year</p><p>Previous period</p><p>Custom period</p><p>Historical average</p><p>The variance can be evaluated using percentage or an absolute value, depending on the configuration.</p><h3>Example</h3><p>Suppose:</p><p>August Sales = 100,000</p><p>September Sales = 125,000</p><p>The increase is:</p><p>25%</p><p>If the configured threshold is 10%, this movement can trigger an insight.</p><p>This can be useful when we want to monitor some important KPI, Account, or metric that has significant period-to-period movements that need to be highlighted.</p><h3>How IPM Insights Works</h3><p>The overall process can be thought of as:</p><p>Historical Data → Prediction/Analysis → Configure Thresholds → Generate Insights → Review Insights → Investigate</p><p>The administrator first defines what should be analyzed.</p><p>The configuration includes things such as:</p><p>Historical data slice</p><p>Future data slice</p><p>Insight type</p><p>Prediction method, when applicable</p><p>Error tolerance</p><p>Thresholds</p><p>Metrics</p><p>Display dimensions</p><p>Impact thresholds</p><p>IPM then analyzes the defined data and generates insights when the configured conditions are met.</p><h3>Configuring IPM Insights</h3><p>To configure IPM Insights, administrators can navigate to the IPM area and create an insight configuration.</p><p>The configuration process generally involves the following steps.</p><h3>Step 1: Create an Insight Configuration</h3><p>Create a new IPM Insight configuration and provide:</p><p>Name</p><p>Description</p><p>This helps identify what purpose the insight has.</p><p>For example:</p><p>Revenue Analysis</p><p>or</p><p>Sales Forecast Analysis</p><h3>Step 2: Select the Insight Types</h3><p>Select the types of insights that should be generated.</p><p>For example:</p><p>Forecast Variance &amp; Bias</p><p>Prediction</p><p>Anomaly</p><p>Period Movement Variance</p><p>Multiple insight types can be configured based on the requirement.</p><h3>Step 3: Define the Data Slice</h3><p>Next, define the data that IPM should analyze.</p><p>This is important because we generally don’t want to analyze the entire Planning database unnecessarily.</p><p>We can define the relevant dimensions and members to be used in the analysis.</p><p>For example:</p><p>Account → Revenue</p><p>Entity → Total Entity</p><p>Scenario → Actual / Forecast</p><p>Version → Working</p><p>Period → Historical/Future periods</p><p>The exact slice depends on the business requirement.</p><h3>Step 4: Configure Thresholds</h3><p>Thresholds determine when an insight should be generated.</p><p>For example, we might configure:</p><p>Forecast Variance Threshold = 10%</p><p>This means that significant deviations beyond the configured threshold can be considered for insight generation.</p><p>Similarly, Prediction Insights have a threshold for the variance between the planner forecast and the computer-generated prediction.</p><p>For Anomaly Insights, the threshold determines how far an observation must deviate from the expected pattern before it’s considered an anomaly.</p><h3>Auto Predict and Advanced Predictions</h3><p>One important part of IPM Insights is generating prediction data.</p><p>If prediction data is already available, it can be used by IPM.</p><p>If prediction data isn’t available, Auto Predict can generate prediction data from the historical data.</p><p>Oracle also provides Advanced Predictions, which use machine learning algorithms to generate predictions.</p><p>This allows organizations to compare planner forecasts with system-generated predictions.</p><h3>Example Business Scenario</h3><p>Let’s consider a Sales Planning application.</p><p>We have:</p><p><strong>Historical Actuals</strong></p><p>2024 Actual</p><p>2025 Actual</p><p><strong>Planner Forecast</strong></p><p>2026 Forecast</p><p>System Prediction</p><p>2026 Prediction</p><p>The business wants to identify:</p><ol><li>Products where historical forecasts consistently differed from Actuals.</li><li>Products where the 2026 Forecast differs significantly from the system prediction.</li><li>Products with unusual sales patterns.</li><li>Products where sales have changed significantly compared with the previous period.</li></ol><p>Rather than manually checking thousands of Product and Entities, IPM Insights can analyze the data we’ve configured for the insight and highlight the intersections that meet the defined criteria.</p><p>This allows planners to focus their time on the areas of interest.</p><h3>Reviewing IPM Insights</h3><p>Once insights are generated, planners can review them through the available Insights experience.</p><p>An insight generally provides information about:</p><p>What was identified</p><p>The relevant intersection</p><p>The underlying values</p><p>The variance or deviation</p><p>The reason the insight was triggered</p><p>Additional information that can assist the planner in investigating</p><p>Planners can then investigate the underlying data and decide whether any action is required.</p><p>Oracle also supports working with IPM Insights in Smart View and other Planning interfaces.</p><h3>IPM Insights vs Traditional Reporting</h3><p>Traditional reporting requires the user to know what they’re looking for.</p><p>For example, a user might open a report and manually check for:</p><p>Actual vs Forecast</p><p>across hundreds of Products.</p><p>IPM Insights takes a different approach. It identifies areas that meet predefined analytical criteria so that the user can focus on those areas.</p><p>So IPM is particularly useful when we have a lot of multidimensional Planning data.</p><h3>When Should We Use IPM Insights?</h3><p>IPM Insights can be useful when:</p><p>The Planning application contains large amounts of data.</p><p>Users spend significant time manually analyzing variances.</p><p>Forecast accuracy needs to be monitored.</p><p>Organizations want to identify forecasting bias.</p><p>Significant anomalies need to be highlighted.</p><p>Planner forecasts need to be compared with system predictions.</p><p>Important period-to-period movements need to be monitored.</p><h3>Things to Consider</h3><p>IPM Insights shouldn’t replace business knowledge.</p><p>For example, an anomaly doesn’t necessarily mean something is wrong.</p><p>A large variance could be caused by:</p><p>A legitimate business event</p><p>A new customer</p><p>A one-time transaction</p><p>A change in pricing</p><p>A change in business strategy</p><p>Similarly, a difference between a planner forecast and a system prediction doesn’t necessarily mean that one of them is incorrect.</p><p>The value comes from combining the automated analysis with the planner’s knowledge of the business.</p><h3>Key Takeaway</h3><p>IPM Insights can help shift Planning from reporting what happened to proactively identifying where attention may be needed.</p><p>Instead of manually reviewing thousands of intersections, planners can use IPM Insights to identify:</p><p>Forecast Variance &amp; Bias → Where historical forecasts differ from Actuals or show bias in direction.</p><p>Prediction Insights → Where planner forecasts differ significantly from system predictions.</p><p>Anomaly Insights → Where there are unusual patterns or outliers.</p><p>Period Movement Variance → Where significant movement occurs compared with a selected benchmark.</p><h3>Oracle Documentation</h3><p>Oracle Documentation — About IPM Insights<br><a href="https://docs.oracle.com/en/cloud/saas/freeform/freef/insights_about.html">https://docs.oracle.com/en/cloud/saas/freeform/freef/insights_about.html</a></p><p>Oracle Documentation — Configuring IPM Insights<br><a href="https://docs.oracle.com/en/cloud/saas/planning-budgeting-cloud/pfusa/insights_configuring.html">https://docs.oracle.com/en/cloud/saas/planning-budgeting-cloud/pfusa/insights_configuring.html</a></p><p>Oracle Documentation — Configuring Additional Insight Settings<br><a href="https://docs.oracle.com/en/cloud/saas/planning-budgeting-cloud/pfusa/insights_configuring_advanced_settings.html">https://docs.oracle.com/en/cloud/saas/planning-budgeting-cloud/pfusa/insights_configuring_advanced_settings.html</a></p><p>Oracle Documentation — Configuring Insights Tutorial<br><a href="https://docs.oracle.com/en/cloud/saas/planning-budgeting-cloud/ipm-tutorial-configuring-insights/index.html">https://docs.oracle.com/en/cloud/saas/planning-budgeting-cloud/ipm-tutorial-configuring-insights/index.html</a></p><p>Oracle Documentation — AI Features for Planning<br><a href="https://docs.oracle.com/en/cloud/saas/enterprise-performance-management-common/epmai/ai_features_for_planning.html">https://docs.oracle.com/en/cloud/saas/enterprise-performance-management-common/epmai/ai_features_for_planning.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=60c9acd8fa76" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flex Forms in Oracle EPM Planning]]></title>
            <link>https://medium.com/@jganeshramalingam/flex-forms-in-oracle-epm-planning-2c1ba8a0640a?source=rss-14df6a3c4873------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c1ba8a0640a</guid>
            <category><![CDATA[epbcs]]></category>
            <category><![CDATA[flex-form]]></category>
            <dc:creator><![CDATA[Jganeshramalingam]]></dc:creator>
            <pubDate>Tue, 29 Sep 2026 16:47:26 GMT</pubDate>
            <atom:updated>2026-09-29T16:47:26.826Z</atom:updated>
            <content:encoded><![CDATA[<p>When working with Oracle EPM Planning, one of the challenges we often come across is dealing with large amounts of metadata.</p><p>For example, imagine a Product dimension with thousands of members. If we try to build a traditional Web Form with a large number of these members, the form can quickly become difficult to use. Users may have to scroll through a long list just to find the members they actually need.</p><p>This is where Flex Forms can be very useful.</p><p>Flex Forms provide users with more flexibility when working with forms through Smart View. Instead of being limited to the members that were originally defined on the form, users can work with the combinations they need, depending on how the form and dimensions are configured.</p><p>For me, one of the biggest advantages of Flex Forms is the flexibility they provide for data input when the application has a large amount of metadata.</p><h3>Why Do We Need Flex Forms?</h3><p>When we have huge metadata, it can be difficult to use a traditional Web Form because the user may have to scroll through a huge list of members.</p><p>Consider a Product dimension with thousands of Products.</p><p>If we include a large number of Products in a Web Form, the form can become difficult to navigate. It also means that whenever users need a different set of Products, we may end up creating additional forms.</p><p>Instead, we can use a Flex Form and allow users to work with the required Product combinations directly in Smart View.</p><p>The user can then load the required data based on the combination they need.</p><p>This is especially useful for input forms, where users may need to enter data for specific combinations rather than work through a large predefined list.</p><p><strong>The key benefit is:</strong></p><p><em>Users can work with the required member combinations without having to navigate through a huge predefined form.</em></p><h3>Example Use Case</h3><p>Let’s take a simple example.</p><p>Suppose we have a Product dimension with thousands of Products.</p><p>A traditional Web Form might contain a predefined set of Products. If a user needs to work with a different Product, they may have to request a change to the form or use another form.</p><p>With a Flex Form, the user gets more flexibility.</p><p>For example, the user might initially work with:</p><p>· Product A</p><p>· Product B</p><p>· Product C</p><p>Later, if they need to work with a different set of Products, they can modify the members in Smart View based on their requirement.</p><p>This can significantly improve the user experience, especially when the same form needs to be used for different data-entry scenarios.</p><h3>How to Enable Flex Forms?</h3><p>There are two important configurations we need to look at when setting up Flex Forms.</p><h3>Step 1: Enable Flex Form for Rows and Columns</h3><p>Open the required form and go to the Layout section.</p><p>On the right side, under Smart View Options, we can find the Flex Form-related options.</p><p>Enable:</p><p>· Enable flex form for rows</p><p>· Enable flex form for columns</p><p>Depending on the requirement, we can enable either one or both.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*JOFGMsD_KsSi1t6wl1dEeQ.png" /></figure><p><em>Screenshot 1: Smart View Options — Enable flex form for rows and columns</em></p><p>There is also an option called Show invalid members for flex form.</p><p>This can be useful when users need to identify and correct invalid member entries while working with the Flex Form.</p><h3>Step 2: Enable Flex Beyond Form Definition</h3><p>Once the Flex Form option is enabled, select the required dimension.</p><p>On the right side, under Dimension Properties, we can find the option:</p><p><strong>Flex beyond form definition</strong></p><p>Enable this option for the dimensions where users should be allowed to work with members outside the original form definition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*z24B_7ocTrK-C_4ED_uF4g.png" /></figure><p><em>Screenshot 2: Dimension Properties — Flex beyond form definition</em></p><p>This is where the additional flexibility comes in.</p><p>For example, suppose the original form contains only a specific set of Products.</p><p>If Flex beyond form definition is enabled for the Product dimension, users can work with other valid Product members that were not originally included in the form definition, subject to their security access.</p><h3>Working with the Flex Form in Smart View</h3><p>Once the configuration is complete, users can open the form through Smart View.</p><p>From there, they can work with the form based on their requirements.</p><p>Depending on the configuration, users can:</p><p>· Add members</p><p>· Remove members</p><p>· Rearrange rows</p><p>· Rearrange columns</p><p>· Move members</p><p>· Filter data using Excel functionality</p><p>· Enter data</p><p>· Submit data</p><p>· Run business rules attached to the form</p><p>The exact behavior depends on how the Flex Form has been configured by the administrator.</p><h3>Flex Forms for Data Input</h3><p>One of the areas where I find Flex Forms particularly useful is data input.</p><p>Consider a requirement where users need to enter data for a combination such as:</p><p><strong>Entity + Product + Account + Period</strong></p><p>Now imagine that the Product and Entity dimensions both contain thousands of members.</p><p>Building a traditional Web Form that contains all these members would make the form difficult to use.</p><p>Instead, a Flex Form allows users to work with the combinations they actually need in Smart View.</p><p>This also reduces the need to create multiple forms just to support different member combinations.</p><h3>Flex Form vs Flex Beyond Form Definition</h3><p>There is an important difference between these two settings.</p><p><strong>Enable flex form for rows/columns</strong> → Enables Flex Form functionality.</p><p><strong>Flex beyond form definition</strong> → Provides additional flexibility by allowing users to work with valid members that are outside the original form definition for the applicable dimension.</p><p>So, enabling the Flex Form option and enabling Flex beyond form definition serve different purposes.</p><h3>When Should We Use Flex Forms?</h3><p>· The application has a large amount of metadata.</p><p>· Users need to work with different member combinations.</p><p>· A traditional Web Form would contain a very large number of members.</p><p>· Users need flexibility during data input.</p><p>· Multiple similar forms are being created for different member combinations.</p><p>· Users primarily work through Smart View.</p><p>· Users need to work with members outside the original form definition.</p><h3>When Should We Not Use Flex Forms?</h3><p>Flex Forms may not be the right choice when the business process requires a fixed and highly controlled form layout.</p><p>For example, if users are expected to enter data only against a predefined set of members, a traditional form may be more appropriate.</p><p>Similarly, if the form is part of a controlled business process where the layout and available members should remain consistent for all users, adding flexibility may not provide much value.</p><p>The decision really depends on the requirement.</p><p>If the requirement is flexible analysis or data input, Flex Forms can be useful.</p><p>If the requirement is standardized and controlled data entry, a traditional form may be a better fit.</p><h3>Key Benefits</h3><p>· Reduced number of similar forms</p><p>· Greater flexibility for end users</p><p>· Easier data input with large metadata</p><p>· Improved Smart View experience</p><p>· Less dependency on administrators for creating additional forms</p><p>· Ability to work with different member combinations</p><p>· Better support for applications with large dimensions</p><h3>Key Takeaway</h3><p>When an EPM Planning application has a large amount of metadata, traditional Web Forms can become difficult to use. Users may have to scroll through hundreds or thousands of members just to find the ones they need.</p><p>Flex Forms provide a more flexible approach by allowing users to work with the members and combinations they actually need through Smart View.</p><p>The two settings to remember are:</p><p><strong>Enable flex form for rows/columns</strong> → Enables Flex Form functionality.</p><p><strong>Flex beyond form definition</strong> → Allows users to work with valid members outside the original form definition for the applicable dimensions.</p><p>For large Planning applications, Flex Forms can be a very useful option for making data input and analysis more flexible and user-friendly.</p><h3>Official Oracle Documentation</h3><p>· <a href="https://docs.oracle.com/en/cloud/saas/enterprise-performance-management-common/svsss/flex_forms_about_106x5aa9f7a6.html">About Flex Forms</a></p><p>· <a href="https://docs.oracle.com/en/cloud/saas/enterprise-performance-management-common/svwgw/flex_forms_working_with.html">Working with Flex Forms in Smart View</a></p><p>· <a href="https://docs.oracle.com/en/cloud/saas/enterprise-performance-management-common/svurs/flex_forms_guidelines_general.html">General Guidelines for Flex Forms</a></p><p>· <a href="https://docs.oracle.com/en/cloud/saas/freeform/freef/setting_dimension_properties_330.html">Setting Dimension Properties — Flex beyond form definition</a></p><p>· <a href="https://docs.oracle.com/en/applications/enterprise-performance-management/smart-view/21.200/rdmsv/index.html">Oracle Smart View Readme — Flex Forms</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c1ba8a0640a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>