Order of variables in calculation manager 11.1.2.2 rulesets

Hi,
We are in the process of migrating all our 11.1.2.1 HBR Sequences to 11.1.2.2 Rulesets. While migrating the sequences to rule sets I came across an issue where the order of the variables displayed in the Ruleset designer "Variables" tab doesn't match the order of the rules in the rulesets. This is not the case with the HBR sequences in EAS where the variables are associated with rules with valid Index.
Eg:
EAS
Order of rules in the Sequence: RuleA, RuleB, RuleC
Order of variable in the Launch Variables Tab: VarA1,VarA2,VarB1,VarB2,VarC1 ( Assuming that VarA1,VarA2 and VarB1,VarB2 and VarC1 are variables associated to rules A,B and C respectively.
Calc Manager
Order of rules in the Sequence: RuleA, RuleB, RuleC
Order of Variables in the Variables tab: VarC1,VarA1,VarA2,VarB1,VarB2 ( Random)
My case is more complex because I'm running the same rule for different values for a particular runtime prompt 38 times and they have to run in a order. Now I couldn't associate the rule with the variable that I'm changing.
I tried creating the sequence from scratch rather than importing it from 11.1.2.1 but no luck. Please help!

Raj,
I opened up the .xml file from the Ruleset export and the "Seq_index"( which specifies the rule to which the variable belongs) and "seq" number (which specifies the variable order) are in the correct order as the rules order in the ruleset. But still the variables are not displayed in correct order in the "Variables" tab of the ruleset.
Eg.
Rule order in the rule set: R1,R2,R3
<variable_references>
<variable_reference id="3772" name="*R1v1*">
<property name="seq"> *2* </property>
<property name="seq_index"> *1* </property>
</variable_reference>
<variable_reference id="3770" name="*R1v2*">
<property name="seq"> *3* </property>
<property name="seq_index"> *1* </property>
</variable_reference>
<variable_reference id="3771" name="*R2v1*">
<property name="seq"> *4* </property>
<property name="seq_index"> *2* </property>
</variable_reference>
<variable_reference id="3773" name="*R2v2*">
<property name="seq"> *5* </property>
<property name="seq_index"> *2* </property>
</variable_reference>
<variable_reference id="3774" name="*R3v1*">
<property name="seq"> *6* </property>
<property name="seq_index"> *3* </property>
</variable_reference>
Displayed order of variables in calcmanager: R2v1,R2v2,R1v1,R1v2,R3v1 (Note that the variables belonging to the same rule are showing up in correct order).
It will be very difficult to me to modify the seq# and index in the xml file as I have 40 rulesets with each having 20 rules and around 5 variables for each rule.
Thanks,
Swaraj.

Similar Messages

  • Possible to use local variables in Calculation Manager

    Hi,
    I'm using calculation manager in EPMA for the first time. Have not found any function for using "local variables", i.e. variables that can be used for fixing on the current members a user has selected in a form. Do someone know if it is possible to use that functionality in calculation manager? And in that case, how do I find it?
    Thanks!
    Regards
    Mats

    Hi,
    I guess you are referring to local variables in Essbase Administration Console. When you are in calculation manager (System View), you can go to Tools->Variables. There you can create variables at application, database (global) or business rule level (local variable). You can use these in Business rules by placing the name in curly bracket {...}.
    The usage of the variables in the forms is the same as before.
    If however, what you meant to say by local variables is substitution variables, yes you can use them in Calc manager the same way you use in calc script.
    Cheers,
    Alp

  • Substitution variable in Calculation manager

    Hi,
    In calc manager there are two types of variable
    1. replacement
    2. execution.
    I want to know that is there any connection between substitution variable in Essbase and these variable?
    In a document, I saw that
    "Planning and Essbase users only: If you want to create a replacement variable for Planning or Essbase, on Replacement, do these tasks:
    Enter a name for the variable.
    Select a type for the variable:
    Numeric—a number
    String—a text string
    Essbase—an Essbase substitution variable
    Note:
    You cannot use an Essbase substitution variable in a component of a business rule in an Essbase aggregate storage application, including those used in Oracle General Ledger."
    But I have created an Essbase replacement variable for a EPMA essbase application but it is not reflected in Essbase.
    Why?

    Hi, Rubi.
    Last NOTE was about Essbase aggregate storage application (ASO). Planning apps (using EPMA) has been created in Block Storage option (BSO). It isn't so?

  • Substitution Variable calculation manager issue

    Hi!
    We have set an automatic update of the Curmonth substitution variable, through a batch that recalls a mxl file. It seems to work and it updates the variable both on essbase and planning. Unfortunately it does appear to have no effect on calculation manager scripts.
    Did some experience the same issue?
    Any advice to solve the problem?
    thanks.
    Edited by: user648334 on Jun 25, 2012 8:06 AM

    Calc Manager Scripts will act just like an essbase calc script. The only difference is that any changes to the script will not update the 'version' of the script in use by the application until you deploy it. I have yet to re-test this since 11.1.2.2 came out, but Calc Manager scripts do not validate when you have a subvar in them. They will have valid syntax upon deployment, and will run - but Calc Manager can not retrieve the value of a subvar. However, when the calc runs the subvar will reach out to essbase, grab the appropriate value and execute.
    It may be your script. I would pare down the script to make sure the syntax is working by replacing the subvar with its corresponding value and testing its results.

  • Defining variables in the Calculation Manager

    Hi all,
    I'd like to use the Calculation Manager (properly, for the first time).
    I'd like to define all my variables in the Variable Designer.
    If a create a boolean variable "bIsBaseEntity" (thus, I want to select all the base members in the entity hierarchy), I have a simple question: what's the difference between the scope setting: "Ruleset" or "Rule"?
    Let's say I want to use this variable in all the different rule components (e.g., Calculate, Consolidate, Generic).
    What's the correct setting for this?
    Thanks!

    If the execution variable has a ruleset scope, it is passed from one business rule to another business rule within the same ruleset. If the variable has a rule scope, it may be used only in the business rule for which it is created and is not passed to another business rule and are not passed as parameters.
    HTH-
    Jasmine.

  • User Variable not recognized  in Calculation Manager in V11.1.2

    I am using user variables in a script using a calculation manager in V11.1.2
    When I am using the user variable within a Fix statement I don't have any problems but when I am using it out of the Fix statement it does not work. I have already added the variables in the variable manager
    The error I am getting is the member is not recognized (user variable). I am having problem with only one of the many variables.
    Any suggestions on why I am getting this issue.
    Thanks in Advance.

    Thanks for your input, I have assigned the default values but it still did not work. Then I restarted all the services and it is working fine.

  • Can't assign a string value to a member of type TEXT in Calculation Manager

    I can assign a string value to that member of type TEXT using a run-time prompt of type StringToNumber.
    Example: "My Text Member" = {string_rtp};
    However, I need to accompllish the same function without using a run-time prompts.
    I have a planning application and I know that text along with all other non-numeric
    values are stored on the relational side in the planning application schema.
    It seems reasonable to assume that if this can can accomplish
    with a run-time prompt that I could do also do it without a run-time prompt.
    What appears to be lacking is a function like:
    "My Text Member" = @StringToNumber(<String Literal>);
    Clearly, this is already being done "under the covers" for run-time prompts. If
    would appear to be a minor enhancement to expose such a function to developers.
    NOTE: I suppose you would also need to add new syntax/function to identify a string
    literal from say a member name. I'm wondering if this is the more difficult challenge
    from a product perspective????

    When executing a Calculation Manager rule in Planning, the run-time prompt (RTP) is populated by looking up the outline information present in the relational Planning application database. If the RTP is of type TEXT, the strings displayed in the member select are from the from the relational Planning application database too. Subsequently when executing the Rule, the RTP's value is in fact the record ID (a number) which is then saved into the appropriate intersection in Essbase.
    You need to bear in mind, the Rule is executed in Essbase. If Essbase needs to "write" a text, it would then need to connect to the Planning relational database to create a new record. The newly created record ID then needs to be feed back to Essbase, in order to store it in the appropriate intersection.
    What you are suggesting, comes with a big overhead causing Essbase and the rule to slow. Thus, the disadvantages outweighs the advantages.

  • Unable to use runtime prompts in calculation manager

    Hi All,
    I am unable to use runtime prompts in calculation manager (11.1.2.0).
    In Variable Designer I have selected global and created a Replacement variable with name "Entity" and selected Type as "Member" and Default Value as "Entity" from dimension list, checked the check box "rtp".
    In FIX (i.e., Member Range) I’m selecting this variable for Entity dimension, and validating this rule without any errors. And during deployment it is not prompting for Entity and directly a message appears that deployment was successful.
    My requirement is i should select a Entity member during runtime. Please help me out.
    Thanks.

    Are you accessing workspace url remotely on client machine?
    Can you try accessing the url on the server and check whether you can see the app in the Calc manager?
    Thanks
    Madhavi

  • Business rules and calculation manager

    Hi ,
    Could anyone pls tell me the difference between the calculation manager and business rules?

    Calculation manager is a web component that is designed to manage business rules from a web interface. It is enabled to build calculations also using a graphic interface, although this mode is more suitable for simple calculations than for complex ones. Calculation manager allows you also to use complex templates that you can customize with prompts in order to adapt them to each rule without being force to change the code. Basically it is an evolution of the essbase business rules macro function. Once a business rule is created it has to be deployed in order to be used with planning applications. The deploy activity copies the rule on the database, both in the calculation manager tables in and the planning tables.
    Business rules are instead essbase artifacts. They aren't available any more from version 11.1.2.2 on.
    In versions older than the 11.1.2.2 you were forced to use calculation manager for epma applications, while essbase business rules were used in classic applications. In terms of calculations there is no difference between the two technologies, they behave exactly in the same way. There is only a small difference in the prompts syntax, {} in calculation manager and [] in essbase business rules.
    Although i find the calculation manager web editor quite slow and imprecise to use, I anyway advice to use it in order to make eventual release upgrades easier.

  • Calculation manager - error when importing .csc script

    Hi everybody,
    I am using EPM 11.2.1 with an Oracle 11.2.0.2 repository.
    I am new to Calculation Manager in Planning and I have an issue again.
    Using Essbase's admin console I created a script:
    SET UPDATECALC OFF;
    SET AGGMISSG ON;;
    FIX ("FY11", "Current", "Version_I")
    FIX(@DESCENDANTS ("ACC_Property, Plan & Equipment Net",0), @DESCENDANTS ("ACC_Intangible Assets Net",0), @DESCENDANTS ("ACC_Investments",0), @DESCENDANTS ("CapexNature",0), @DESCENDANTS ("Entity",0), @DESCENDANTS ("Period",0))
    "MS_Inv_Dep"=@PRIOR ("MS_Inv_Dep",1) + "MS_Inv_Val"->@CURRMBR ("Period")->@CURRMBR ("Entity") * "MS_Inv_%Dep"->"BegBalance"->@CURRMBR ("Entity")/12;
    ENDFIX
    CALC DIM ("Account","Period", "Measure");
    CALC DIM ("CapexNature","Entity");
    ENDFIX
    I wish to import the .csc in calculation manager but I receive the error (translated from Italian):
    Error during script analysis. Verify the script at row 1 column 7 to row 1 column 12
    I can't figure out what it is wrong. Is there a log somewhere with more details?
    any help will be very appreciate as I am stuck on this too.
    thank you all
    daniela

    Hi John,
    Thanks for the reply (by the way, I appreciate a lot the work you're doing on your ODI blog).
    No, I imported it (File->Import)
    I have a few calc scripts and in order to make transition to Calc Manager faster I thought of importing them.
    Regarding your suggestion to copy and paste it, I tried it and it works.
    I saw Calc Manager generates the script in a 'strange' syntax (because I used the aggregation template). For a simple aggregation the code it generates is like this:
    %Template(name:="Aggregation",application:="",plantype:="",dtps:=("Restriction":=(),"DF1":=[[Period]],"DF2":=[[Account]],"SF1":=[[Entity]],"SF2":=[[CapexNature]],"SF3":=[[]],"DP1":=[[]],"LevelDP1":=[[Descendants]],"DP2":=[[]],"LevelDP2":=[[Descendants]],"SP1":=[[]],"LevelSP1":=[[Descendants]],"SP2":=[[]],"LevelSP2":=[[Descendants]],"SP3":=[[]],"LevelSP3":=[[Descendants]],"UPTOLOCAL":=[[Use default]],"AGGMISSG":=[[Yes]],"FRMLBOTTOMUP":=[[Use default]],"CALCCACHE":=[[Not specified]],"Debug":=[[Debug wizard OFF]]))
    (I have inquired about thin in an earlier post)
    I can add my own code (calc manager creates a /*STARTCOMPONENT:SCRIPT*/ /*ENDCOMPONENT*/area).
    Regarding the code generated for templates, can this code be updated? How do I change in the above generated code the CALC DIM into AGG?
    thank you again
    daniela

  • After Upgrade from 11.1.1.3 to 11.1.2.2 Essbase Application Not Shown in Calculation Manager

    I have upgraded from EPM 11.1.1.3 to 11.1.2.2 and now want to import Business Rules to Calculation Manager for use with Essbase.
    However I cannot see my Essbase Application in Calculation Manager; (only the provided sample applications are shown in the hierarchy)
    How do I check my configuration? How does Calculation Manager connect to Essbase and find my app?
    I haven't knowingly altered Essbase server/port details during the upgrade as I opted not to re-host.

    Yes the EAS schema was upgraded by the configurator.
    I ran upgrade_ps2.sh (unix) without changing any configuration just to see what it does and (after I had to manually create the directory structure for the log file) it created an HBRrules.xml file successfully fo the first time under EPMData/planning (The missing log file directory structure may have been why the configurator didn't create the HBrrules.xml file at the first attempt during the Planning upgrade)
    Anyway not entirely sure where upgrade_ps2.sh got its rules information but the file it created was very similar to the HBR file exported from EAS prior to starting the upgrade.
    I attempted a 'migrate' again with Calculation Manager but still get the "No objects were found in the document for importing", i.e. kind of back to square one.
    I really need to understand what is Calc Managers problem?
    Q .What server should the upgrade_ps2.sh be run on? Planning or Shared Services? (I did it in on both)
    Q. How can I get Calc Manager to tell me more with logging or tracing somehow?
    Any other suggestions gratefully received
    Many Thanks

  • Unconfirmed line items of a sales order into account in credit management

    Hi Gurus
    Updated the customer orders via prog. RVKRED09.
    There is only one open order for this customer = 720662. My question is: in the credit master the sales value/credit exposure is USD 77.100,00. The order is for USD 105,900.00 .
    Found out that line item 20 is not confirmed in the schedule lines. So the value in the sales value/credit exposure  equals item 10 and 30. So my 1question is: Where is the setting that  does not take unconfirmed line items of a sales order into account in credit management?
    Thanks in advance
    Regards
    Nalini Iyer

    Hi nalini
    Even though , you create a sales order for that line item , but if that item is not confirmed then the value  wont be considered.  into credit exposure. .
    But once it gets confirmed then the value will be taken into credit exposure..
    Regards
    Srinath

  • How to  use data function using characterstics variable for calculation on

    how to  use data function using characterstics variable for calculation on  attribute as key figure

    Hi Gayatri
    Did you not see my answer for CASE because CASE does indeed offer the use of the BETWEEN clause, but DECODE does not. Let me give you a little synopsis of DECODE.
    In its most simple form it takes 4 values and looks like this: DECODE(A, B, C, D)
    This essentially means, IF A = B THEN C ELSE D
    The trick to solving BETWEEN in a DECODE is to work out algoriths where A = B. Because we don't know how many values are between 00 and 99, although I could guess there were 100 we could of course have 100 parts in the DECODE but that would be awful. How about if we look at it another way and say this:
    IF PART_NUMBER < 'SDK00' THEN pay_amount
    ELSE IF PART_NUMBER > 'SDK99' THEN pay_AMOUNT
    ELSE pay_amount + 100
    This statement only had 2 hard coded values, but how to make DECODE work with less than? Easy, we use the LEAST function. The LEAST function takes 2 values and returns the one with the lowest value. So I use LEAST(PART_NUMBER, 'SDK00') then whenever the PART_NUMBER is lower than SDK00 it will be true. A similar situation exists for the opposite function GREATEST. Putting all of this together then, you can do this:
    DECODE(PART_NUMBER, GREATEST(PART_NUMBER, 'SDK00'), DECODE(PART_NUMBER, LEAST(PART_NUMBER, 'SDK99'), PAY_AMOUNT * 100, PAY_AMOUNT), PAY_AMOUNT)
    In English this can be read as follows:
    IF the PART_NUMBER is greater than or equal to SDK00 and the PART_NUMBER is less than or equal to SDK99 THEN PAY_AMOUNT x 100 ELSE 0
    Best wishes
    Michael

  • How to redeploy Calculation Manager Web Application Server

    Hi All,
    I am installing a patch(13925741) for Calculation Manager, i stuck at the following point:
    6. Perform the standard Calculation Manager Web application server deployment task using Hyperion Enterprise Performance Management System Configurator (EPM System Configurator). See the Oracle Hyperion Enterprise Performance Management System Installation and Configuration Guide for instructions.
    I don't know how to redeploy Calculation Manager Web Application Server, plz help me in deploying this.
    The readme for the patch can be found at:
    https://updates.oracle.com/Orion/Services/download?type=readme&aru=15356919#_Toc330987031

    909062 wrote:
    Hi All,
    I am installing a patch(13925741) for Calculation Manager, i stuck at the following point:
    6. Perform the standard Calculation Manager Web application server deployment task using Hyperion Enterprise Performance Management System Configurator (EPM System Configurator). See the Oracle Hyperion Enterprise Performance Management System Installation and Configuration Guide for instructions.
    I don't know how to redeploy Calculation Manager Web Application Server, plz help me in deploying this.
    The readme for the patch can be found at:
    https://updates.oracle.com/Orion/Services/download?type=readme&aru=15356919#_Toc330987031
    Hi,
    Did you actually try to look at the Oracle Hyperion Enterprise Performance Management System Installation and Configuration Guide for instructions as suggested ?
    To redeploy a component, run the configurator that can be found in the start menu under Foundation Services. Then select "modify an existing instance". Then for Calculation manager, check the box "Deploy to application server".
    Thanks,
    JM

  • Can't see application in calculation manager

    We are testing moving from Hyperion 9.3.1 to 11.1.1.3. We have created two new applications, one using EPMA and the second as a classic but with Calculation Manager. I have set the advanced settings in the classic application to calculation manager and have restarted planning, but I still cannot see the classic application in Calculation manager, only the EMPA one.
    Thoughts on the next step?
    Thanks.

    Yes, we have done that and created another application to test again to no avail. Oracle support has sent on to development for us; we'll see.

Maybe you are looking for