Oracle CKM Module not resolving variable values

Hi,
I am using ODI 11g.
I created a database datastore with dynamic table and column names using variables.
I use this datastore as the target table in an interface but for some reason when the creation of the Error table is attempted (during CKM) the variables do not get resolved correctly and execution fails. (When I trace the variable values I see that they have the correct values).
The following script is executed:
create table DAMAN_6020400_DEV."*E$_#TableName*"
     ODI_ROW_ID           UROWID,a
     ODI_ERR_TYPE          VARCHAR2(1 CHAR) NULL,
     ODI_ERR_MESS          VARCHAR2(250 CHAR) NULL,
     ODI_CHECK_DATE     DATE NULL,
     #column1     VARCHAR2(50) NULL,
     #column2     VARCHAR2(200) NULL,
     #column3     VARCHAR2(200) NULL,
     ODI_ORIGIN          VARCHAR2(100 CHAR) NULL,
     ODI_CONS_NAME     VARCHAR2(128 CHAR) NULL,
     ODI_CONS_TYPE          VARCHAR2(2 CHAR) NULL,
     ODI_PK               VARCHAR2(32 CHAR) PRIMARY KEY,
     ODI_SESS_NO          VARCHAR2(19 CHAR)
If I skip the CMK steps, the following steps are executed successfully and the data are inserted in correctly in the target table.
Can anyone think of a reason why this is happening?
Thank you!

Hi,
Thanks for the reply Bhabani.
My variables are Project scope (isn't that correct?)
From what I see in the previous successful steps when the data is loaded the statements look like:
create table SCHEMA_NAME.*"I$_#Project_name.TableName"*
On the other hand during the steps that fail the variables are not prefixed with the project name:
create table SCHEMA_NAME.*"E$_#TableName"*
I did not customize the KM's that produce these steps but for some reason the second step produced by Oracle CKM has this problem

Similar Messages

  • Variable value not showing in sql developer  tool

    HI,
    I am using sql developer tool. when i take mouse in variable name at debugging its not showing variable value and instead showing variable name data type and owner. but in past i have used sql developer tool where when i take mouse on variable at debugging mode it shows the varable value.  please tell me is there any issue in sql develper tool currently i am using.
    sql developer version 2.1.0.63

    Sorry - but I doubt if you will get much help for that ANCIENT version of Sql Developer.
    My best suggestion is to download the current version and see if you still have the problem. There have been HUNDREDS of bug fixes since that version you are using.
    Oracle SQL Developer Downloads
    Take note that the current version REQUIRES a much higher JDK version than what you may be using. And do NOT try to install the new version on top of the old one.
    Install the new version into a totally new folder. You will be ask if you want to import your settings from your current version.

  • Bookmark without saved variable values?

    Hi, Our users are actively using bookmarks for our web template that has about 4 queries, but they discovered that bookmarks also save the variable values as well. 
    They would like to save the navigation state, but not the variable values.  Any idea how we can accomplish this? 
    Thanks,
    Ken

    Hi Ken,
    try to reset the variable values with CMD=’RESET_DATA_PROVIDER’ before you execute the bookmark function.
    rgds Jens

  • Default value for variable are not within permitted value range (precalc)

    Hello BW community
    Issue:
    I have created a variable (Characteristic Value/ Manual input-default value) and use the precalculated value set (details-basic settings). In the further variable definition I could select the  precalculated value set in 'Default values', which I have defined beforehand in the broadcaster..
    The precalculated value set in the broadcaster settings is just based on a master data query on 0CUSTOMER.
    Error:
    The variable gets the error E991/R9E Errors: Default values for variable 'XXX' are not within permitted value range.
    The detail description of the error is: You defined default values for variable 'Sold-to party precalc value set for manuel input' that are not appropriate for the variable type; for example, a range is defined as a default value for a variable that only permits a single value.
    So please has someone had the same issue and found out how to solve it? It would be excelent to get good solution for this issue.
    Best regards and thanks
    Christian
    PS-1: System BW 701 / SAPKW70105
    PS-2 : there has been a SDN entry with the same topic but not resolved too.
    link: /thread/980839 [original link is broken]

    Hello,
    Thanks for your response.
    I should have mentioned that in my post. I tried this very first time. I thought that this is the place where you provide default value. But I got following exception at that time, so I thought, may be this is used for something else.
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    javax.faces.FacesException: javax.servlet.ServletException: OracleJSP error:
    oracle.jbo.NameClashException: JBO-25001: Object viewAllInd of type Control Binding Definition already exists.
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)Do I need handle something else when you put the default value?
    Thanks,
    Jai

  • I am not getting User Environment Variable Value

    Hi Team,
    I have been Trying to recover variables values using an anonym procedure from Windows XP SP3
    I have already executed following procedure.
    BEGIN
    DECLARE
    gf_filelog UTL_FILE.file_type;
    v_file_log VARCHAR2 (1024) := ' ';
    gv_path_log VARCHAR2 (1024) := ' ';
    gv_path_log2 VARCHAR2 (1024) := ' ';
    gv_file_log VARCHAR2 (1024) := ' ';
    BEGIN
    DBMS_OUTPUT.put_line ( 'obteniendo valores of vars: '
    || gv_path_log
    || ' '
    || gv_file_log
    DBMS_SYSTEM.get_env ('ORACLE_HOME', gv_path_log);
    DBMS_SYSTEM.get_env ('PATH_MODULO', gv_path_log2);
    DBMS_SYSTEM.get_env ('FILELOG', v_file_log);
    DBMS_OUTPUT.put_line ( 'valores vars ORACLE_HOME: '
    || gv_path_log
    || 'PATH_MODULO:'
    || gv_path_log2
                   || ' FILELOG:'
                   || v_file_log
    gv_file_log :=
    v_file_log || TO_CHAR (SYSDATE, 'yyyymmddHH24MISS')
    || '.log';
    DBMS_OUTPUT.put_line ( 'Nombre de Archivo creado'
    || gv_path_log
    || ' '
    || gv_file_log
    gf_filelog := UTL_FILE.fopen (gv_path_log, gv_file_log, 'w');
    DBMS_OUTPUT.put_line ('Archivo creado' || gv_path_log || ' '
    || gv_file_log
    UTL_FILE.put_line (gf_filelog,
    || TO_CHAR (SYSDATE, 'HH24:MI:SSSSS')
    || ']--> '
    || 'Prueba de escritura'
    || gv_path_log
    || ' '
    || v_file_log
    UTL_FILE.fflush (gf_filelog);
    UTL_FILE.fclose (gf_filelog);
    EXCEPTION
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.put_line ( '[reporta_log]Error en :'
    || SQLCODE
    || ' - '
    || SQLERRM
    raise_application_error (-20000,
    '[reporta_log]Error en :'
    || SQLCODE
    || ' - '
    || SQLERRM
    END;
    END;
    I show you data result after procedure was excecuted.
    obteniendo valores of vars:
    valores vars ORACLE_HOME: E:\oracle\product\10.2.0\db_1PATH_MODULO: FILELOG:
    Nombre de Archivo creadoE:\oracle\product\10.2.0\db_1 20111122171625.log
    [reporta_log]Error en :-29280 - ORA-29280: invalid directory path
    BEGIN
    ERROR at line 1:
    ORA-20000: [reporta_log]Error en :-29280 - ORA-29280: invalid directory path
    ORA-06512: at line 55
    I see that only ORACLE_HOME variable value was got, question is why, of course, variable values are already defined as user variables.
    Variables PATH_MODULO and FILELOG was defined using windows maintenance variable method, that is :
    1.- settings
    2.- system
    3.- advanced options
    4.- environment variables
    Here my oracle version
    SQL> select version from v$instance;
    VERSION
    10.2.0.1.0
    SQL>
    Is this an Oracle Issue or variables would be defined in another way?
    ORACLE_HOME VARIABLE was created when oracle engine was installed.
    I have got same result after computer was restart.
    I appreciate wathever clue.

    Ok, that is , I only can read environment variables values, but not variables values at user profile. It happends in unix environment too. So I tried to use another instruction sequence in order to read user variables values.
    Regards

  • BI 7 list of variable values not shown in chagne variable values option.

    Hi,
    In BI7 queries i face a problem like the first time you execute a query it asks for selection options ,then the next time if we want to change the variables we have a option "change variable values" in the menu bar to change it,but unlike BW 3.5 it is not showing the entire list of values it shows only the history or the present values we choose,this restricts from selecting any desired values from the list.
    Is there any way to resolve this problem,your suggestions will be really helpful.
    Thanks,
    G.Monica Roja Flora.

    After you click on the box in the variable selection screen you will get another window "Select Values for XXXX". In the first box you will have a drop down box which will show "History", Favorites", "Single Values" & "Value rabges". Then in the bottom right there is a button "More" when you click on it it will open to show the selections already made.
    Hope this helps.
    Bhargava

  • Abort Could not determine a value for variable 0DAT from the authorizations

    Hi All,
    I encountered an error '/ Abort Could not determine a value for variable 0DAT from the authorizations\' when executing my query on a multiprovider in BW 3.5.
    Can anyone help me in finding a solutionn to this issue.
    Thanks,
    Kartik.

    Hi Kartik,
    I am sorry as that note is for NW2004s. Please check if 0DAT variable installed from a business content? if not then I think thats the cause of the problem.
    Hope this helps,
    Bye...

  • Web Report not printing the fiscal year period variable value

    Hi,
    In web report where in one text element, we enabled the fiscal year period variable value to display
    in the report result.
    If we run the report then this fiscal year period is displaying in the general information.
    We have print button (Java Code),  where user can take a printout of the same report.
    In the printout this Fiscal year period is NOT PRINTING, other variables like rollup time, technical name of report etc are printing perfectly.
    It is required to print the fiscal period also in the print out of the report.
    Any help to come out of this.....
    Thanks
    Srinivas

    Hi
    Any Help.....
    Srini

  • Presentation Variable Value not passing when used in Column Formula.

    Hello Gurus:
    Please help me with my requirement.
    We are trying to show a data backout in report, for example.
    For a Product Group Code of 2435 which belongs to Report Line C059 has a Sales Amount of $4,266.90 and in report we want the same Sales Amount of $4,266.90 to be shown as -$4,266.90 (Negative) under a Report Line C080.
    So in a report there should be same Sales Dollars as Positive for C059 (from Source) and Negative Sales Amount for C080 (Condition to be applied in Report).
    Solution I Tried
    I tried to create a Presentation Variable (SQL- Which would fetch me Sales Dollars for Product Group Code 2453) which returns with $4266.90 and then applied it in Answers in Logic (Case when Report Line = C080 then @{Presentation Variable}*-1 Else Sales Dollars END).
    Issue I am facing:
    Presentation Variable is coming as 0 and if i give any Format (Default Value) it shows the same default value in report. I checked the SQL i used and even when I Preview the Variable its showing me $4,266.90, but not in report.
    Please let me know a way to get this Presentation Variable value into my reports.
    Also please let me know if i can achieve this requirement in any other way.

    Thanks for your reply Paul. But there is no Invoiced Amount for Report Line - 'C080' from source. Invoiced amount of C059 should show as -ve Invoiced amount for CO80.
    In a report C059 should show +ve Sales Dollars and C080 should show same amount as -Ve Sales Dollars.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Variable used in OS Command (windows) not Resolving?

    In my package:
    1st Step: Declare Variable FILENAME
    2nd Step: Set Varaible FILENAME=testcopy.txt
    3rd Step: OS Command (windows), Text of your command=cmd C:\copy #CPE.FILENAME c:\temp
    (CPE is the project name)
    However the variable does not get resolved?
    ODI 11g, hangs on the 3rd Step (Green lightning) and the code in operator is shown as: cmd C:\copy #CPE.FILENAME c:\temp
    Anything additional to resolve variables in an Windows OS Command?

    Try with OdiOSCommand.

  • Swf in IE 7 not changing value when variable value in flashvar changes...

    Hi Friends,
    Below is decription of the file
    1. I have a flash file which is loading php variable through flash vars.
    2. The flash var variable contains the .txt filename in which data is kept.
    3. When I open the php page the swf loads with variable having .txt filename and value containing swf path.
    4. I have created timer in flash which check for change of value.
    5. When value changes the other flash file loads.
    6. All this works fine in all browsers except IE 7
    ONLY ISSUE WITH IE 7 is
    1. The swf not changing when value changes.
    WHAT I NOTICED
    1. When we click to load another tab in the same IE 7 browser the changed value that is another swf loads.
    WHAT I THINK
    1. Refreshing browser when value changes will solve the issue in IE7.
    Pls. let me know your suggestion and if possible solution to this issue.
    Thanks in advance.
    With Regards,
    Sagar S. Ranpise

    copy and paste your embedding html code.

  • Container Variable value not reflected in Alert message

    Hi All,
    In BPM, i am trying to set an Alert message which will send the message in alert Inbox. Here i have stored a value from the message in a container variable. This Container variable value is used in the Alert message in the form of &variable&. But whenever i specify container variable value, it is not reflected in the Long text of Alert Inbox. In Alert category i have also checked the Dynamic text. Still it is not coming.
    Can u suggest what is the possible solution for this.
    Thanks in advance
    Ashish

    I was able to get the Alert Message by changing container variable from "Block " to "Process". But It was containing the value of the first message.
    Actually i am having a scenario in which i am transforming a File message input into multiple messages based on its PO number using multi mapping. These messages are send as IDOCs using Parrallel for Each block, where i store the PO number in the container variable and use it in alert message. So for that i have to use this block name as container and not as a Process.
    Can anybody tell me why this Container Variable value is not reflected in the alert message.
    Thanks in advance
    Ashish

  • Variable values not passing with Web Application Designer

    We are on SP 11
    I have defined variables in the planning modeler (no personalization) that should be used when executing a copy function.  The idea is to have ready input capability.  For example, the variable VERSION is defined - when the planning function is executed, the user should have the ability to select a version value.   I have defined TWO button groups to enable the user this feature, however the values will not override the default variable value defined in the planning modeler
    BUTTON GROUP #1 - this is a copy function button with Display Varable Screen option ON.  When I press the button, the variable entry WEB Page Dialog pops up (with the default value).  If I input a differenct value, we get the error the the value characteristic is not included in the selection.  If we use the drop down available on the dialog box to select available values, we get what's on the Web Template (it seems the drop down option is not working)
    BUTTON GROUP #2. - This is a VARIABLE BUTTON using the Open Variable Dialog command (the expectation was to override the default value) When we use the drop down option on the Web Page Dialog, we have the ability to select the valuse available, however the value does not override the default value defined on the planning modeler.
    Any suggestions are appreciated.
    Regards,
    Andrew Ramirez

    Hi Andrew
    I realise your posting is now 6 months old.
    We are also on SPS11 and have a similar problem.
    Did you manage to solve this problem>
    Thanks
    Ian

  • User Variables values are not showing in Bex analyzer

    Dear Friends,
    I created a report in Bex analyzer ( Excel).
    Now i want to show the variables values in the report.
    i put text item there and click on it but in filter tab there is no variable is exist.
    Any help will be highly appricated.
    Regards
    Naeem

    dear i know how to display the variable values.
    But unfortunatilly there is nothing appear in filter tab.
    my variables are not in filter tab its empty.
    i already choose the data provider.
    regards
    Malik

  • Hi, I have quick question about use of USEBEAN tag in SP2. When I specify a scope of SESSION for the java bean, it does not keep the values that I set for variable in the bean persistent.Thanks,Sonny

     

    Make sure that your bean is implementing the serializable interface and that
    you are accessing the bean from the session with the same name.
    Bryan
    "Sandeep Suri" <[email protected]> wrote in message
    news:[email protected]..
    Hi, I have quick question about use of USEBEAN tag in SP2. When I
    specify a scope of SESSION for the java bean, it does not keep the
    values that I set for variable in the bean persistent.Thanks,Sonny
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

Maybe you are looking for