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.

Similar Messages

  • Using substitution variable in sql -- Issue

    Hello All
    I am trying to do a sql operation from command prompt of my system and that sql requires substitution variable which i am passing it but when i pass the variable ( there are two) the first one assign as " \c" and second gets both what i am passing.
    I am not sure what exactly happening here, i have done this on AIX but here its not working any ideas?
    System : uname -a
    Linux ## 2.6.18-128.1.1.el5 #1 SMP Mon Jan 26 13:58:24 EST 2009 x86_64 x86_64 x86_64 GNU/Linux

    AIX and Linux are not the same. An output of "\c" may indicate a compatibility issue of your shell script with your current command line interpreter (shell). A \c can be used to suppress a newline with the echo command. Bash understands both formats echo -n and echo \c, but other shells like Ksh don't. Try to run your script under a Bash, which is the default under Linux. If the problem persists you will need to post your script for any further analysis.

  • Synchronize substitution variables values between Essbase and Planning

    Hello,
    In EPM version 11.1.2.1 (but we noticed the problem also in previous EPM versions) when we set the value of a substitution variable in Essbase, the value is is not immediately updated in Planning: for some time we see the old value. The value in Planning remains unchanged even in we log off or exit Planning and log on again.
    Instead if we restart the Planning service, the value is immediately updated
    Since we would like to use the Essbase substitution variables to manage some selections in Planning Data Entru Forms, is there any way to force a synchronization, or to increase the frequence of synchronizations between Essbase and Planning?
    Regards
    Francesco Quaranta

    Have a look at setting the planning property SUBST_VAR_CACHE_LIFETIME
    http://docs.oracle.com/cd/E17236_01/epm.1112/hp_admin/properts.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Issue with substitution variable with @MDSHIFT in BR in Calc Manager

    Hi Experts,
    We have a BR in EAS which is working fine.
    and exported to Calcmanager, now while validation it is giving error "@BaseScenario" is not found.
    the code is
    @MDSHIFT("LFLSalesIncVAT_GBP_C_DHP"->&BaseScenario->"Final"->"CD_FinalPlanPL",-1,"Year",,1,"Period",);
    if i hard code it like @MDSHIFT("LFLSalesIncVAT_GBP_C_DHP"->"P7PP"->"Final"->"CD_FinalPlanPL",-1,"Year",,1,"Period",); working fine.
    is there any limitation with calc manger and substitution variables?
    Thanks
    GP

    There seems to be many issues with validations in calc manager, does the rule run if you dont validate.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • 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 update issue

    Hi,
    I am using Essbase 9.2.0.3. I have noticed a problem afetr updating Substitution Variable.
    The calculation script which uses the Substitution Variable works well after updating the variable.
    But the Member formula doesn't work, unless we restart the application .The member formula is in Period dimension to calculate QTD/YTD.
    Formula is: QTD=@MEMBER(@CONCATENATE (QTD,&ActEnd));
    Have anyone come across this? why the outline formula is not taking the updated value fronm Substitution Variable?
    Thanks,
    Tarini

    Hi,
    I reported this issue to the support and it was classified as: Bug 13072601: USING SUBSTITUTION VARIABLES IN FORMULAS OF OUTLINE MEMBERS.
    But as support didn't see this behavior as unusual or as a bug I went deeper and requested for enhancement. I asked them if it is possible to introduce a config setting which would switch on/off automatic updates of subs vars in outline as well as in partitions.
    Status is: Approved for Future Release, but there is no fixed version available yet.
    The ER# is: 13107378: AN ESSBASE CONFIG SETTING WHICH MAY SWITCH ON/OFF AUTOMATIC UPDATES OF SUBSVARIA
    So anyone interested can requested them for status.
    Regards,
    Adam

  • 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

  • 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.

  • Issue with rule file and Substitution variable

    Hi All,
    I am using Essbase 9.3.3
    I created a rule file with 5 dimensions in which 3 dimensions I defined in columns and two dimensions I gave it as header in data column with comma seperated.
    Among those two dimension members, one is an account member with "/" in it within quotes and other is a substitution variable.
    The member assigned for that Substitution variable has a space in between and is updated within quotes in variables list.
    When I try loading data, I am getting an error saying that two members are not valid.
    Eg: "Tax/Unit",&Scenario is not valid.
    &Scenario - "Budget Q1"
    Can some one please suggest on the issue.
    I am not facing any problem in calc scripts or reports scripts using the substition variable.
    Thanks in advance

    Mark,
    Modifying the default files is dangerous and ill advised. You could always just add a style sheet (inline or linked) to your application that overrides that one setting while you wait on the permanent fix.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

  • Substitution variable Issue

    How to call substitution variable from calculation script?

    Use ampersand and variable name &varname
    e.g FIX (&currMonth)
    where currMonth is your variable
    Cheers
    John
    http://john-goodwin.blogspot.com/
    Edited by: JohnGoodwin on Mar 22, 2010 11:02 AM

  • Substitution variables in a calculation - Analyzer

    I have a report set up in Analyzer and I am using substitution variables. the first column is the current month (&curr_mon) and the secomd column is the prior month (&prior_mon). I want to add a third column that would subtract the first two and give me a variance. but when I add a calculation it doesn't give me the substitution variables to pick from, it gives me the actual value such as 'July'. therefore, the calculation will not dynamically change each month. Any ideas??

    Put the variance calc in your outline. We have several such calcs, such as "$ Var to PM" and "% Var to PM", that we update every month in the outline. The only other way to do it is to update your alias to say "Current Month", "Prior Month", etc., so the names remain constant and the calc can be done in Analyzer.

  • 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.

  • Substitution Variable Issue while exporting from Essbase.sec file

    Hello All,
    I have an unusually distinct problem.
    I have 2 environments (Development and Production) where each environment has a seperate server with Essbase installed in it.
    When I tried to get information of the Substitution variables using the 'export security_file to data_file' command through MaxL and then checked the output file in Development, it showed me the right number of substitution variables and their values.
    But when I did he same with my Production environment it gives exactly 1 less no of substitution variables in the export file, specifically the last substitution variable that was updated through the Essbase Administration Console.
    I guess it is not updating the Essbase.sec file with the last updated Substitution variable. But I can't understand why since the same functionality works in development but not in production.
    Thank You.

    Hi all,
    In addition, I exported the Essbase.sec file after a long time after changing the Substitution variable and now it does show the updated substitution variable.
    I feel that Essbase does refresh the Essbase.sec file but after a long time. Is there some setting within Essbase that is done which refreshes the artifact files after a while. Or is this a setting within the system in which Essbase has been installed (in my case Linux).
    Also the Substitution Variable that has been created is for (all apps) and (all dbs). Is this the reason why this is not working because I tried changing some other Substitution variable which is for a specific app and a specific dbs and it worked fine.
    Thank You.
    Edited by: 923021 on 27 Mar, 2012 6:15 AM

  • Unable to execute the substitution variable in calc scripts in essbase 11.1

    Unable to execute the substitution variable in calc scripts in essbase 11.1.3
    FIX(&CURRVERSION,COLA)
    Unit=units*Listprice;
    dataexport "file" "," "E:\NEW.TXT";
    ENDFIX
    Error: 1200471 Error parsing formula for FIX STATEMENT (line 1): expression expected before [)]
    This is error it throws when executing the calculation script
    I wonder whether its a problem with substitution variable i want to know wat went wrong inside the fix statement
    I have created substitution variable use maxl
    Installed the essbase in custom manner and standlone mode nt register with the shared services ,
    Is this problem with the custom installation of essbase
    Regards
    shenna

    If you remove the substitution variable and replace it with the actual value (whatever that is), does the code work? That will tell you if the issue is around the substitution variable or not.
    John -- First you race Glenn, then you race me -- and you always win. :)
    Regards,
    Cameron Lackpour

  • Substitution Variable in DataForm

    Hi All,
    I am using EPM 11.1.1.1.0.
    I am trying to define a member formula for a scenario.
    The formula has a substitution variable in it.When i validate the formula it gives me the following error:
    *Substitution variable [CurMonth] doesn't exist.*+
    Is it that the use of substitution variables is not supported in Member Formulas or am i missing a step to help it recognize the variable...
    Please advice.
    Regards
    Alicia

    Is this an EPMA app, or a Classic app? Is the validation failing in the dimension library of EPMA?
    If it's an EPMA app, variables like this are now maintained in Calc Manager. Go to "Administer", "Calculation Manager". Then select the menu options "Tools", "Variables". Expand your Planning application and you'll see any variables defined for that application listed. If you right-click on the app or database, you can select "new" to create a new variable. Select a type of "Essbase" to create a substitution variable. You'll need to deploy the app before the variable will show up in Essbase.
    Hope this helps,
    - Jake

Maybe you are looking for