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

Similar Messages

  • Unable to Declare a Temporary Variable in Calc Script

    We are using Hyperion System 9 BI+ Analytic Administration Services. 9.2.03.0.44
    I am trying to declare a temporary variable in a calculation script.
    We have found several guides and examples in the support documentation that give us a step by step instruction on how to 1.) declare the variable, then 2.) Assign a value.
    Example:
    /* Declare the variable */
    VAR TotalAllocDept;
    /* Baseline Fix */
    FIX ("FY10","Jan","BU Version_1", "Actual", "NoProd", "NoCust")
    /* Assign a value to the variable */
    TotalAllocDept = ("Alloc_HR"+"Alloc_IT"+"Alloc_FIN");
    ENDFIX
    /* Allocate overhead based on Total Alloc Dept Variable */
    FIX ("FY10","Jan","BU Version_1", "Actual", "NoProd", "NoCust")
    "Alloc_5xSS" = @ALLOCATE("Alloc_Overhead","Account", TotalAllocDept,, share);
    ENDFIX
    However, when we try to check the syntax, we are given various error messages such as:
    Error parsing FIX STATEMENT "invalid object type" and
    "Invalid member name" and
    Invalid Calc Script syntax.
    Can anyone suggest some techniques that we can try or alternative ways of entering the text to make it possible for us to use temporary variables?

    A variable must be declared within a calc member block and can only exist for the scope of that block.
    This would work (not that you would necessarily want it)"
    /* Allocate overhead based on Total Alloc Dept Variable */
    FIX ("FY10","Jan","BU Version_1", "Actual", "NoProd", "NoCust")
    "Alloc_5xSS"
    TotalAllocDept = ("Alloc_HR""Alloc_IT""Alloc_FIN");
    "Alloc_5xSS" = @ALLOCATE("Alloc_Overhead","Account", TotalAllocDept,, share);
    ENDFIX
    Regards,
    Cameron Lackpour

  • Using a business rule to set the substitution variables

    Hi All,
    I am having issues with setting the value of Substitution variable from a Business rule.
    Any help would be appreciated.
    Thanks,
    Shakil

    Thanks for your response, John.
    I am trying to set the Substitution variable through a data form on which the Business rule is attached.
    The admin guide for Planning states that "You can set substitution variables on the Essbase server,
    application, or database level. The same substitution variable can exist on multiple levels;
    Planning uses the first one it finds as it searches in this order: 1) database 2) application 3)
    server." So I believe that it should be possible.
    Regards,
    Shakil

  • Unable to execute the sdt request java_ee operation

    Hi Experts,
    We are performing EHP1 SPS 3 upgrade from SP 14 stack in one of our dual stack system. During Configuration phase, ABAP Configuration is successfully completed but when it is going to Java part it is showing below error:
    unable to execute the SDT request Java_EE operation configure on hostname avggstoh instance 02.
    Initialization os sync events failed See following messages:
    Preparing execution of modules INIT, EXTRACT, CONFIG, SHADOW_SECSTORE failed. See previous messages.
    Java upgrade tool is running, but not started by this request handler. Please stop tool and try again.
    We reset the installation so many times and tried again, but it always shows same error at same phase.
    Even we have restarted the whole host in case some port was used. But it also did not help. For me it seems to problem on this host as one other portal system on same host has this error during EHP upgrade.
    While same upgrade was finished successfully on other systems on different host.
    If anybody has some hint related to this problem, then please let me know. Your help will be highly appreciated.
    Thanks
    Sunny Pahuja

    hi,
    ya we resolved it successfully. in our case a lot of systems are installed on same host. And we found that our one of system was using the port 6240 which generally used by SAPehpi to connect to JSPM.
    We shutted down the system and tried to restart the upgrade and it finished successfully. And even we did not faced this problem again in any of systems installed on this host.
    So, please check all ports are free which are used by SAPehpi.
    Thanks
    Sunny

  • Unable to execute the SDT request Java_EE operation configure on hostname

    Hi Experts,
    We are performing EHP1 upgrade in one of our dual stack system. During Configuration phase, ABAP Configuration is successfully completed but when it is going to Java part it is showing below error:
    unable to execute the SDT request Java_EE operation configure on hostname avggstoh instance 02.
    Initialization os sync events failed See following messages:
    Preparing execution of modules INIT, EXTRACT, CONFIG, SHADOW_SECSTORE failed. See previous messages.
    Java upgrade tool is running, but not started by this request handler. Please stop tool and try again.
    We reset the installation so many times and tried again, but it always shows same error at same phase.
    Kindly help on this issue.
    Thanks
    HAri

    Hi harish,
    How did u manage to reset when u stop the installation in unix..
    i just encountered this error when i have stopped all the upgrade process & did not reeset properly.
    Please provide me steps ,,how did u manage to reset so that i can cross check & advice u on that
    regards,
    rahul.

  • Is it possible to increase the substitution variable value length?

    Hi,
    Is it possible to increase the substitution variable value length to higher value? I checked the SQL User Guide (http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/apa.htm) and it says that the limit is 240 characters.
    i just want to know any workaround for this issue?
    Thanks.

    Hi,
    Basically I have a script contains SQL statement (eg: select c,b,a.........from table a.... group by a,b and order by b c) and I have another shell script that will read the whole entire SQL statement
    In my shell script, i do it in this way.
    sqlplus -S test/[email protected] $SQL statement and i hit the following issue
    string beginning ""select c...." is too long. maximum size is 239 characters. {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Automating the Substitution Variables

    Hi All,
    I have created the substitution variables manually on the server, but when i have to change the variable every month i have to go back to the server change it every month. I mark it in my calender and when the reminder pops up, i go ahead and make changes once in a month. So for instance, imagine i have created the below variables this month and the next month i have to change it accordingly (Per9 to Per10, Per8 to Per9 & Per10 to Per11) by going back to the server.
    Is there a way for me automate this process via windows scheduler so that it changes automatically on the day i technically want the changes to reflect on the server.
    "Application" "Database" "Variable" "Value"
    KPIFIN KPIFIN CurMon Per9
    KPIFIN KPIFIN priorMon Per8
    KPIFIN KPIFIN NxtMon Per10
    Could any one of you help me in this issue?
    Thanks,

    You can use maxl and create a batch file and schedule it, this has been covered many times on here and a quick search will reveal lots of posts, for example have a read of :- Re: Update variables
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to SIMPLY use the %DIMENSION_TO_SET% variables into logic scripts

    hello,
    I'm using a prompt of type "COPYMOVE" or "COPYMOVEINPUT". In this type of prompt, there are 2 columns of dimension members list, one for defining the "source zone" and one for defining the "target zone" of logics.
    The left colum of the prompt (for source zone) feeds the variables %DIMENSION_SET% : %ACCOUNT_SET%, %ENTITY_SET%, %CATEGORY_SET%, etc...and these variables can be used in the logic scripts in *XDIM_MEMBERSET instructions for example.
    The right colum of the prompt feeds the variables %DIMENSION_TO_SET% : %ACCOUNT_TO_SET%, %ENTITY_TO_SET%, %CATEGORY_TO_SET%, etc...and I don't know how to SIMPLY use these variables in the logic scripts.
    I've found a tricky way to do that but I meet 2 problems :
    - it is complicated
    - the multi-info instruction (BEGININFO/ENDINFO) seems to be bugged as blank lines are added all the time in the code and sometimes I have to wait for minutes when I try to modifiy the package code through BPC for excel eData/modify package menu.
    So the question is how to SIMPLY get the %DIMENSION_TO_SET% variables into logic scripts and use them ? Thanks, R.
    Here is the tricky package code I use at this time (I build one function for each %DIMENSION_TO_SET% variable and I pass these functions to the logic) :
    PROMPT(COPYMOVE,,,,"ACCDETAIL,ACCOUNT,CATEGORY,DATASRC,ENTITY,TIME,YEARS")
    TASK(Execute formulas,USER,WS-WW\PlauchuR)
    TASK(Execute formulas,APPSET,US)
    TASK(Execute formulas,APP,SV)
    TASK(Execute formulas,SELECTION,D:\BPC\Data\WebFolders\US\SV\PrivatePublications\PlauchuR\TempFiles\FROM_1561_.TMP)
    TASK(Execute formulas,TOSELECTION,D:\BPC\Data\WebFolders\US\SV\PrivatePublications\PlauchuR\TempFiles\TO_1561_.TMP)
    BEGININFO(%FSS%)
    *FUNCTION TARGETACCDETAIL=%ACCDETAIL_TO_SET%
    *FUNCTION TARGETACCOUNT=%ACCOUNT_TO_SET%
    *FUNCTION TARGETCATEGORY=%CATEGORY_TO_SET%
    *FUNCTION TARGETDATASRC=%DATASRC_TO_SET%
    *FUNCTION TARGETENTITY=%ENTITY_TO_SET%
    *FUNCTION TARGETTIME=%TIME_TO_SET%
    *FUNCTION TARGETYEARS=%YEARS_TO_SET%
    ENDINFO
    TASK(Execute formulas,FORMULASCRIPT,%FSS%)
    TASK(Execute formulas,LOGICFILE,D:\BPC\Data\WebFolders\US\SV
    ..\AdminApp\SV\_TEST.Lgf)
    TASK(Execute formulas,RUNMODE,1)
    TASK(Execute formulas,LOGICMODE,1)
    Edited by: ALEXANDRE BEDIER on Jun 16, 2010 3:15 PM

    hello,
    finally I've discovered that there is no need of BEGININFO instruction.
    One can pass several functions to a logic with one FORMULASCRIPT task. The functions definitions have to be separated by instructions. See below :
    PROMPT(COPYMOVEINPUT,%FTARGETS%,,"select source and target zone for category and datasource.","ACCDETAIL,ACCOUNT,CATEGORY,DATASRC,ENTITY,TIME,YEARS")
    TASK(Execute formulas,FORMULASCRIPT,*FUNCTION TACCDETAIL=%ACCDETAIL_TO_SET% *FUNCTION TACCOUNT=%ACCOUNT_TO_SET% *FUNCTION TCATEGORY=%CATEGORY_TO_SET% *FUNCTION TDATASRC=%DATASRC_TO_SET% *FUNCTION TENTITY=%ENTITY_TO_SET% *FUNCTION TTIME=%TIME_TO_SET% *FUNCTION TYEARS=%YEARS_TO_SET%)
    TASK(Execute formulas,USER,%USER%)
    TASK(Execute formulas,APPSET,%APPSET%)
    TASK(Execute formulas,APP,%APP%)
    TASK(Execute formulas,SELECTION,%SELECTIONFILE%)
    TASK(Execute formulas,LOGICFILE,%APPPATH%\..\AdminApp\%APP%\_TEST.LGF)
    TASK(Execute formulas,RUNMODE,1)
    TASK(Execute formulas,LOGICMODE,1)
    Then one will be able to use the functions TACCDETAIL, TCATEGORY, TACCOUNT,... in the logic script.
    Edited by: ALEXANDRE BEDIER on Jun 24, 2010 10:31 AM
    Edited by: ALEXANDRE BEDIER on Jun 24, 2010 10:33 AM

  • 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

  • Using variables in Calc scripts and Business Rules

    I am sure there have been previous discussions about this, but can somebody let me know the benefits of using variables in Calc scripts and BRs?
    Thanks,
    A

    I have never used calc variables and after reading a study guide, which talked about them, I couldn't really understand the benefits.^^^I use variables all the time to make abstract difficult formulas. Below is an example.
    /*     Declare variables     */
    VAR varSalaryCosts ;
    VAR varProdOHLabXXXX ;
    VAR varXXXX ;
    A whole bunch of code here along with very limited FIX statement and then...
    "Salaried Labor"
         varSalaryCosts = "Salary Costs"->"No Department"->"No Category"->"Salaried" -
                             "Wage Bonus"->"No Department"->"No Category"->"Salaried" -
                             "YYYY Retention Bonus 40%"->"No Department"->"No Category"->"Salaried" -
                             "YYYY 60% Ret Bonus Accrual"->"No Department"->"No Category"->"Salaried" ;
         varProdOHLabXXXX = "Number of Employees"->"ZZZZDepartments"->"Codes"->"Salaried" +
                             "Number of Employees"->"Blah Departments"->"Codes"->"Salaried" +
                             "Number of Employees"->"Humph Departments"->"Codes"->"Salaried" +
                             "Number of Employees"->"TTTT"->"Codes"->"Salaried" ;
         "Salaried Labor" = varSalaryCosts * ("Number of Employees"->"Salaried" / varProdOHLabXXXX) ;
    )The last formula is how the formula was described to me by the business owner. I find it to be much easier to read than something like:
    "Salaried Labor" = ("Salary Costs"->"No Department"->"No Category"->"Salaried" -
                             "Wage Bonus"->"No Department"->"No Category"->"Salaried" -
                             "YYYY Retention Bonus 40%"->"No Department"->"No Category"->"Salaried" -
                             "YYYY 60% Ret Bonus Accrual"->"No Department"->"No Category"->"Salaried") *
                             ("Number of Employees"->"Salaried" /
                             ("Number of Employees"->"ZZZZDepartments"->"Codes"->"Salaried" +           
                             "Number of Employees"->"Blah Departments"->"Codes"->"Salaried" +
                             "Number of Employees"->"Humph Departments"->"Codes"->"Salaried" +     
                             "Number of Employees"->"TTTT"->"Codes"->"Salaried")) ;I have used ARRAY in a really-cool-but-alas-not-invented-by-me calc script to do currency conversion in Planning better than Planning does currency conversion. (How's that for a run-on sentence?) It is one of the six blog posts I am working on and I will finish it soon, I hope. I am sort of in thrash mode right now. It does have its uses and I'll try to remember to update this thread when I'm done.
    Regards,
    Cameron Lackpour

  • Create Report Layout (Apex 3.2) - How can I set the substitution variables?

    Hi,
    I created a "Report Query" under "Shared Components". I now want to work on the corresponding "report layout". I created a "Generic Columns (XSL-FO)". I read the following in the documentation:
    The following are valid substitution strings:
    #PAGE_HEADER#
    #PAGE_HEADERFONT_COLOR#
    #PAGE_HEADER_FONT_FAMILY#
    #PAGE_HEADER_FONT_SIZE#
    #PAGE_HEADER_FONT_WEIGHT#
    #PAGE_FOOTER#
    #PAGE_FOOTER_FONT_COLOR#
    #PAGE_FOOTER_FONT_FAMILY#
    #PAGE_FOOTER_FONT_SIZE#
    #PAGE_FOOTER_FONT_WEIGHT#
    #PAGE_WIDTH#
    #PAGE_HEIGHT#
    #HEADER_BG_COLOR#
    #HEADER_FONT_COLOR#
    #HEADER_FONT_FAMILY#
    #HEADER_FONT_SIZE#
    #HEADER_FONT_WEIGHT#
    #BODY_BG_COLOR#
    #BODY_FONT_COLOR#
    #BODY_FONT_FAMILY#
    #BODY_FONT_SIZE#
    #BODY_FONT_WEIGHT#
    #BORDER_WIDTH#
    Where can I set the values for these substitution variables in my "Report Layout"? Could someone give an example? I can't seem to find documentation on this.
    Thanks!
    Francois

    Thanks for the tip however I'm not trying to do this through the print tab, I'm calling the report using the following get_print_document in pl/sql code:
    l_report_blob := apex_util.get_print_document(
    p_application_id => l_application_id,
    p_report_layout_name => l_report,
    p_report_query_name => l_report,
    p_report_layout_type => l_output_format,
    p_document_format => l_output_format,
    p_print_server => null);
    Where could I set these substitution variables ? I'm simply calling a report query and layout created under Shared Components.
    Thanks
    Francois

  • Unable to use #A01# substitution variable in dynamic list

    Greetings...
    I am attempting to generate a dynamic list on the page.  The list will contain a flag indicating whether the list entry is actually hidden to the user or not.  If it is hidden to the user, then I want to apply a particular class to that list entry when rendered.
    The dynamic list has the following SQL:
    SELECT null lvl,
           menu.menu_nm label_value,
           q'!javascript:$s('P32_MASTER_MENU_ID', '!' ||
              menu.menu_id || q'!');!' target_value,
           null image,
           null image_attribute,
           null image_alt_attribute,
           case when menu.hidden = 'Y'
                  then 'class="hiddenNode"'
                  else null end attribute1
    from ( select 'N' hidden, vis.* from std_vw_apex_menu vis
            union all
           select 'Y' hidden, hid.* from std_vw_apex_menu_hidden hid ) menu
    where menu.menu_ty = 'MAINMENU'
    order by menu.sort_order
    I am then using a list template with the following as the "Current" list entry:
    <li class="active"><a href="#LINK#"><span #A01#>#TEXT#</span></a></li>
    ... and the following as the "Non-Current" list entry:
    <li><a href="#LINK#"><span #A01#>#TEXT#</span></a></li>
    The result I see in the rendered page however is that the substitution is not happening, as indicated in the following snippet :
    <li><a href="javascript:$s('P32_MASTER_MENU_ID', '18893191201');"><span #a01#="">Education</span></a></li>
    We are on ApEx 4.2.1.  What am I doing wrong as I've seen other threads indicate that it is possible for dynamic lists to use substitution variables in their list templates.
    Shane.

    I found the solution at Attribute substitution  not working in templates for dynamic lists.

  • Unable to execute the query after transpoting to Quality in BI7.0

    Hi Friends,
    We are facing problem while executing the query in BI 7.0 after transporting to Quality system.
    Whenever we are clicking on the query in Analyser after transporting to quality, it is throwing an error like "Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION" and " system error in program SAPLRRI2 and form DIM_FAC_SRDATE-02" and it is disconnecting from BI system.
    The transport went successfully to quality system.
    Please do the needful regarding the above errors.
    Thanks
    Rama

    Hello,
    I resolved the problem. I removed all the variables in the query did another "Query Check" and the error message was clearer.
    There were missing infobjects in the Multi-Provider.  When I fixed this the error was gone.
    Thanks.

  • Unable to map the record variables in SubProcess

    Hi All,
    We are using Oracle BPM 11g.In my requirement,we are using one database adapter for selecting the records from table,after that we are using the subprocess to loop the process record by record,we also created the busines data objects and process data objects for group of records(record array) and single record of table record type(table which I selected in database adapter),we maped those variables in subprocess,but it is showing error as the variables are not valid.we are unable to map the each array value to single record,Can any body help out from this problem.Please share any example related to above senario.
    Thanks in Advanced.
    Parker,
    Edited by: parker on Mar 28, 2011 12:31 AM

    Hi Ammad,
    Thanks for your Reply.Actually that block is based on a complex view(xxmz_sc_detail_v).So i am trying to insert the data into one custom table(xxmz_ship_confirm).so i have written following code in the KEY-COMMIT trigger:
    BEGIN
    LOOP
    IF :xxmz_detail.select_cbx = Y then
    INSERT INTO xxmz_ship_confirm
    values(:xxmz_detail...,....,...);
    END IF;
    EXIT WHEN :SYSTEM.LAST_RECORD = 'TRUE';
    NEXT_RECORD;
    END LOOP;
    END;
    APP_STANDARD.EVENT('KEY-COMMIT');
    execute_query;
    At this block if i make any changes after i press F4 It's prompting "Do u want to save the Changes?[YES/NO/CANCEL].
    If i press "YES" it displays message "1 Records applied and Saved.
    But the record is not saved in the xxmz_ship_confirm table.
    Thanks,

  • Current date should be populated when executing the hierachy variable.

    Hi bw Pro's
    I have a customer hi-erachy.For that hierachy i created a variable.
    The variable name is hieraachy date.
    the variable will be executed with  user entry/default value.
    the characteristic i used for thata variable is date.
    Now the requirement is the date should be populated with current date when ever i executed the variable automatically
    I thk i need to develop customer exit for this. I am not so comfort with coding.
    can anybody will help me on this issue. suggest me with logic or any further idea.
    any help is appreciated .
    Thanks,
    suri

    Hi Jasprit,
    Below is the erro when i added the code and i restrict the customer exit variable.
    ERRORS:
    INCORRECT FORMAT WITH KEY DATE FOR ELEMENT "43Z6K6807CL51WZ025Q1GPHER"(VALUE "&&" IS INVALID).
    Below is the diagnosis for the error.
    You are using a key date specification in the query. This can be either in the query key date directly or in the key date for a selection or presentation hierarchy. the element, in which this error was found, is called "43Z6KGHDHHJ5VYWJU8UEVBRRK". The invalid value is called "&&".
    System response
    The problem is reported with the check.
    Procedure
    Check the incorrect format in the specified element and correct it.
    Technical name (UID) of the element: "43Z6KGHDHHJ5VYWJU8UEVBRRK".
    I am checking the UID in rsa1> transprot connection>query element-->variable.But system is not showing any UID. Any idead on the above issue.
    Can you please help me in this.
    thanks
    suri

Maybe you are looking for