Need to update target data source in ODI

Hi All,
I have 2 tables 1. Tab_abc(col1,col2,col3,col4,col5) & 2. Tab_xyz(col1,col2,col3).
Tab_abc has already some records with NULL values in col2& col3 and Tab_abc.col1 = Tab_xyz.col1
I need to update col2 & col3 in Tab_abc.
I have used IKM: oracle Incremental update
and checked col2& col3 for update and made col1 as key.
But it is giving some problem.
COuld you please let me know, in deatail to solve this issue.
Thanks.

It seems you are on the right track. On the target table , you have made col1 as key.
The only issue is that it will update all your target columns ( col2 , col3 ) based on the entries of source columns ( col2 , col3 ).
One of the prospective solution can be make a join of target with the source or simply put a filter to find out the rows which have col2 , col3 in target as null.
i.e.
on Source table put the filter
Tab_abc.col1 in( Select Tab_xyz.col1 from Tab_xyz where Tab_xyz.col2 is null or Tab_xyz.col3 is null ).
BUT in this case , col2 and col3 both values will get updated if any of the value for col2 ,col3 is null for particular row.
If you want to update only null valued columns then you will need to create interface based on the following query :
update Tab_xyz set (col2,col3) = ( select NVL(a.col2,B.col2),NVL(a.col3,B.col3) from Tab_abc B,Tab_xyz a
where Tab_xyz.EMPLOYEE_ID = B.EMPLOYEE_ID and A.EMPLOYEE_ID = B.EMPLOYEE_ID)
where col3 is null or col2 is null;
For this you need to make a join of target table with the source table.
Hope it helps

Similar Messages

  • Mapping constant values to the target data source columns

    Hi
    A Target data source has only two columns(RPT_NAME, RPT_LEVEL) and both of them are constants and mapped as follows
    WITH TEMP1 AS
    (select 'AS' as A from dual
    union
    select 'IS' as A from dual
    union
    select 'ED' as A from dual
    select t.A as RPT_NAME, 'INV' as RPT_LEVEL from TEMP1 t
    Here there is no source tabel involved for mapping and gnerating a from query.
    Kindly let me know hoto map this table.
    Thanks

    Hi Amit
    Is there a way we can create an intermediary staging table or model or view in ODI itself, the business requirements are such that the source and the target databases cannot change/include any other view or table .
    Thanks

  • Multiple Target Data Sources

    JDeveloper v11.1.1.2
    Is it possible to set multiple Target Data Source iterators in the edit tree binding dialog?

    Hi Ananda
    Thank You very much for your reply!
    B) Yes same data is required in both the applications, but not completely same format or structure. E.g. Siebel is the Customer Hub for the client. All the customer data are required to be migrated to multiple applications (say Oracle EBS & Oracle BRM) after verification process, which happens end of the day. What I require is, the ODI interface should pull data from Siebel once & upload those to both Oracle EBS & Oracle BRM simultaneously as per the mapping rules defined for them. Basically I wanted to avoid hitting Seibel applications twice for pulling Customer data by creating two separate interfaces. Is it possible by using ODI???
    C) Please take same customer scenario in B. Customer is inserted to Oracle EBS & Oracle BRM using two different interfaces executed sequentially in a package. I want to maintain atomicity. i.e. Either Customer to be created in both or none of the applications. If that particular customer failed in 1st interface, it should try in 2nd interface. Also if it get failed 2nd interface, it should rollback in 1st interface. Can this be achieved in ODI?
    Hope, the above would clear my query.
    Thank You Again
    Priyadarshi

  • ADF Tree Target Data Source works badly(doesn't with certain circumstances)

    Hi OTN,
    On my ADF page I have an af:TreeTable. It exposes 3 levels of hierarchy.
    The DataModel is:
    ComponentVO
    - ParameterVO
    - - IndexVO
    All 3 are based on ComponentEO entity.
    There are also 3 dependant tables on the page, which shows those 3 VOs.
    I want the selection in tree to change current row in all three tables.
    I'm trying to use Target Data Source feature in a tree binding.
    For each level of the tree I specified a target data source like "${bindings.ComponentView1Iterator}".
    Also added a partialTrigger attributes to tables to be refreshed upon tree selection.
    At runtime I see this feature work almost good.
    I click the tree nodes and see all three tables updating current row but there is a situation when they don't.
    Say, we have a following node structure:
    c1
    - p1
    - - i11
    - - i12
    - p2
    - - i21
    When I select i21 and trying to switch to i11 directly (without clicking p1) nothing happens.
    It seems Target Data Source feature doesn't work on parent nodes having only one child.
    I've tried removing PartialTriggers, changing ChangeEventPolicy... no luck.
    Could someone help coping with the problem?
    Thanks.
    ADF 11.1.1.4, Firefox 4
    Here's tree binding:
    <tree IterBinding="ComponentView1Iterator" id="TemplateTreeView1">
          <nodeDefinition DefName="model.view.ComponentView"
                          Name="TemplateTreeView10"
                          TargetIterator="${bindings.ComponentView1Iterator}">
            <AttrNames>
              <Item Value="Name"/>
            </AttrNames>
            <Accessors>
              <Item Value="ParameterView"/>
            </Accessors>
          </nodeDefinition>
          <nodeDefinition DefName="model.view.ParameterView"
                          Name="TemplateTreeView11"
                          TargetIterator="${bindings.ParameterView1Iterator}">
            <AttrNames>
              <Item Value="Name"/>
            </AttrNames>
            <Accessors>
              <Item Value="IndexView"/>
            </Accessors>
          </nodeDefinition>
          <nodeDefinition DefName="model.view.IndexView" Name="TemplateTreeView12"
                          TargetIterator="${bindings.IndexView1Iterator}">
            <AttrNames>
              <Item Value="Name"/>
            </AttrNames>
          </nodeDefinition>
        </tree>Edited by: ILya Cyclone on Apr 25, 2011 7:16 PM

    Hi,
    works fine for me. I created a tree and used the ChangeEvent policy on the referenced iterators.
    Frank

  • What are all the Standard Data targets&Data source for Warehouse management

    Hi,
    What are all the Standard Data targets & Data source for Warehouse management.
    Thanks,
    Ahmed.

    HI,
    the master data
    1.equipment data --IE01
    2.All functional locatiions -IL01
    3.Maintainnace work centers - IR01
    4.Task list data - IA05
    4.Schedule maintanence plan
    6.Strategies
    7.Measuring points
    8.Characters for calibration
    9.Equipemnt BOM
    10.Material BOM
    Regards,
    Anddra

  • What are all the Standard Data targets&Data source for Transportation Manag

    Hi,
    What are all the Standard Data targets & Data source for Transportation Management.
    Thanks,
    Ahmed.

    HI,
    the master data
    1.equipment data --IE01
    2.All functional locatiions -IL01
    3.Maintainnace work centers - IR01
    4.Task list data - IA05
    4.Schedule maintanence plan
    6.Strategies
    7.Measuring points
    8.Characters for calibration
    9.Equipemnt BOM
    10.Material BOM
    Regards,
    Anddra

  • Target data source does not support the AGO operation

    Hi,
    In BI Admin Tool, I join Essbase cube and relational source. Then I apply Ago function to Essbase measures. In BI Answer, I try to run query that includes Essbase Ago measures and relational columns(non measures), error message shows the following detail:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 22001] Target data source does not support the AGO operation. (HY000)
    When I remove the relational columns or run Essbase current-date messures, the result is fine.
    So, what's exact meaning of this error message? and does the relational columns (non-measure) support Essbase measures' Ago function?

    to clarify:
    fail case:
    criteria
    YEAR | YTD,gen03 | MONTH_NAME | SALES(YEAR_AGO)
    cube dimension: year, ytd,gen03
    relational source: month_name
    cube measure using AGO(): sales(year_ago)
    result: error messageSuccess case:
    criteria
    YEAR | YTD,gen03 | SALES(YEAR_AGO)
    cube dimension: year, ytd,gen03
    cube measure using AGO(): sales(year_ago)
    result: success~! how can i solve it? thx

  • Unable to configure ODBC data source through odi

    Hi,
    Let me explain the architecture first.
    We have three machines
    1. OpenVMS machine on which connx server is running for RMS files, say SRC
    2. Windows machine on which ODI Data Studio 11.1.1, Say WRKSTN, This has connx client installed
    3. Target is HP-UX on which SYBASE is running, say TRGT. On target we have installed connx client and ODI Stand alone agent and agnt01 is the name of the agent that is running
    My Requirement is,
    I need to pull the data from SRC and load it into TRGT using the ODI  agent agnt01, through ODBC data connectivity.
    If i configure DSN on my WRKSTN they the agnt01 is unable to identify. If i configure a DSN on HP-UX machine then i am not able to specify that in ODI Sun odbc: Jdbc bridge driver.
    Kindly help me as to how i can resolve this
    Thanks,
    Rajesh H

    Configuring DSN on windows workstation would not help as the agent is not running on that machine. The DSN has to be configured on the machine where the agent is running on which you want to execute the flow. What error are you getting on trying to specify the DSN name on HPUX in the data server jdbc url?

  • Po not updating in  data source

    Dear sir,
    Issue
    I created a Purchase order for an article to a site.It is required to update in a Data source .But it is not updating . Please help me.
    Anlysis
    I tried after doing Goods receipt too, but it is not working.
    I need it to update it because R/3 will get updated in a data source and BI fetch the data from the(R/3) data source to infor source (BI).So if we need data available in BI it has to be in R/3 data source. please help. data source we use is 2LIS_02_SCL
    regards
    manu

    k

  • Need to change report data source on reports in a copied universe

    We are setting up a new testing environment.  So I made a copy of our BO universe so we could have two different testing universes.  I then created a copy of the data source database that will be used as the data source for the reports in the copied universe.  The two different databases have the exact same tables, columns and indexes as the development database.   The only difference will be the data inside the tables. 
    I now need to change the reports to use the new universe since the reports were written using the universe instead of using the database.  I am not changing anything else in the reports.  I just need them to run against a different Oracle database. 
    So I go into Crystal Reports version 11.5.0.313 and open the report up.  I then go into Database fields in Field Explorer to change the data source.  I then go to the Set Datasource Location screen.  I open up the universe label by clicking on the plus sign and I select the copied universe.  When I do that, the Business Objects Query panel screen opens up.  Because I have switched universes, Crystal Reports wants me to reselect the columns and rebuild the query.
    We have over three thousand reports so we are trying to avoid rebuilding them.  I am looking for a better way to change what database a report runs against. 
    Note: All of the reports will be run ion demand.  Nothing will be scheduled.
    Any suggestions and information will be greatly appreciated. 
    Has anyone run into this?   What was your solution to this problem?

    Hi Joe,
    Moved your post to the Universe Forum.
    First you are using the original release of XI R2. You need to upgrade to Service Pack 6 by:
    Run License Manager first to get the keycode if you don't have it on paper somewhere.
    Then download these and uninstall then run full build first:
    https://smpdl.sap-ag.de/~sapidp/012002523100011802732008E/crxir2_sp4_full_build.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100013876392008E/crxir2win_sp5.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe
    Try again
    Don

  • Needing to use xml data source to populate richfaces tree nodes

    Hey I cant seem to figure this out. I know I probably need to write some java code but Im not sure how it should look. I have some xml and I need to use the data from within the elements to populate some nodes on a richfaces tree.
    I know how to use a .properties file as the data source for the nodes, and how to use some existign nodes to populate the nodes. Both are done with java code I can post here if needed.
    But I dont know how to go about writing the java code to take the data from xml elements, and then somehow parse it to use in a richfaces tree.
    Here is some info on what Im using with my project:
    eclipse
    simplexml
    httpclient
    jsf
    richfaces library

    Adobe Newsbot hopes that the following resources helps you.
    NewsBot is experimental and any feedback (reply to this post) on
    its utility will be appreciated:
    Flex 3 - Using item renderers with the AdvancedDataGrid
    control:
    Flex Data Visualization Developer's Guide / Advanced Data
    Grid Controls and .... that the item renderer is for column 2 of
    the control: <?xml version='1.0'?
    Link:
    http://livedocs.adobe.com/flex/3/html/advdatagrid_10.html
    DataGrid ItemRenderer - Flex India Community | Google Groups:
    Apr 28, 2008 ... My dataGrid itemRenderer displays a certain
    icon and sets fontStyle ... <mx:Label id='txt' fontWeight='bold'
    text='{data.subject}'/>
    Link:
    http://groups.google.com/group/flex_india/browse_thread/thread/bd30dd974da47d68
    Flex 3 - DataGrid control:
    <mx:Button label='Toggle Price Column'
    click='price.visible = !price.visible;' ... Flex lets you populate
    a DataGrid control from an ActionScript variable
    Link:
    http://livedocs.adobe.com/flex/3/html/dpcontrols_6.html
    Flex Fun - Advanced DataGrid Topics:
    You will notice that the datagrid doesn't have any header
    labels or vertical ..... After the opening tag we add a
    <mx:itemRenderer> telling Flex that we are
    Link:
    http://blog.paranoidferret.com/index.php/2007/08/29/flex-fun-advanced-datagrid-topics/
    Flex 3 - Instrumenting RandomWalk events:
    Flex Data Visualization Developer's Guide / Advanced Data
    Grid Controls and Automation Tools ... itemRenderer = child as
    Label; dispatchEvent(rEvent);
    Link:
    http://livedocs.adobe.com/flex/3/html/functest_components2_20.html
    Adobe Flex 2: Advanced DataGrid:
    Adobe Flex 2: Advanced DataGrid. Drop-in RadioButtonGroupBox;
    runtime computed .... Anatole authored number of books and articles
    on AJAX, XML, Internet and
    Link:
    http://flex.sys-con.com/node/311283
    Disclaimer: This response is generated automatically by the
    Adobe NewsBot based on Adobe
    Community
    Engine.

  • XML Publisher: Need to change OKCTERMSDS Data Source

    My client requires that the XML Publisher Sourcing Template and the Contract
    Terms Template be customised to fit in with their coroprate look-and-feel.
    Whilst I have no issue with being able to change the XSL to create a new
    Template, the underlying XDO Data Sources for these two Templates do not
    contain all of the fields that I require.
    For example, my Customer requires the RFQ/RFI Description field on the final
    output; this does not appear in the XML data file.
    Normally the Short Name on a Data Source relates to a Concurrent Manager
    Program Short Name, but I am unable to find any Programs relating to
    PON_DATA_SOURCE or OKCTERMSDS.
    My questions are:
    1) How are these XML files generated?
    2) Can the "programs" behind the XML generation be changed?

    The XML for the documents are generated by the product code using BC4J XML generation. No concurrent program is involved in it.
    As regards to including additional fields from Sourcing documents into the XML generated, you can use the BC4J extension fwk to extend the ViewObject that generates XML and modify the query to include any additional fields as needed.
    All the above assumes knowledge of Oracle Application Framework and the customization fwk. There is a Metalink Note (dont know the exact id) which explains how to extend BC4J objects and deploy them.

  • Need Information about Generic Data sources

    Hi Experts,
    I need some information about Generic Data Sources in SD & MM applications.
    Can you please tell me on which Tables u have created Generic Data sources ?
    Just explain 2 scenarios.
    This is very helpful for my Interviews.
    Thanking you.

    HI,
    TBD10 --- Def., out of which IDOC fields a filter object is to be read
    BD59 maintains that table
    Rhea.
    Edited by: rhea on Nov 4, 2008 2:09 PM

  • Need help on LO data sources

    We have Backlog, Booking ,Billing reports data coming from R/3 wtih 3 diff data sources ...2lis_11_v_itm , 2lis_11_vaitm and 2lis_13_vditm.  For the contract orders we have a document flow for each document , and we can able to pull that data with billing data source vditm...but if we want to show the same for booking and backlog we are unable to pull that data with v_itm and vaitm....any inputs on this how we can bring contracts data in to BI for bookings and backlog
    I see that vditm is getting the data from VBRP and when I check for the contract documents I can able to see them in VBRP. But vaitm and v_itm are getting the data from vbap, vbak,vbkd etc...
    regards
    Edited by: sam on Feb 14, 2008 9:38 PM

    Hello Sam,
    I am not sure if your problem is based on not getting customer orders at all or on not matching records.
    If you do not receive the expected customer orders you should check if the corresponding delta job runs in R/3. This can be done in transaction LBWE.
    If you get customer orders but do not find the link between invoices and orders, it might be caused by not matching keys. While the key for 2LIS_13_* is the invoice number, it is the order number for 2LIS_11_*.
    I hope that these hints help to solve the problem.
    Kind regards,
    Stefan

  • Mapping of target data source

    hi all,
    while mapping the target datasource column we just write the column name in the mapping area and the query will automatically be generated.
    but i want to write my own query in the mapping area.
    how can i do this?
    means i am not able to write the 'from table_name' statement in the mapping area.
    please give any solution.
    regards,
    prateek.

    hi,
    thanks for rplying.
    if i put the where condition at the source database using filter then all the data will be filtered.
    but in my case the where condition is required only when i am inserting the data to target.
    if i put the filter at the source then the whole answer will get filtered.
    and one more thing, while inserting the data to the target datastore we can execute the query only on one of the source data store.
    the value that i want to insert in the target column requires a query to get executed on two tables(source datastore).
    is there any way to execute that query on more than one or two datastore?
    can u please tell me that how to change the filter condition at the interface level?
    thanks and regards,
    prateek.

Maybe you are looking for

  • Error when executing Webservice in BW

    Hi, I am trying to execute Web service in Web service navigator and i am getting the following error HTTP/1.1 500 Internal Server Error content-type: text/xml; charset=utf-8 content-length: 600 accept: text/xml sap-srt_id: 20100823/155814/v1.00_final

  • SUP 2.0 Why the sybase Messageing Service doesn't start?

    Hellow experts, SUP 2.0 Why the sybase Messageing Service doesn't start? When I start the service, it starts and ends indicating "if they are not in use by other services or programs; it will end automatically" What should I do for this? Thanks Praba

  • Help!  Image in an applet

    Hi, I'm having some trouble displaying an image in my applet. I drew something in MS Paint, saved it as a gif, and want to draw it in my applet. I have tried using two methods to load the image: map = getImage(getCodeBase(),"cheese.gif"); and Toolkit

  • Mp4 video files convert to QT for import

    I have mp4 video files and I'm trying to import them into FCP but they are unrecognizable. What is the best way to convert them? J

  • How do I print an invoice for my order? It says I have not requested an invoice!

    When I click on the print invoice button when viewing my order, it does not print and comes up with and error message saying, I have not requested an invoice. I cannot find anywhere where it allows me to request an invoice!