How to use variable Substitution Essbase in ODI

Hello

Can someone help me please how to use void var Essbase in ODI?
I created an interface to load data from text to planning. In the mapping, to the Point of view, I gave the necessary dimensions which is "years". In Essbase, we set a variable called CurrYr which
We want to use in the view. So, I added a line like this in the map

'Work', 'Budget', 'CC1', '#sYearValue '. The sYearValue is used to extract the void var Essbase before loading the planning data. I have followed the blog for void var post below (John has been very kind in showing many examples of ODI, link below is one of them).

[http://john-goodwin.blogspot.com/2009/11/odi-series-planning-11113-enhancements.html]

Whenever I run the Interface, it fails with the error "ODI-17506: Variable has no value: XXXXX.sYearValue.

Thanks in advance!

PM

This line should print the values in the agent log, see log

System.out.println ("current year =" + sYearValue + "current period =" + sPerValue);

See you soon

John
http://John-Goodwin.blogspot.com/

Tags: Business Intelligence

Similar Questions

  • How to get the variable substitution essbase in ODI

    Hi all
    I have a problem that I need to get the variable substitution of Essbase /EAS to work on a SQL in ODI.
    How can I do in ODI?
    Thank you all for...

    Thomas

    Hello

    If you read my blog:-http://john-goodwin.blogspot.com/2009/11/odi-series-planning-11113-enhancements.html
    In the post, there is a section on the recovery of the essbase substitution variables and their use in ODI.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • You can use variable substitution in the Calc script.

    Hi guys,.

    I want to use variable substitution in the calculation script. I v_SECSUBAREA that my substitution variable and its value would be like C12.00 or C13.00 or C12.00, C13.00.

    But it gives me error mentioned below by checking the syntax of the calculation script.

    Error: parsing formula [statement of DIFFICULTY] (line 15) 1200315 error: invalid object type

    Calculation script:

    -----------------------------

    FIX (& v_CLEARYEAR, & v_CLEARMON)

    FIX (& v_SECSUBAREA)

    DIFFICULTY ('REPGBP', 'REPEUR', 'REPUSD', 'local', @DESCENDANTS ("DIVISION"), @LIST(&v_SECDNBENTITY), @DESCENDANTS ("SubAnalysis"),

    @DESCENDANTS ("RTNROW"), @DESCENDANTS ("RTNCOL"))

    CLEARDATA "RESUB."

    ENDFIX;

    ENDFIX;

    ENDFIX;

    Variable substitution:

    ----------------------------------

    PRCCOR_ALLv_SECSUBAREAC12.00

    Calculation script does not have C12.00 as the value for the variable substitution. If I give FY15 then Script gives me a correct syntax.

    Please help me to get this resolved.

    Thank you

    Shruti

    Hello

    Assuming that you calculate in the PRC. Database COR_ALL.

    You may set the C12.00 value in quotes like "C12.00".

    Kind regards

    Philip Hulsebosch.

  • How to use a substitution variable in a rule of load?

    I need to use a substitution variable in a rule of load in a column, I will receive a parameter to correct the month and year of the values in the loading data, could someone tell me if this is possible. I put an expression '& Yearproc' in the value column, but it does not work.

    If you are a member of the WORLD (or even if not, you can register for free associate membership) you can download the presentation from Glenn since 2009 Kaleidoscope "little used Essbase features (such as data mining and triggers) ' - there is a section to this presentation on the substitution variables - it does a great job showing how it works.

    Go to: www.odtug.com, and then Tech, then Essbase/Hyperion resources and search for Schwartzberg. It is currently the ninth presentation on the list - I think that this change based on the popularity of downloads.

    Kind regards

    Cameron Lackpour

  • How to use the substitution in case of construction dim variable

    Hi all

    Lets say I have 3 void / vars - Prevmonth prevmonth-1, prevmonth-2. These change every quarter.

    I want to build a cube that will be who will have only 3 months preceding the fiscal dimension. This will serve once at the end of the quarter.

    What should I do for the substitution if build rules files variables dim? I want to automate the process. We have Sun for other dims build SQL, only the Sun can be built as flat file.

    Or y at - it another way to do this Besides using sub vars? I can try to store 3 variables in a table and then use them to create the cube, but want to see if we can avoid creating an interface more.

    Thank you.

    You can use substitution variables, as in the SQL of the charge state - rules for the Substitution Variables

    See you soon

    John

  • How to use variable bin in the package without asking a user?

    Hello

    I would write a SQL but I want to use bind variable as static package, without asking the user? As below?

    I would ask you, below it is a variable emp_id? Is this variable BINDING?

    DECLARE
    bonus NUMBER (8.2);
    emp_id NUMBER (6): = 100;
    BEGIN
    SELECT salary * 0.10 IN employees OF bonus
    WHERE employee_id = emp_id;
    END;
    /

    If this isn't the case, as this SQL, how can define a CONNECTION variable as static inside a code? don't ask a user?
    version of DB. 9.2.0.8

    best regards and thank you

    OracleADay wrote:

    I would write a SQL but I want to use bind variable as static package, without asking the user? As below?

    Yes, as you did in this code example.

    All SQL statements must be analyzed as sliders to be filled. PL/SQL source code can contain code PL/SQL (programming language) and the source SQL.

    So, indeed you are coding 2 languages of different source code in the same source program. The PL/SQL compiler is a pretty smart to understand what is PL/SQL code and what is the SQL code. To obtain the SQL source code, he creates transparently calls to the SQL engine - this call to the SQL engine will contain instructions on how to analyze the SQL and bind constants or variables in PL/SQL to SQL.

    The SQL engine saves the sliders in the Shared Pool (the memory of the SGA structure) of Oracle. And you can easily watch the content of the present to see what SQLs cursors here - and what bind variables, if any, they use.

    I posted an example - creating a procedure containing a SQL, execution of the PL/SQL code and then watching the cursor that has been created in the shared Pool. See {message identifier: = 2243507}. And it's a little easier to do that (more detailed) SQL tracing approach Pierre indicated above.

    If this isn't the case, as this SQL, how can define a CONNECTION variable as static inside a code? don't ask a user?

    A PL/SQL variable or a constant that you use in a SQL statement in the PL/SQL code, will be treated as a variable binding when parsing SQL and create the cursor so that it (or re - using an existing cursor).

  • How to use variables in conjunction with a conditional statement

    v_sql:=  'SELECT  /* * */ trans_id' || 
                'FROM            NDW_trans '||
                'WHERE           cable =TRIM(LEADING 0 FROM ' ||  i_Cab     || ')' || 
                                'AND ' ||  i_Pair  || 'BETWEEN low and highr' ||
                                'AND termsysid =' ||  i_termsysid ||
                                'AND provisionstatus= ' ||  3 /* find what the constant is for inservice*/ ;
                                
         IF     i_Bill IS NOT NULL THEN
                v_sql := v_sql || 'AND CO_Clli = i_Bill';
         END IF;                  
          BEGIN                  
               EXECUTE IMMEDIATE v_sql INTO o_trans_id_list; 
    How can I convert this to binding of variables that I also have a conditional statement which stretches from the place where clause

    Try this

    v_sql:=  'SELECT  /* * */ trans_id
                FROM            NDW_trans
                WHERE           cable =TRIM(LEADING 0 FROM :i_Cab
                                AND  :i_Pair BETWEEN low and highr
                                AND termsysid = :i_termsysid
                                AND provisionstatus=3 '  /* find what the constant is for inservice*/ ;
    
         IF     i_Bill IS NOT NULL THEN
                v_sql := v_sql || 'AND CO_Clli = :i_Bill';
         END IF;
          BEGIN
               EXECUTE IMMEDIATE v_sql INTO o_trans_id_list
               USING i_Cab, i_Pair, i_termsysid, i_Bill ;
    

    HTH
    SS

  • How to use variables in the report?

    Hello all,.
    I'm new to PlSql. Please bare with me.

    I have a report that runs on SSRS.
    Here is what I need it to do:

    When the report is run:
    1st of the month: it pulls the data from the previous months.
    16th of the month: from the 1st of the current month to 15.

    I am trying to use a case statement to find the right date and then use this value to ReportDate.
    ReportDate is a column in the database.

    -Find the 1st of the month
    SELECT
    CASE
    WHEN SYSDATE > last_day (add_months (SYSDATE-1))
    AND SYSDATE < last_day (add_months (SYSDATE,-1)) + 2
    THEN
    ReportDate = last_day (add_months (SYSDATE-2))

    ON THE OTHER
    SYSDATE
    END ReportStartDate,

    With the help of 10G.
    Again, I'm pretty new to this, so go easy. Let me know if I can provide any other details.

    Hello

    Welcome to the forum!

    1009545 wrote:
    Hello all,.
    I'm new to PlSql. Please bare with me.

    Certainly not! Isn't this kind of a site!
    Did you mean "Please * bear * with me?"

    I have a report that runs on SSRS.
    Here is what I need it to do:

    When the report is run:
    1st of the month: it pulls the data from the previous months.
    16th of the month: from the 1st of the current month to 15.

    What happens if it is running on another day of the month?
    The query below uses leans on the previous month when it circulates at any time from 1, in the 15th day of the month, inclusively and leans on the 1st to the 15th of the current month when run 16 or later.

    I am trying to use a case statement to find the right date & then use this value to ReportDate.
    ReportDate is a column in the database.

    -Find the 1st of the month
    SELECT
    CASE
    WHEN SYSDATE > last_day (add_months (SYSDATE-1))

    ADD_MONTHS (SYSDATE-1) will always be some time this month, then
    LAST_DAY (ADD_MONTHS (SYSDATE-1) will also be the previous month, but)
    SYSDATE is always in the current month,
    SYSDATE > ADD_MONTHS (SYSDATE-1) will always have the value TRUE.

    AND SYSDATE< last_day(add_months(sysdate,="">
    THEN
    ReportDate = last_day (add_months (SYSDATE-2))

    It's 2 months in the past. Are you ever interested in this old stuff? Areen can't you always interested in 1 months ago, or the current month?

    ON THE OTHER
    SYSDATE
    END ReportStartDate,

    With the help of 10G.
    Again, I'm pretty new to this, so go easy. Let me know if I can provide any other details.

    Whenever you have a problem, post CREATE TABLE and INSERT statements for some examples of data and outcomes from these data.
    See the FAQ forum {message identifier: = 9360002} it only takes a few minutes to read and can really help you get the most out of this forum.

    I think you want something like this:

    WITH     period_of_interest     AS
    (
         SELECT     CASE
                  WHEN  TO_CHAR (SYSDATE, 'DD') < '16'
                                           -- should be '16' above.  See note
                  THEN  TRUNC ( ADD_MONTHS (SYSATE, -1), 'MONTH')
                  ELSE  TRUNC (             SYSDATE    , 'MONTH')
              END     AS period_start
         ,     CASE
                  WHEN  TO_CHAR (SYSDATE, 'DD') < '16'
                  THEN  TRUNC (SYSDATE, 'MONTH')
                  ELSE  TRUNC (SYSDATE, 'MONTH') + 16
              END     AS period_end
         FROM    dual
    )
    SELECT     ...
    FROM     table_x              x
    JOIN     period_of_interest  p  ON  x.transaction_date >= p.period_start
                          AND x.transaction_date <  p.period_end
    ;
    

    Period_end is a somewhat misleading name for the column; It's actually the first DATE after the end of the period; That's why I used < (and not < =) when compared to the x.transaction_date.

    I'm not sure what ReportDate is in your description. This is an example of timid, you must validate CREATE TABLE and INSERT statements for some examples of data. It could be that ReportDate is just what I called transaction_date above.

    Published by: Frank Kulash on June 3, 2013 16:55
    This site is falling out my code. It seens to think the in the first

    WHEN TO_CHAR (SYSDATE, 'DD') < '16'
    

    indicates a kind of markup and will not display the '16', even if I put it on a separate on its own line.

    Published by: Frank Kulash on June 3, 2013 17:09
    Used & lt; to correct the estrangement, after sentries below.

  • How to use the substitution with Adobe Edge Animation effect?

    For my site, I made an animation of an envelope opening and a letter from out of it. I would like to make a link to my email address, but first I want to make an interactive button. Is it possible to animate only when the mouse is on it?

    Hello Aidantoole,

    You need to do with animated along.

    1. make sure that "AutoPlay" is disabled in the properties of your onboard ptoject scene animate.

    2. then turn on game action (OnHover) at the beginning of the time line.

    This will not autoplay the animation and will play only if someone go over it.

    Let me know if you want me to share the detailed procedure.

    Kind regards

    Vivek

  • How to use variables to populate XML objects

    Hello

    I'm trying to fill an XML object with information from a loop for. It seems that the info will as long as the string information. Thoughts?

                   for(var i:int=0; i<dataSource.length; i++){
                        
                        xmlList += <item></item>;
                        
                        for(var s:String in dataSource[i]){
                             xmlList[i].item +=   <s>test info</s>;
                                                 //<hobby>soccer</hobby>;
                                                 
                             trace(s);
    
                        
                        }
    

    This is a generic example of what I think you want to do:

    var dataSource:Array =
    [
    {name: "One", value: 1 "},
    {name: "two", value: 2 "},
    {name: "three", value: 3 "}
    ]
    var xmlList = new XMLList();
    for (var i: int = 0; i
    var node: XML = ;
    for (var s:String in dataSource [i])
    {
    var propNode:XML = <{s}> ;
    propNode.appendChild (dataSource [i] [s]);
    node.appendChild (propNode)
    }
    xmlList += node;

    }
    trace (xmlList)

  • How to use the Group condition in the ODI mappings

    Hi Experts,

    I have a requirement in the customization of BI applications. Can you please someone explain how to use the LISTAGG function in odi mapping.

    I applied the LISTAGGR function at the level of mapping odi, but I get error below.

    Mapping of ODI: ColumnName: ENAME Expression: LISTAGG (EMP. ENAME, ",") THE GROUP (RANKING BY EMP. ENAME)

    Error:

    ODI-1240: Flow LIST_AGG_FUN_USAGE fails during an operation of integration. This flow of charge table target EMP_BI.

    ODI-1228: task failed LIST_AGG_FUN_USAGE (integration) on the scott_db of ORACLE target connection.

    Caused by: java.sql.SQLSyntaxErrorException: ORA-00937: not a function of simple-group


    Oracle query:

    If I used this sql query in the database the correct result is.

    SELECT DEPTNO, LISTAGG (ENAME, ',') WITHIN THE EMP EMP (ENAME CONTROL) GROUP. DEPTNO;

    Output:

    10CLARK, KING, MILLER
    20ADAMS, FORD, JONES, SCOTT, SMITH
    30ALLEN, JAMES, MARTIN, BLAKE, TURNER, WARD


    Please give your valid solutions, thanks in advance.

    Kind regards

    REDA

    If you try in #ODI12C then in the set of properties, you can select the column which should be used to group by.

    If it's 11g so its bit complicated. Simply replace the mapping with below codes.

    LISTAGG (EMP. ENAME, ",") WITHIN GROUP (ORDER BY ENAME) / * sum() * /.

    Magic!

    Thank you

    Chantal

  • How to load #MISSING (empty data) in Essbase through ODI?

    Hello
    As a topic, how can I clear an Essbase through ODI value? I tried to load '#MISSING' & ' But since they are the text rather than a numeric field, it failed with the error "invalid column type specified for the data column. Can anyone help? Thanks in advance.
    Rgds,
    Ricardo

    Hello

    How you load, if you load a SQL table that you would simply load a null value in the database

    example of data in basic sample loading

    Measures, period, scenario, market, products, data
    Sales, Jan, real, Florida, 100-10, 10
    CMV, Jan, real, Florida, 100-10 to + NULL +.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • OBIEE 11 g: how to call variables in places non-colonne

    Hello world

    I'm used to the table following (http://www.mycabi.net/wp-content/uploads/2010/02/VariablesChart1.jpg) know where and how to use variables in session/repository/presentation of OBIEE 10 g. But I tried to use it in version 11.X.6 of OBIEE and nothing seems to work.

    Specifically, I am using standard variables in the subject text of dashboard, or static text narrative report or report object.

    Can someone point me to a similar document for 11g?

    Thank you!

    -= Joe

    I tried to text object & its syntax is: @{biServer.variables ["VariableName"]}

  • Dynamically change the variable substitution for the region title

    Is there a way to update the title of a region when you use variable substitution (for example. P1_TITLE_DATE)? I use a dynamic action to update the region-, but it does not update the title. Does anyone have a work around for this without submitting the entire page?

    Hello

    You can run code JavaScript change the title of your region.

    $("#MY_REGION div.rc-title").text("New Title")
    

    JQuery selector code depend on your model and its theme.

    Kind regards
    Jari

    -----
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • How to use substitution variables, as in Microsoft Word using Hyperion Smart view

    Can we use the Substitution Variables to copy data points and cool off in Microsoft Word? I tried and it does not dynamically (copy the data points only copies what was in excellent cell right there). It copies only the static value of this variable for this cell. I want to use dynamically in Word so that if I change the value of this variable in Essbase, it is updated in Word on refresh. Any idea?

    We need this notification feature in microsoft word and keep using data points every year (instead of copy the cells of excellent on new)

    Any help or suggestion is appreciated.

    Thank you

    You may not use substitution variables, as with the copy data points. I tried a while back (after 111.1.2.1.102) and it wouldn't work.  I checked with Oracle development and they said that I is not available

Maybe you are looking for

  • Ask the values of the Variable JavaScript to a Web site

    I have a local device that displays data from device via a browser status. If I open a browser, go to the address of the local device and open the console, I can access the status variables of the material by typing "answer [x]", where x represents a

  • FMS Flight Simulator

    I recently bought a Flight Simulator and it says the d3drm.dll are not installed. I went to a website to download and also move in the correct folders that the manufacturer suggests and still no chance someone can it help?

  • The g2mdlhlpx.exe file is a threat or is it normal in Vista?

    Is this file a threat of any kind to my computer or optional; g2mdlhlpx.exe? * original title - help: file on my PC. g2mdlhlpx.exe? *.

  • HP Color LaserJet 3600n Laser printer

    AAAI has recently updated computer from XP to Windows 7, now this printer print custom. I tried to download the new driver, but HP 3600n does not appear as a compatible printer, how can I use this printer with Windows 7?

  • Session of top through PIX 515E firewall

    My ISP is stopping the internet service and told that I have a number of great session of 5400 +... The normal session counts should be around 200. Due to this high number, my site may potentially adversely affect my network and their network. They d