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é

Similar Messages

  • [svn] 4267: Change path to Assets.swf in eclipse . project file from full hardcoded path to use the FLEX_SDK variable as the base path .

    Revision: 4267
    Author: [email protected]
    Date: 2008-12-09 10:32:36 -0800 (Tue, 09 Dec 2008)
    Log Message:
    Change path to Assets.swf in eclipse .project file from full hardcoded path to use the FLEX_SDK variable as the base path. There is still an issue with Assets.swf not getting referenced correctly. If you import the framework project from Blazeds/trunk into Eclipse and get an error related to Assets.swf or that says "Unable to export SWC oem" for the time being try right clicking on the framwork project in Eclipse and selecting properties. Then in the properties panel, select Flex Library Build Path and then the Assets tab. On the Assets tab, check the check box next to Assets.swf and click Ok. This usually fixes the reference for me.
    Modified Paths:
    blazeds/trunk/development/eclipse/projects/flex/3.0/framework/.project

    Revision: 4267
    Author: [email protected]
    Date: 2008-12-09 10:32:36 -0800 (Tue, 09 Dec 2008)
    Log Message:
    Change path to Assets.swf in eclipse .project file from full hardcoded path to use the FLEX_SDK variable as the base path. There is still an issue with Assets.swf not getting referenced correctly. If you import the framework project from Blazeds/trunk into Eclipse and get an error related to Assets.swf or that says "Unable to export SWC oem" for the time being try right clicking on the framwork project in Eclipse and selecting properties. Then in the properties panel, select Flex Library Build Path and then the Assets tab. On the Assets tab, check the check box next to Assets.swf and click Ok. This usually fixes the reference for me.
    Modified Paths:
    blazeds/trunk/development/eclipse/projects/flex/3.0/framework/.project

  • Multiple values to Substitution variable in AAS

    Hi,
    Is that valid to assign multiple values to substitution variable in essbase.For example Curmth(Substitution Variable) is it possible to assing Jan, feb etc.
    Thanks

    Yes in multiple ways depending on the useage.
    For instance, you could have currmth in multiple database with different values
    Sample.basic Currmth= Jan
    SampASO.basic Currmth = Feb
    Or in a single database you could have
    Sample.basic Currmth = "Jan","Feb","Mar"
    The above would work in a calc script bout would not work in an excel retrieve.
    You can also use variables for other things For instance, you could have a vairable called settings where
    settings = set updatecalc off; set msg summary; set aggmssg off
    and put this in the top of your calc scripts so you don't have to repeat it every time.

  • Substitution variable in the functions

    Can we call substitution variable in the functions in essbase calc scripts
    for example fix (@IRSIBLINGS(&mois_en_cours_reprev));

    Sould be just fine. Does it validate? If not, make sure the variable is spelled correctly in EAS (always start with the easy solution first :) ).

  • How do you change values after logging data to the citadel database (DSC)?

    How would one go about changing values that already exist in the citadel database.  So say I were logging a numeric value with a timestamp for 1 year and then wanted to change a few values for the month of June because my sensor wasn't working at that time.  How could I do this?  Is it possible without re-creating the whole database over?
    Thanks
    Matt

    mattyk wrote:
    Hey Ben,
    Thanks for the quick response.  I called NI and asked about this because this would be a big show stopper for me.  Their applications engineer said that the best way to change previous data would be to read in the trace that you want to change, modify it and save it as a new trace.  I am also looking into SQL querying.  I was able to connect to the citadel database by setting up a ODBC data source and using the database connectivity toolkit to query the database.  This worked.  Now I am trying to come up with a statement in SQL to change previously saved data.  I'll Keep you posted.
    Thanks
    Matt
    That reinforces my suspicions.
    I have an app running for about 8 years now that keeps a paper trail to enusr ethe cartdiges used in respirators (operated NIOSH National Institute of Occupational Safety and Health par teh CDC) that use DSC to enusre nobody can ever falsify those records. If they can be hacked I my customer and anyone using a respirator with a NIOSH sticker on the side of it, want to know.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Can we change the value of a variable in the driver program from sapscript?

    Hello Experts,
    I am currently developing a form wherein I need to change the value of a variable defined in the standard
    driver program through the sapscript form. Unfortunately, I cannot customize this standard program since this is used by many other
    subsidiaries. So, is there anyway that I can change a variable defined in the driver program via sapscript?
    I tried to use a PERFORM to change its value but it is not working.
    I hope you can help me guys. Thank you and take care!

    SAP SCRIPT:
    /: PERFORM GET_ATTNDEE_INFO IN PROGRAM ZHR_TRNG
    /: USING &PPVAR-EOBJD&
    /: CHANGING &ATTND&
    /: ENDPERFORM
    Executable Prog.:
    REPORT ZHR_TRNG.
    FORM GET_ATTNDEE_INFO TABLES IN_PAR STRUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA : LOC_CODE(8),
    WF_NAME LIKE PA0001-ENAME, "----Location Code
    WF_SOBID LIKE HRP1001-SOBID. "----Business Event Code
    DATA: BEGIN OF ITAB_ECODE OCCURS 0,
    ECODE(8),
    END OF ITAB_ECODE.
    DATA: NAME1 TYPE STRING.
    READ TABLE IN_PAR INDEX 1.
    LOC_CODE = IN_PAR-VALUE.
    SELECT SOBID FROM HRP1001 INTO WF_SOBID
    WHERE OBJID = LOC_CODE AND OTYPE ='E' AND PLVAR = '01' AND SCLAS = 'P'.
    APPEND WF_SOBID TO ITAB_ECODE .
    ENDSELECT.
    IF SY-SUBRC = 0.
    LOOP AT ITAB_ECODE.
    SELECT SINGLE ENAME FROM PA0001 INTO WF_NAME
    WHERE PERNR = ITAB_ECODE-ECODE ." AND ENDDA >= '31.12.9999' .
    CONCATENATE 'Mr ' WF_NAME ',' NAME1 INTO NAME1.
    IF SY-SUBRC = 0 .
    OUT_PAR-NAME = 'ATTND'.
    OUT_PAR-VALUE = NAME1.
    APPEND OUT_PAR.
    ENDIF.
    ENDLOOP.
    ENDIF.
    ENDFORM. "GET_USR_INFO

  • How to change value of user variable with change in Page View Dropdown

    Hi All,
    I have a classic planning application, on one of my dataform i put members of Dim_A in Page view and on row view i filter members of Dim_B on the basis of User variable i.e row contains the @Childern(&My_User_Variable). I have following members in both Dimensions:
    Dim_A
    ___A_Mem1
    ___A_Mem2
    ___A_Mem3
    Dim_B
    ___B_Mem1
    ______B_Mem1_1
    ______B_Mem1_2
    ______B_Mem1_3
    ___B_Mem2
    ______B_Mem2_1
    ______B_Mem2_2
    ______B_Mem2_3
    ___B_Mem3
    ______B_Mem3_1
    ______B_Mem3_2
    ______B_Mem3_3
    Now is there any way through which the value of My_User_Variable changes automatically when user select a member of Dim_A in Page View drop down, so that when user press go button then my rows would also be re filtered according to new value of User Variable.
    Right now user first make change in User Variable then select its matching member from Dim_A and then rows are filtered, so i want my user to only make selection in Drop down and press go rest all would be done automatically.

    Hi,
    There was a little controversial post on a similar question:
    Re: Hyperion Planning Data Form
    I love controversy!
    Cheers,
    Alp

  • Use varialbe as a value in substitution variable

    Hi there,I incrementaly update my cube day by day.And I set a user variable in autoexec.bat to get the current date,eg '2003-06-23'.Could I use such variable as a variable's value in substition variable ?My platform is 6.5 on w2k.Regards,luau

    You can use that in a MAXL script to set the substitution variable.the MAXL script would be something like:Alter database $4 drop variable $5;alter database $4 add variable $5 $7 ;where: $4 is the app.cub $5 is the substitution variable name $7 is the value of the subs. variableRich Sullivan - Beacon Analytics

  • How to change value of instance variable and local variable at run time?

    As we can change value at run time using debug mode of Eclipse. I want to do this by using a standalone prgram from where I can change the value of a variable at runtime.
    Suppose I have a class, say employee like -
    class employee {
    public String name;
    employee(String name){
    this.name = name;
    public int showSalary(){
    int salary = 10000;
    return salary;
    public String showName()
    return name;
    i want to change the value of instance variable "name" and local variable "salary" from a stand alone program?
    My standalone program will not use employee class; i mean not creating any instance or extending it. This is being used by any other calss in project.
    Can someone tell me how to change these value?
    Please help
    Regards,
    Sujeet Sharma

    This is the tutorial You should interest in. According to 'name' field of the class, it's value can be change with reflection. I'm not sure if local variable ('salary') can be changed - rather not.

  • How to send a TextBox value to a variable in the parent form in C#?

    I have an aboutBox control ("settings") that has a textBox in it. When the user presses the save button on this settings I want it to save the string from the textBox, pass it to a variable in the main form, close the settings box and then press
    a button in the main form.
    How would this be done?
    Thank you!

    what do u mean by "text saved in the textbox"?
    if you mean to set the value into the Textbox in the form2
    private void Form2_Loaded(object sender, EventArgs e)
    this.TextBox1.Text =valueFromForm2;
    2) When you click the save button on form2 it is already calling the delegate what do u mean by firing event?

  • Is an assigned value to an variable in the domain of the data element

    Hi
    how can I check if the value, which I want to assign to an variable is in the domain of the data element of that variable.
    Example:
    I defined a data element myDataElement. The Elementary Type of myDataElement is the Domain myDomain.
    myDomain has the Format: Char with Length 1 and the fixed values 'A' and 'B'.
    The following code works, but IMHO should not:
    DATA testVar TYPE myDomain.
    testVar = 'Foo'.
    The value of testVar is now: 'F' .
    As 'F' is not in the fixed values, this is a behaviour which I don't want. How can I prevent this from not happening (without using a bunch of IFs)?
    In such a case, it were nice if an exception were raised.
    Regards
    Gilles

    Thanks Gungor.
    I tried it with DDUT_DOMVALUES_GET. Works so far. I think I will write some FMs on my own, like this one:
    FUNCTION z_valueisindomain.
    *"*"Local Interface:
    *"  IMPORTING
    *"     REFERENCE(IV_DOMAINNAME) TYPE  DDOBJNAME
    *"     REFERENCE(IV_EVALUATING_VALUE) TYPE  ANY
    *"  EXPORTING
    *"     REFERENCE(EV_DESTINATION) TYPE  ANY
    *"  EXCEPTIONS
    *"      ILLEGAL_INPUT
    *"      NOT_IN_DOMAIN
      DATA domainvalues TYPE TABLE OF dd07v.
      CALL FUNCTION 'DDUT_DOMVALUES_GET'
        EXPORTING
          name          = iv_domainname
        TABLES
          dd07v_tab     = domainvalues
        EXCEPTIONS
          illegal_input = 1
          OTHERS        = 2.
      IF sy-subrc <> 0.
        RAISE illegal_input.
      ENDIF.
      DATA oneline TYPE dd07v.
      LOOP AT domainvalues INTO oneline.
        IF oneline-domvalue_l EQ iv_evaluating_value.
          ev_destination = iv_evaluating_value.
          EXIT.
        ENDIF.
      ENDLOOP.
      IF ev_destination IS INITIAL.
        RAISE not_in_domain.
      ENDIF.
    ENDFUNCTION.
    I'm pretty new to ABAP, so this FM might not be very elegant.
    Regards
    Gilles

  • Display value of condition variable in the output

    Hi
    I have written a BEX query for sales analysis that has <b>condition</b> for sale value, the user enters 2 variables, the upper and lower limit of sales value.Customers whose sale lie in the value range is displayed.
    in the results now I wish to display the values of variables entered by users, how can I achieve that?.

    Hello ,
               You can go for textelements option to display the value of the variables.
    <P><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TEXTELEMENTS_2"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="CAPTION" value="SAP_BW_TEXT?PROGRAM=ZEW06_TRANSLATE_HTML_TEXT&amp;KEY=001"/>
             <param name="WIDTH" value="371"/>
             <param name="SHOW_COMMON_ELEMENTS" value=""/>
             <param name="SHOW_FILTERS" value=""/>
             <param name="ELEMENT_TYPE_1" value="VARIABLE"/>
             <param name="ELEMENT_NAME_1" value="test1"/>
             <param name="ELEMENT_TYPE_2" value="VARIABLE"/>
             <param name="ELEMENT_NAME_2" value="test2"/>
               ITEM:            TEXTELEMENTS_2
    </object></P></TD>
    hope it helps,
    assign points if useful

  • Fetch a column value from list 2 on the basis of list 1

    Hi,
    I have a listA of user data in which the columns are:
    UserID   Name    Email
    E01        Ali        [email protected]
    E02        John     [email protected]
    In another listB there are multiple columns but one column is same that is "Name" and another column like UserID.
    So on the basis of Name if the name is available in ListA then get UserID of that particular name and show in listB UserID column.
    In both lists user detail is coming from active directory.
    Using List web service I fetched details in the form to show in listB UserID.
    I tried to matched the Name column of ListA with ListB all occurances then I got nothing but when matched the Name column of ListA with ListB any occunces then every time got E01 if I search Ali or John.
    I know a little tuning is required but lost so much time and couldn't figured it out.
    Please guide me using the same technique as most of the work has been done.
    If any other simple idea is available then that also would be appreciated.
    One more thing that I used a people picker to populate user detail in ListB. So when I search user details all the fields gets populated and the ListB UserId field should also populate.
    Thanks in Advance
    Ziauddin

    Please somebody reply.

  • Repeating   group variables  on the header of a  second page.

    In BI Publisher Desktop 11.1.1.6
    I have something similar to a customer and a list of invoices. On each page I need the customer info at the top and also some customer info printed at the bottom of the page. The customer is a group and I do a page break on it and list all of the detail invoices. This works fine except for when the list of invoices goes beyond a page.
    I cannot find a way to have the customer info repeated on the top and bottom of the second or consecutive page(s). It would be great if the header could pick up the customer name but it does not appear to be that you can use variables in an MS-Word header. Is this possible and if so, can anyone point me to any examples of how to do this?
    Thanks!

    Thanks very much but I am missing something or did not ask my question correctly.
    If I add <?Customer_Name?> into the heading, it prints the name but it prints the first customer name on every page (the same name). It does not pick up the second customer record name when it is on the body of the second customer. So, page one has Customer 1 in the heading and some detail.. Page 2 has Customer 1 in the heading but the detail is for Customer2 . How would I get the header variables to pick up the customer record name that the for loop changes to? Also not sure what you mean by putting the tables in the header. The repeat table is in the body. Are you saying move that into the header?
    I do appreciate your help...as I know I am close and think I am missing something simple.

  • Display Partner Function on the basis of Selected Partner Function

    We have multiple "Ordering Address" and "Goods Supplier" for a particular vendor. When we use a particular vendor at the time of PO creation, we dont want all the OA and GS to be populated in the "Partner Functions" tab. The OA should be populated based on the Vendor & P Org, and on the basis of OA should be selected, the "GA" related to the OA should be populated.For ex, if each vendor has 5 OA and each OA has 3 GS and the user selects a vendor then all 5 OA should be displayed. When the user selects one  of the OA, all the 3 GS related to that OA should be displayed.
    Is this possible to maintain this scenario?If yes, how can we implement it?
    Thanks
    TM

    Hi,
    You can accomplish the above in below EXIT's
    There are two function modules available to pass partner data to the PO
    EXIT_SAPLEKPA_001 include ZXM06U07
    EXIT_SAPLEKPA_002 include ZXM06U08
    Also further you should write a logic in the BADI ME_PROCESS_PO_CUST
    regards,
    Lalita

Maybe you are looking for