Create Target Table Automatically with ODI

Hi,
We can reverse engineer the source table Schema from the source Database, does ODI support creating the target schema based on the source schema on the Target Database automatically? is there any better way rather than creating manually on the target DB? Thanks in advance!

If you are setting the staging area different from target then at IKM level choose CREATE TARGET TABLE to YES.
ODI will create the target table for you. In ODI we call this type of interface as Yellow Interface.

Similar Messages

  • Create target table using ODI model

    Hi all,
    I am new to ODI. I am trying export RDBMS table to RDBMS table from source to target.
    whether we need to create target table structure in trg schema or we can create using obi trg model by selecting new datastore.
    In owb while loading target tables are created and data will be loaded.
    Pls help me regarding this.
    thanks in advance.

    Hi
    You can create it in both ways.if you create datastore by using ODI you must select create target table option in flow while loading to target.

  • CREATE TARGET TABLE

    Hi All,
    Can we create a target table in ODI as like we create target definition in Informatica. If yes, please let me know as i'm new to ODI.
    Also can you please give me a simple example on how variable works.
    Thanks,
    VBV

    Hi VBV,
    How are you?
    Yes, its possible to create target table thro interface at run time.
    In all IKM (at Flow tab) you can find CREATE_TARG_TABLE, if you opt that to YES it will create the table in the back end.
    For variables, please refer Note:471564.1 in metalink.
    Thanks,
    G

  • How to create advance table region with columns by code

    hello friends
    i need to create advance table region and columns dynamically ... for that i want to know any code snippet do you have
    please share with me that would be really great help

    Hi ,
    It is not possible through code but
    1.) U can create a new custom OAAdvanced table under a custom region using JDeveloper.
    2.) Create stack layout bean using personalization on the page ,and in extend property of StackLayoutBean mention the complete path of above custom region .
    Thank
    Pratap

  • How to create sales order Automatically with reference to contract?

    how to create sales order automatically through batch or online? can anyone please suggest what needs to be change in SAPMV45A program?

    Hi,
    Wt am able to understand from the above question is, you want to create automatic sales order against contract on a day to day basis by doing batch program, hope am wright.
    See you can do it in two ways.
    1. By using BDC, in SHDB T code record how exactly you will do transaction and then give it to your abaper rest he will do. he will write a program and he will schedule that program every day night.
    2. By using BAPI. Just check in there are many threads are there which gives sales order bapi. Tell your abaper to map that bapi and tell them to schedule back ground job.
    Hope this will help out in solving your problem.
    Regards,
    Nagesh

  • Can we create a table field with more than 1200 char length

    Hi,
       As per business requirement, need to create new table - and one of the field should contain 1200 char length. i found the sap data element but when i was activating it was throwing an error.. is there any alternative for this.
    Thanks in advance.

    hi jayasri,
    Can you use datatype as LCHR for the character string.
    before creating the string you need to decalre one INTEGER field.
    you can refer to the table EDID4 where SDATA field declared.
    check for the data  type EDI_SDATA.
    Hope this will solve your problem.
    Regards,
    Madhavi

  • How to create a table report with alphabetic link at the top

    Hello,
    I have a db table of users, and have created a report based on this table, however I want to have each aphabet letter at the top of the report so that users can click on the letter and see all records where the username field starts with that letter.
    How can I achieve this?
    Thanks,

    Hello user11243298 (please tell us your name),
    Your report query would look something like this (assuming page number is 1):
    select some_column1, some_column2
    from your_user_table
    where username like :P1_INITIAL || '%'
    For the letters at the top of the report, here's a couple options:
    - If you want all letters to appear whether or not there are any rows, you can create a series of buttons or links, one for each letter, and specify the target URL to submit back to the report page, setting the item P1_INITIAL to each letter.
    - If you want only letters that have rows, one way is to create a dynamic LOV based on a query like this:
    select distinct upper(substr(username, 1, 1)) d, distinct upper(substr(username, 1, 1)) v
    from your_user_table
    order by upper(substr(username, 1, 1))
    Then use that for a select list with submit, again targeting the report page and setting P1_INITIAL to the selected value.
    Hope this helps (if it does, please reward it),
    John

  • New Row gets created in table automatically

    Hi all,
    I have a panel box(pb1) in my JSFF which has a table(tbl1).
    When the table is empty, if i collapse table's parent panel box i.e. pb1,
    n again expand it..,I see new row created in the table...
    I haven't put any code to create new blank row in table view object on collapse n expand of panel box...
    How to fix this issue..?
    JDEV vesion : 11.1.1.4.0
    Please reply...
    Thanks.

    Hi yaminip,
    Its not necessary to put the code in expand and collapse action of the panel box may it can be in different place
    and the table may refersh while u expand /collapse the panel box and new row came to visible.... keep break point in the EntityImpl Create method or ViewObjectImpl InsertRow method
    Find when its get fired........
    Regards,
    Suganth.G

  • What way can I format my emails so iphone can create calendar events automatically with all the information?

    I use a website to send emails to myself. It already sorta creates the calendar event but requires a lot of editing. The link-back to the email makes it super easy to just go to the original. But I'm wondering if there's a specific format I can put the emails so that when creating the calendar event, it just has all the information, instead of parts of it?

    Please don't respond with useless comments.  I've already addressed the fact that my screen was broken a few months ago.  My phone may or may not be broken beyond repair either way, as I said before I can't afford a new phone.  It's a strange problem because from what I can tell no one else has posted the same problem anywhere I can find.  Don't be a dickhole.

  • Create PO Output automatically with a job

    Hi together,
    I'd like to send eMails out of SRM for new and changed PO's. Does somebody know an abap program for this task so that I can sheduled a job ?
    Kind Regards

    Hi,
    Please check your PO output customizing. You do not need to schedule any job.
    SRM -> SRM Server -> Cross-Application Basic Settings -> Set Output Action and Output Format -> Define Actions for Document Output.
    Processing Time = Processing when Saving Document
    If you want to schedule a job, select Processing Using Selection Report option and schedule the RSPPFPROCESS program.
    It is documented in the IMG document.
    Regards,
    Masa

  • ODI - Create a Target Table Definition from a source  View defination

    Hi ,
    I have source as Oracle View with bunch of fields and want to create target table in MSSQL server by using oracle view. can you please guide me that how i can build with help of ODI.
    Thanks in advance.
    Regards,
    Bhavik
    Edited by: user629194 on Nov 6, 2009 10:46 AM

    Hi,
    Use a small trick...
    Duplicate the Oracle view (right-click on it), edit and change from view to table.
    Drag and drop the duplicate into the MS SQL Server model
    In the interface, change the "Create target Option" to yes at IKM Options...
    That is all!
    Works?
    Cezar Santos
    [www.odiexperts.com]

  • Error Message: "Excel cannot complete this task with available resources" when creating pivot table with Excel 2013

    Hi, 
    One of our users encountered this problem with Excel 2013 while creating pivot tables, particularly with large files. We tried to modify Virtual Memory
    of the pc but error still persist. Why does this happen and how can we resolve this? Thanks.
    Another error message encountered by the user, this time when opening large files. The files she tried to open are working fine in 2010. But when opened in 2013, it prompted : "There
    isn't enough memory to complete this action. Try using less data or closing other applications."

    Hi,
    In regarding of the issue, please provide us more information to assist you better.
    Did your user using the Excel 2013 and Excel 2010 with same PC? If not, please let me know the both of the 2 PCs' hardware list/Windows operation system info.
    Did you using Excel 2013 32bit version and Excel 2010 64bit version?
    General speaking, this issue usually occurs with Office 2013 32 bit version. It has a limitation of 2Gb of memory that can be used by its process. And the 64-bit Excel can handle larger workbooks.
    Thus, if your user using 32bit Excel, I recommend try 64bit Excel instead.
    Here is a similar issue, we also could try it:
    http://answers.microsoft.com/en-us/office/forum/office_2007-excel/excel-cannot-complete-the-task-with-available/d31b1822-ebde-4c9b-8d11-e54bb652847d
    If you have any update, please feel free let us know.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • SQL Error : missing expression - Creating XML file with ODI

    Hi,
    I saw threads about errors like this and read that maybe it can come from how I chose the staging area. I still can't see where the problem is. I'm trying to create an xml file from data stored in a Oracle database. The interface which execution fails select data from tables and create a tag in the XML file. Here are information about it :
    The staging area is diferent from the target and is an oracle database schema. (I guess it creates temporary tables in that schema ?)
    In the flow tab, the LKM is LKM SQL to SQL, the option delete temporary objects is set to yes.
    The IKM choice for the target is IKM SQL Control Append and options are as following :
    - insert : yes
    - commit : yes
    - flow contreol : no
    - recycle errors : no
    - static control : no
    - truncate : no
    - delete all : no
    - create target table : yes
    - delete temporary objects : yes
    Columns mapping in the target are the following :
    WKID        >     THEADER.WKID
    EXTID        >     THEADER.EXTID
    ORDER     >     THEADER.ORDER
    INSTFK     >     THEADER.INSTFK
    For every column in the target :
    - Run on source
    - Updating : insert, update and ud4 are checked
    no update key is defined
    In the operator, the step failing when running the interface is the loading data in the work table.
    If you need the SQL request in the execution plan, or anything else, please tell me.
    Thank you in advance for any help on this.
    Marie

    It would help if you provide error message and its stack trace.
    Please also look at the documentation (If not already done so) for creating xml file XML Files - 11g Release 1 (11.1.1)

  • Create a table with all the months between two dates

    Hi all,
    I have a purchase table recording individual purchases. One of the fields is my Date field (date of purchase).
    I would like to create a table 'All_months' with two entries ('month_no' and 'month') which will be based on the first and last date in the purchase table. Assuming the first purchase recorded in my purchase table was on the 12th of January 2008, the table should have the following structure:
    month_no month
    1 12JAN2008
    2 12FEB2008
    3 12MAR2008
    It should continue in this fashion up-to the month where the last purchase was recorded.
    I have been struggling with creating the query that would do that for days now and can't find anything when asking Mr Google.
    Thanks,
    Chris

    Welcome to the forum!
    Here's one way:
    CREATE TABLE     all_months
    AS
    SELECT     LEVEL                    AS month_no
    ,     ADD_MONTHS ( first_date
                 , LEVEL - 1
                 )               AS month     
    FROM     (
              SELECT     MIN (date_of_purchace)     AS first_date
              ,     MAX (date_of_putchase)     AS last_date
              FROM     purchase
    CONNECT BY     LEVEL <= 1 + MONTHS_BETWEEN ( TRUNC (last_date,  'MONTH')
                                 , TRUNC (first_date, 'MONTH')
    ;Do you really need a table like this? Every time you change the data in the purchase table, you won't know if all_months is still accurate or not. You can derive all_months in a sub-query every time you need it, or make all_months a view instead of a table.
    Edited by: Frank Kulash on Jun 14, 2012 5:57 AM

  • Null value in target table

    Hi All
    I am using ODI 10.1.13
    I have declred teh Target datastore
    and mapped the target datastore with source in teh interface
    But when ODI is creating teh target database all the columns are created with accepting NULL Properties.
    where as i hv declared some as null and some with notnull.
    when i checked in IKM Oracle Incrimental KM(MERGE)-> create target table step
    the coding is
    create table <%=odiRef.getTable("L", "TARG_NAME", "A")%>
         <%=odiRef.getTargetColList("", "[COL_NAME]\t[DEST_CRE_DT] NULL", ",\n\t", "")%>
    due to which the target table is created with all field havine NULL properties.
    But i want the columns should hv the properties declared in the datastore.Eg. some columns with NULL and some columns with NOT NULL properties.
    Please help..
    Gourisankar

    In the IKM Merge , change the null to + odiRef.getInfo("DEST_DDL_NULL") so finally something like this <%=odiRef.getTargetColList("", "[COL_NAME]\t[DEST_CRE_DT] " + odiRef.getInfo("DEST_DDL_NULL"), ",\n\t", "")%> For bulk insert try SQL Control Append

Maybe you are looking for

  • How to Lock an entire Project in Solution Manager ?

    I am trying to lock our project baseline in Solution Manager.   I have locked at the highest structure node, but have noticed that there are lock options on each business process and/or process step and they are 'unlocked' even though I locked the hi

  • I trashed a File and Can No Longer Connect

    I trashed some file or something and now I can't connect to the internet. I have the 800MHz G4 (2.1) running OS 10.3.9. There was an icon of something mounted on my desktop that bugged me and I trashed it along with something or other else and lost c

  • Vendor downpayment

    while posting cendor downpayment error massage coming Define a leading ledger

  • JTextArea

    hi all, i am new to java please help me I am using JTextArea.. I added one JTextArea to panel in the south(I used borderlayout) the problem is I want to fix the height of the JTextArea so Is there any method to fix the height... please help me on thi

  • New phone - iMessage and Facetime not working with number?

    I had a 4s and recently got a 5s, and now iMessage on my Mac only has my email as an option. My phone number is the same. I searched around for a solution, and one involved signing out and back into both iMessage and Facetime on my Mac, so I did, and