Table interface ODI

Hello

The issue that I face is during insertion in the interface table dimension table. I have a new column added to the table _DS and filling of the dimension of the same table. Now the SQl code to insert in the table of the interface is very good and gets the new table _DS column, but the SQl code for the insertion of the interface for the dimension table doenst table have the new column, can someone please advice how to fix this.

Thank you

This problem appears when you do not mention the dimension type in the column properties.

Go to the properties of the column and change the description, select the type of behavior of the CPC and save. Regenerate the scenarios and run again.

Select this option if useful.

Thank you

Tags: Business Intelligence

Similar Questions

  • Tables of ODI SNP - namely an interface corresponds to a package

    Hello

    How do I know that an interface ODI match an ODI packet using ODI SNP tbales? No idea please.

    Kind regards

    Kevinkazadi

    Here's a SQL query to see the list of INTERFACES that are in a PACKAGE, with the target data store and its logical schema:

    Replace odi_work by your own scheme of work:

    Select
    Projet.project_code as Projet_Code,
    dossier.folder_name in the folder,
    Pack.pack_name in the package,
    Etape.NNO as Step_Number,
    interf.pop_name as an Interface,
    interf.lschema_name as Target_Logical_Schema,
    Target.RES_NAME in Target_Table

    Of
    odi_work. SNP_PACKAGE Pack
    odi_work inner join. Folder SNP_FOLDER on dossier.i_folder = pack.i_folder
    odi_work inner join. SNP_PROJECT project on projet.i_project = dossier.i_project
    odi_work inner join. Step SNP_STEP on etape.i_package = pack.i_package
    interfaces odi_work.snp_pop on interf.i_pop = etape.i_pop inner join
    target odi_work.snp_table on target.i_table = interf.i_table inner join

    Where 1 = 1

    and pack.pack_name = 'name of the package.

    order by
    Projet.project_code, dossier.folder_name, Pack.pack_name, etape.nno

  • name.table in ODI datastore schema name

    Hello

    We have a scheme-> others-> HFM_ESB-> TIME table.

    Now, I need to connect to HFMESB. TIME table. When I try to give this table in the ODI data store, I get the message as invalid table name.

    Any suggestions on how to call and reverse engineer these tables in ODI.

    We were previously using synonyms and therefore sees no problems. But now we cannot synonyms, where to get this working...

    Appreciate the quick response that few urgent.

    Thanks in advance

    Hello

    Apparently HFM_ESB is your schema.

    First, you create the server data in ODI, if you have not done: go in the topology tab in ODI Studio, then under Physical Architecture done right click on Oracle and choose new server data. Enter a name for your database server for example TRG_MyName and specify the username/password, for example, USER: ODI_STAGING PASS: MyPass. On the JDBC specify the driver JDBC and URL, for example: oracle.jdbc.OracleDriver and jdbc:oracle:thin:@localhost:1521:orcl respectfully. Save and close the window.

    Second, on the right, click on the (new) database server and click new schema of Phisical , specify a name and then set the schema: HFM_ESB and the scheme of work: ODI_STAGING

    Please note: If you do not have ODI_STAGING diagram you can specify your HFM_ESB as a USER and working scheme

    Thirdly, under the logical Architecture right-click on Oracle technology and create new logical schema specifies a name and you can leave the Global context and choose the given (new) physical schema in the physical patterns column.

    Fourth, go to the tab of the topology to the Designer tab. In the bar of models , click on the folder and new model of. Now, on the definition tab, enter a name for your model, choose Oracle as the technology, choose the logical schema that we just created. Go to the tab of bone , here you can leave everything in the Standard/table report which means do the standard reverse engineering for all tables in the given schema. If you want only to reconstruct the table PERIOD comes down to the click tab Sélective Reverse-Engineering on all the boxes at the top, then, under the control of column name of the Table field only PERIOD box and finally click on the button of boning (at the top left).

  • Update and cancel standard existed IN. using tables interface PO lines

    Hello

    Can someone guide me please how to update and cancel the standard existed PO lines with tables interface IN....

    Thanks in advance,
    NS

    Hi NS,

    I think that it is not possible through open interface table, but you can update and cancel the po lines by using the following API respectively.

    (1) PO_CHANGE_API1_S.update_po

    (2) PO_Document_Control_PUB.control_document

    HTH
    Sanjay

  • Mapping and creating dynamic interface Odi

    Hi gurus,

    I received the new requirement on ODI. I don't know that it may be possible.

    Here is my requirement.

    I'll take 2 tables as follows.

    Table1. : do you have the details of source and target as - target Id, name of the source file, the name of the table

    ID sourcefilename targettable

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

    1 epm.csv salestable

    currency.csv 2 regiontable

    Table2: details of column mappings as Id, sourcecolumn (from file), the column target (from table).

    ID sourccol trgtcol

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

    1 ename ename

    1 esal esal

    1 eid eid

    2 countries

    2 currency

    The package should be as executing package I provide (ID) parameter. ID-based it should choose the table of file name and target source from Table1 and get reversed in ODI, interface must be mapped to the end of the mppings of Table2.

    If one can achivable may give some clues please.

    Concerning

    PrakashV.

    PrakashVsalvation,

    It is quite doable with Java or Groovy and the ODI SDK.

    You can find some examples and the code used on the Oracle blogs:

    https://blogs.Oracle.com/warehousebuilder/entry/odi_11g_interface_builder_accelerator

    https://blogs.Oracle.com/dataintegration/entry/automating_odi_development_tasks_using

    Chantal Mangano also wrote this excellent blog and the code to read the business rules an Excel files and create interfaces: Creating of Interfaces of mapping in the ODIDW team Excel spreadsheets

    It should not be too complex for you to change it according to your needs.

    It will be useful.

    Best regards

    JeromeFr

  • while loading does no data in the table target, odi performance degrades?

    Hello

    I am trying to load some data from the source (Oracle DB1) to the target (Oracle, DB2) table in the same server

    Source table have 45lacks of data. These data must be load in the target table.

    I create interface. I took LKM SQL SQL & IKM SQL for SQL incremental Add.

    yesterday I executed interface, I checked the status in the browser of the operator. "his display like the loading status.

    However, the interface is in State of loading.

    sometimes odi is unresponsive. Plese help me.

    Need to add all the fetch sizes?

    Please solve this problem.

    Thank you and best regards,

    A.Kavya.

    Hello

    As you say, I tried with different knowledge modules. I used the incremental update IKM for db and db 45 do not data loading.

    its really increase performance. with in 10 minutes it will be correctly loaded into the target table. previously, I used SQL & SQL LKM, IKM SQL for SQL control append.it takes a long time. It takes two days also data is not loaded in the target table. really bad performance.

    I used DB loading for better performnace LKM SQL to ORACLE & IKM INCREMENTAL UPDATE.

  • How to call a Java method n map the output of this method to a table in ODI

    Hello

    I am new to ODI. I wrote an interface that links the two tables (source) to a file (in the target). Now, I must apply a method (java call) on each element in a column in the target. Now my questions are:

    1. all I know is to use the procedure using BeanShell Java or Jython. Can you give some examples of commands to achieve such a feature?

    2. where should I actually apply this procedure? Is it possible to apply this procedure within the Interface during the mapping (so that I can map directly the result in the output file)?

    Thanks in advance :)

    Not sure why you want to call a java method for each column.
    But as others have mentioned, an ODI procedure won't help you do.

    However, there are other options you can exercise:
    (1.) assuming that you are using Oracle, you can compile the Java class and wrap it as a PL/SQL function and then call this function from pl/sql to the ODI interface. This procedure will be called like any other function oracle for example. Upper (col1).

    (2.) as I understand, it's that you want to apply the Java method for all columns.
    Assuming that you have knowledge with Jython and the code inside the KMs, you can customize the KM to include the Java method around the columns. But this approach is complex if you are a beginner.

    Hope that helps

  • Question simple interface ODI

    Hello

    ODI 11.1.1.3
    Oracle databases

    I created a simple interface
    target mapping from source to the columns in the table.
    the lkm is oracle to oracle (databaselink)

    When I run the interface, I get error

    "ODI-1228: SrcSet0 of the task (loading) fails on the connection target ORACLE ORACLE_TGT_schema.
    "Caused by: java.sql.SQLSyntaxErrorException: ORA-01031: insufficient privileges".


    This error takes place at step 4.

    The generated code is the failure

    create synonym ODI_WREPO. C$ _0CTA_IMP_DEV_PLA
    for ED_STORAGE. C$_0CTA_IMP_DEV_PLA@T_ED_READER. EUDRA.ORG

    When I do a simple select

    Select * from ED_STORAGE. C$_0CTA_IMP_DEV_PLA@T_ED_READER. EUDRA.ORG (via my repo user odi_wrepo work),
    This method works.

    Also the user odi_wrepo has been granted 'create any synonym' and "remove any what synonym"

    I also tried with grant 'create public synonym' and ' drop public synonym '.


    What should I do?

    It's my first interface.

    Thank you
    s

    you run this code in Toad/sqldeveloper

    create synonym ODI_WREPO. C$ _0CTA_IMP_DEV_PLA
    for ED_STORAGE. C$_0CTA_IMP_DEV_PLA@T_ED_READER. EUDRA.ORG

    Can you create?

    Thank you

  • When I$ table in ODI...

    Hi all

    I'm new on ODI and test interfaces if data flows from source to the target. I have more than 10 interfaces, and these interfaces can use the same database tables.

    Now I would like to run all interfaces in a go using a script. I understand, ODI creates one I$ table each time when execution of the interface.

    Suppose if I simultaneously run two scripts that uses the same tables, ODI creates two I$ tables or not?

    Could someone explain please the mechanism?

    Thank you in advance.

    Kind regards
    Srini

    Hello

    ODI will create and I drop table $ while the integration process is running.
    If your TARGET table is the same for all interfaces, then you have a problem in these interfaces running in parallel.
    Why? ODI will create C$ I $ table with the same name.
    Suppose you 1 interface turns and she created C$ and I4 table C1 and I1. Now the interface of time even start 2 kicks. He will try to drop the C1 and I1 (if it exists), and then create new C1 and I1. This will create a problem in terms of integration and your process will be messed up.

    This situation does not just if you run all of the interfaces in a sequence.

    If you want to run at the same time, then you must make some changes.
    Search in Metalink you will get a few notes describing how to overcome this problem.
    See also http://odiexperts.com/interface-parallel-execution-a-new-solution

    Thank you
    Fati

  • How to load flat files without header to table in ODI

    I try to get data from a flat file, but it doesn't have any header

    as 1, tom, 36, usa.

    I have a table with id column, name, age, country, and I want to get the data. Please let me know how to proceed.

    Thanks in advance

    If you add columns manually in the data model there is no need to reverse engineering. If you reverse engineer with header set to 0 ODI will simply give the columns arbitrary identifiers such as C1, C2, C3 etc. That you can leave or change.

  • Can I use a dimension of import command line using table interface?

    Hi guys

    I'm using EPMA to load dimensions by using the interface of the table, but I want to know if it is possible to launch using a command line?

    Concerning

    Yes, use client batch epma, have a read of http://john-goodwin.blogspot.com/2011/11/loading-to-epma-planning-applications.html

    See you soon

    John

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

  • Empty table of ODI SNP_EXP_TXT

    Hello

    I use 11.1.1.6.3_GENERIC_120508.0956 ODI, with Oracle DB, Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0.

    I try to get the error messages in my database, and from what I've read of the documentation and the Web, the best way is to use metadata that ODI SNP tables.

    Specifically, to get the error message, the table SNP_EXP_TXT.

    Now I'm running my package of the Production environment, and when it finishes, the SNP_EXP_TXT table is empty.

    However, the SNP_SESSION, SNP_STEP_LOG, SNP_SESS_TASK and others similar are all full.

    Also, I noticed that all of the tables containing the TXT in the name are empty, apart from SNP_EXP_TXT_HEADER.

    Anyone has an idea why the SNP_EXP_TXT table is empty? Is there a good documentation on these paintings, in that I can find answer?

    Thank you!

    Before ODI 11.1.1.5, error messages can be obtained in the SNP_EXP_TXT table. But rom ODI 11.1.1.5, the details are kept in SNP_EXP_TXT_HEADER.

  • Tables of ODI Master Rep that stores the details of work rep

    Hi all

    I want to know the details of all deposits present in an ODI installation. I think the table of the master repository will have the details of the rep of this work under him. Please let me know tables which holds the details of the work.

    Thank you

    Raja

    Hello

    The table on the ODI SNP_LOC_REPW describe the details of repositories of work that are used in the Master repository.

    Thank you

  • How to purge the tables using odi?

    Hello

    I want to purge the data in the target. That data my political is to remember that the only 90 days. I have to keep the only 90 days of data. How can I do this in ODI. I don't have a single column DATE.

    Thank you

    Kind regards
    AMSII

    If your existing date field can be used to identify records to be served, then you can simply create a procedure in ODI along the lines of

    delete of < %="odiRef.getSchemaName" ()="" %=""> . * your_table * where your_date_field< (sysdate="" -="">

    It of the easiest way, but beware of your index finger on the table, that they don't get too fragmented. You might also consider using a strategy of daily score on the table that would allow you to remove partitions over 90 days, which would be much faster.

  • How to disable the user to not import the structure of the table in ODI

    Hello

    I want to disable the not not to import the table structure in to ODI. How we achieve this.

    Please let me know.

    Thank you.

    Take the metadata of the user Admin role

Maybe you are looking for