Substitution Variable on Forms

Hi All,
I can not use Substitution Variable which is set to range,for example &FcstPeriods (Apr:Dec) on the form.
In a form I need member1's data for Historical months (jan to Mar) and member2's data for FutureMonth's (apr to Dec).
Instead of updating form every month, I am intrested to know if there are any other options.
Thanks

John,
Sorry I am not following you.
set var1=Jan, var2 =Feb,.. upto Var12=Dec this month. And then next month what should I set the variables to?
The following are columns on form for this month
Member1     Member1     Member1Member2     Member2     Member2     Member2     Member2     Member2     Member2     Member2     Member2
&var1     &var2     *&var3*     &var4     &var5     &var6     &var7     &var8     &var9     &var10     &var11     &var12
and for next month
Member1     Member1     Member1     Member1Member2     Member2     Member2     Member2     Member2     Member2     Member2     Member2
&var1     &var7     &var3     *&var4*     &var5     &var6     &var7     &var8     &var9     &var10     &var11     &var12
Thanks

Similar Messages

  • Using Substitution Variable in Web forms

    Hi,
    I'm trying to use substitution variable in a planning web form &CurYr in the Column, after creating the form when I save it and try to open the form it says the substitution variable required for this calculation is undefined .Variable : &CurYr.It should be defined as I'm able to see it and select it for the column/row. Any kind of help is appreciated.
    Thanks
    Vinil

    You usually get this error message if you are trying to assign a value from a sub var to a member that does not exist.
    e.g. trying to put FY08 which is a year member against a period dimension
    or trying to use a sub var of FY09 which does not yet exist in the essbase, so say you added a new year in planning FY09 and used the sub var in the form but have not refreshed the database then it would fail because the year would not have been pushed down to essbase yet.
    or the value of the subvar does not match a member name exactly
    or using a sub var name that does not exist in essbase, e.g. using &nextYear but the sub var has not been created in essbase.
    You can definitely use subsitution variables in columns in the version you are using and prior version.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Multiple substitution Variable in Data Forms

    Hi,
    i have a problem with the creation of a hyperion Planning Data Form.
    I have created a Substituion Variable with "three" values delimited with a comma.
    I note that it works fine in the calculation script but i've a problem during the creation of a data form when I select the members by this substitution variable and it works fine if i set the Sub Var with only element.
    It's not possible to open the Data Form and The error is:
    "A substitution variable required for this calculation is undefined."
    Can someone help me for this error?
    Thanks
    Eugenio Gualtieri

    Hi,
    I don't think it is possible to put multiple members into a sub var for planning. It will treat it as a member e.g. if you had a subvar &years=FY08,FY09 it will be looking for a member named FY08,FY09.
    In your case you have to split into seperate subvars.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Web Forms using substitution variables with multiple values

    Hi,
    I am trying to select a substitution variable in a webform (Hyperion Planning 11.1.1.3) with multiple values in EAS, but is not working does somebody knows if this an expected behaviour.
    I allready try ex.
    &Months = "Jan","Feb", "Mar"
    &Months = Jan, Feb, Mar
    &Months = Jan:Mar
    Please let me know something, since as far as I recall in previous versions of Hyperion Planning this was possible.
    Kind Regards

    We experienced the same issue, our requirement was that for the first half of the year the substitution variable was = Oct and for the second part of the year Jan:Dec. We were lucky that for the second scenario we had a Total Year member as well (that at the bottom level is Jan:Dec). So on web form we picked Level0 descendants of the substitution variable. That worked fine but not the range.

  • Problems using substitution variable in Web Analysis

    Dear all,
    I have a Web Analysis report that I need to show a raking table with the current month.
    For that I create a variable in Essbase that is updated with that date (E.g.: varCurrentMonth).
    After that I use it as my substitution variable to filter my date dimension in a report data source (E.g.: Scr5, row: product, column: date dimension & measure):
    2008 (current month)
    Product $ qty.
    AAA 100 10
    BBB 90 7
    CCC 80 5
    The problem is that in our cube we need to use an alias in every dimension not to have duplicate members (E.g.: DT.Date, MS.Measure, PD.Product, etc). And when we use it we need to set up the variable in Essbase using that alias (E.g.: DT.Feb/05/08). And if we use that variable as a substitution variable in the report data source the label displayed is the DT.2008 and not 2008 as expected.
    Does anybody have an idea how to solve that?
    Many thanks,
    Thiago Gabriel

    You usually get this error message if you are trying to assign a value from a sub var to a member that does not exist.
    e.g. trying to put FY08 which is a year member against a period dimension
    or trying to use a sub var of FY09 which does not yet exist in the essbase, so say you added a new year in planning FY09 and used the sub var in the form but have not refreshed the database then it would fail because the year would not have been pushed down to essbase yet.
    or the value of the subvar does not match a member name exactly
    or using a sub var name that does not exist in essbase, e.g. using &nextYear but the sub var has not been created in essbase.
    You can definitely use subsitution variables in columns in the version you are using and prior version.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • 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

  • How to pass parameter [bind variable or substitution variable] to a view?

    How can I pass a parameter [bind variable or substitution variable] to a view in Oracle?
    Some will tell me that this is not necessary, that I can only pass the parameter when I query the view, but I found some case where this cause performance issue. In long view where I use subquery factoring [WITH], it's necessary to pass the parameter many time through different subqueries and not only to the resulting view.
    In other database (SQL Server, Access), we can pass parameters through query. I can't find how to do that in Oracle. Can some one tell me what is the approach suggest by Oracle on that subject?
    Thank you in advance,
    MB
    What I can do:
    CREATE VIEW "HR"."EMP_NAME" ("FIRST_NAME", "LAST_NAME")
    AS
    SELECT FIRST_NAME, LAST_NAME FROM EMPLOYEES;
    What I want to do:
    CREATE VIEW "HR"."EMP_NAME" ("FIRST_NAME", "LAST_NAME")(prmEMP_ID)
    AS
    SELECT FIRST_NAME, LAST_NAME FROM EMPLOYEES WHERE EMPLOYEE_ID IN (:prmEMP_ID);

    Blais wrote:
    How can I pass a parameter [bind variable or substitution variable] to a view in Oracle?
    Some will tell me that this is not necessary, that I can only pass the parameter when I query the view, but I found some case where this cause performance issue. In long view where I use subquery factoring [WITH], it's necessary to pass the parameter many time through different subqueries and not only to the resulting view.Yes, there can be performance issues. Views are a form of dynamic SQL and it is hard to predict how they will perform later.
    You can't pass parameters to a view. They are not functions. The mechanism to put the values in is what you mentioned, passing the parameter when you query the view.
    In other database (SQL Server, Access), we can pass parameters through query. I can't find how to do that in Oracle. Can some one tell me what is the approach suggest by Oracle on that subject? This functionality is not supported.
    What I can do:
    CREATE VIEW "HR"."EMP_NAME" ("FIRST_NAME", "LAST_NAME")
    AS
    SELECT FIRST_NAME, LAST_NAME FROM EMPLOYEES;
    What I want to do:
    CREATE VIEW "HR"."EMP_NAME" ("FIRST_NAME", "LAST_NAME")(prmEMP_ID)
    AS
    SELECT FIRST_NAME, LAST_NAME FROM EMPLOYEES WHERE EMPLOYEE_ID IN (:prmEMP_ID);Include the bind value when you use the view in a SELECT. The value will be applied to the view at run-time, somthing like
    CREATE  VIEW "HR"."EMP_NAME_VW" ("FIRST_NAME", "LAST_NAME","EMPLOYEE_ID")(prmEMP_ID)
    AS  SELECT FIRST_NAME, LAST_NAME FROM EMPLOYEES;
    select *
      from emp_name_vw
      WHERE EMPLOYEE_ID IN (:prmEMP_ID);To use EMPLOYEE_ID I added it to your list of columns in the view so it can be referenced in the WHERE clause. If you don't want to see that value don't select it from the view.

  • && Substitution Variable in Package Body using SQL Developer

    Hi Folks,
    I've moved over to working to in SQL Developer (its a very early version - 1.0.0) from a combination of SQL*Plus command line and a text editor. I'm trying to get this upgrgraded, but I think the question will be the same with a newer version anyway.
    I am creating a package, and in the package body I have some &&my_var substitutions that I was previoulsy prompted for when calling the .sql from the command line SQL*Plus. I need this as the variable needs to be different for the development and live environment.
    When working in SQL Developer, I can load the package body from Connection->Packages->My Package->My Package Body, and click the edit button to edit the code, however, when I click the Compile button in the top of the window my code error's because of the substituion variablle. An example is:
    CREATE OR REPLACE
    PACKAGE BODY MY_PACKAGE AS
    PROCEDURE MY_PROCEDURE
    BEGIN
    my_variable := &&my_function_from_live_or_dev_database
    END MY_PROCEDURE
    Can anyone tell me if there is a way of defining a compiler variable within the IDE widow while editing a package body stored in the database, without manually copying the code into the Worksheet and running it as a script?
    Thanks,
    AM

    953104 wrote:
    Thanks for the reply, the code was just quickly typed to show the sort of thing I am doing, it wasn't actual code form my project.
    I've come from a C background so what I would have done would be create a #define and changed to when on live or development - or passed the variable to the build environment from the IDE or makefiles and the change would have reflected through my whole project.
    What I want to be able to do is alter a definition of some sort that will reflect throughout my whole project, so I can change it in one location to minimize code changes before going live. I don't really want to be prompted at all. On one system it needs to be DEV_10 and on the other it needs to be LIVE_10.Is there a possibility to elimiante this difference at all?
    For example if DEV_10 is the oracle schemauser on the development database and LIVE_10 would be the one on the production system. THen you could just remove all references to the schema from your code.
    IF you are already connected to this schema, then you don't need to specify the schema name anymore.
    example
    instead of
    create or replace package dev_10.myPackage
    ...you can simply use
    create or replace package myPackage
    ...If needed you can alter the cuurently connected user just before you run the script.
    alter session set current_schema = LIVE10;
    create or replace package myPackage
    ...This would be a different working window in the developer (script worksheet, instead of direct pl/sql editor).
    Substitution variables are allowed there.

  • Multiple members in a substitution variable

    <p>Hi,</p><p> </p><p>I use substitution variables in Planning forms to choose wichyear to display.  I would like to have FY06, FY07 andFY08 in the same variable.  I just tried to add it in AAS(separeted by commas) and there is no problems, but when I open myPlanning form, I got this error : "</p><center><table style=" margin-bottom: 2px; margin-right: 75px; margin-left: 75px; margin-top: 2px;" border="0" id="bannerMsg" cellspacing="0"cellpadding="0"><tr><td align="left" valign="center" class="verysmalltext">Asubstitution variable required for this calculation is undefined.Variable: RFFcstYears</td><td style=" padding-top: 5px; padding-bottom: 0px; padding-left: 5px; padding-right: 0px;" valign="center"><img title="Close" src= "http://malbicl01a:8300/HyperionPlanning/ui_themes/tadpole/images_global/task_tabs_close_sel.gif" onclick="hideBannerMessage()"></td></tr></table></center><p>If I change it for FY06 only, all works fine.</p><p> </p><p>I don't want to use 3 variables as some times we will need only2 years (it's a rolling forecast over a 18 monhs period).</p><p> </p><p>Any ideas how to set the variable ?</p><p> </p><p>Thanks</p>

    Hi,
    You cannot provide multiple values to single substitution variable. If you want that a variable can contain multiple values then you can use User Variable.
    Request you to please look into the below links
    for Substitution variable - http://docs.oracle.com/cd/E17236_01/epm.1112/hp_admin/frameset.htm?ch07s05.html
    For user variable- http://docs.oracle.com/cd/E17236_01/epm.1112/hp_admin/frameset.htm?ch07s05.html
    Hope this helps.
    Regards
    SST.....
    Edited by: ss1988 on Mar 9, 2013 11:14 PM

  • Substitution variable not working

    I have used a substitution variable for year dimension in my forms but when i changed its value from EAS console and refreshed the database it did not changed the value in the forms on which substitution variable was being used. Am i missing any step in between? Kindly guide me how to resolve this issue.
    Regards,

    Substitution variables are cached and they should be refreshed from essbase after 5 minutes by default, more information at :- http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/ch07s05.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Changing values of substitution variables on the basis of selection in Page

    Hi All,
    I am developing a classic planning application using hyperion 11.1.2.1. All of my data forms are based on substitution variables i.e. I define three variables:
    sv_CurrYear = FY12
    sv_CurrYearMinus1 = FY11
    sv_CurrYearMinus2 = FY10
    and i am using these 3 variables in columns section of my data form i.e First Column contains sv_CurrYearMinus2, second column contains sv_CurrYearMinus1 and third column contains sv_CurrYearMinus2.
    Now my understanding is that every year system admin will update the values of these variable and data form updated automatically.
    But my client want to have such a mechanism through which he would be able to see the data of previous years. i.e He want to have Year dimension in Page section, so that he will select his desired year from drop down and as a result form will display the desired year's data. Now if i have only one column(i.e curr year) in my data form then i could easily do that but since i have three different year's so it didn't seems easy to me.
    One idea that originate in my mind is that i add a custom dim by the name of Custom year and its member would be like this CY10, CY11, CY12 ... and so on, then i will place this dimension in Page so that user will select his desired year and when he presses the "Go" button then some sort of script executed which change the values of my Substitution Variables. But i don't know whether its possible or not? if yes, then how or any other alternate idea?

    I dont know if it is possible and make sense in your application, but you could create a new Custom Dimension with the members "Current Year" "Previous Year" etc. All values of the current plan period would be saved to "Current Year" and if you change to next plan period (FY+1) you need to copy the data from FY->"Current Year" to FY+1->"Previous Year" and so on.
    Then you would be able to put the Financial Year Dimension in Page and the Custom Dimension in Columns.
    Disadvantage: your cube data would grow faster.
    Kind regards
    André

  • Substitution Variables on webforms

    Can you set a substitution variable to mutliple members to be used on a webform.
    IE. MultipeYrs = 2007,2008,2009
    It works for a BR but not in the webform. Any suggestions would be appreciated.
    Thanks
    Tom

    Easiest workaround for this one is to have a subvar for each year, then use subvars in the forms. Forecasting system requirement can be anything from 1 to 5 years, i always have Plan_Year1 / 2 / 3 / 4 / 5 depending on requirement, they can still be automatically updated and keep the forms more dynamic.

  • Adding Formulas to Substitution Variables

    Hi All,
    I am using EPM system 11. I have a classic planning application . On my dataform , I have Year in the Point Of View and Period on Column.
    I need to show Current Year,Next Year and Current Month (derived from system date) on the form.
    For achieving this I created three substitution variable in EAS *&CurYear,&NextYear,&CurMonth.*
    Say e.g if the System date is *10th October 2009* then CurYear would show FY09 , NextYear would show FY10 and CurMonth would show Oct.
    For the time being , I hardcoded these values..but I am trying to get through a way of deriving the above values from system date
    Can somebody please advice how i can proceed to get the variables to work ....
    Kind Regards.
    Mirka

    Hi,
    How about something like
    SET year=FY%DATE:~8,2%
    SET month=%DATE:~3,2%
    *:: Remove leading zero if it exists...*
    set /a month=1%month% - 100
    set monthstring=Jan@Feb@Mar@Apr@May@Jun@Jul@Aug@Sep@Oct@Nov@Dec
    for /f "tokens=%month% delims=@" %%j in ('echo.%monthstring%') do (
    set month=%%j
    echo %month%
    echo %year%
    Say the year is 2009, this would set year=FY09
    And month should be converted to a month name
    ok?
    Cheers
    John
    http://john-goodwin.blogspot.com/

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

  • Can we use Substitution variables in MAXL?

    Hi,
    Can we use substitution variables in MAXL script?
    I have to run this MAXL command for clearing a slice of ASO cube on V11.1.1.3.
    alter database Apname.DBname clear data in region 'CrossJoin({[2009]},{[Dec]})';
    I am planning to use Current_year & Current_month variables instead of hardcoding 2009 & Dec as I have to use this everymonth to clear the current months data.
    If it is allowed, what is the syntax?
    Is there any alternative apart from substitution variables?
    Appreciate your thoughts.
    Thanks,
    -Ethan.

    You would just use ampersand and the variable name instead of the hard coding e.g. &yearVar &periodVar.
    Not tried it on aso clears but in theory it should work as ...'CrossJoin({&yearVar},{&periodVar})';
    just change yearVar and periodVar for your substitution variable names.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • Dvd doesn't load any disk

    hi that's my problem: i tried to load a dvd today. nothing works. the disk doens't load: it stays half inside half outside, I can not put it inside, like if a disk was already indise, but there is not any one. can some one help me please? thanks a.

  • Has Lr 5 fixed the Export memory leak?

    Has anyone confirmed that the memory leak in Lr 5 Beta when exporting images has been fixed in the Lr 5 release? In the Beta all 16Gb of my machine's RAM could be quickly consumed if I exported a large number of images. I could release the memory by

  • Webdynpro Test Service error RABAX_STATE

    Hello, We just migrated from 4.6c to ECC 6.0 (SAP_BASIS SP12) and as requested the ITS has been activated and configured. All active services are working fine includeing default_host/sap/bc/gui/sap/its/webgui but everything under /default_host/sap/bc

  • Agentry :: Listview :: Single Click issue

    Hello Everyone, I'm Working with SAP Work Manger v6.0 and testing upon Android Client v6.1.4.179. In one of the screen of Standard Work manager app, we have requirement where in we need to show data in Tabular Format. For that I have used ListView ed

  • Euipment or Function location field Mandatory in Work Order

    Hi How to make either Equipment or Function location ( either of the one) mandatory in Work Order. Thanks ini advance Thiyagarajan