Thursday, 7 August 2014

ODI 11G INTERFACE FOR TOTALSAL AND TAX

ODI 11G INTERFACE FOR TOTALSAL AND TAX


Step 1: Reverse engineer source into source model

  1. right click on scott source model and reverse engineer emp table
Step 2: Reverse engineer Target into Target model

  1. Create table in target database
    CREATE TABLE TGT_EMP
 (
   EMPNO    NUMBER,
    ENAME    VARCHAR2(30),
   SAL      NUMBER ,
    COMM     NUMBER,
   TOTALSAL NUMBER,
   TAX      NUMBER,
    DEPTNO   NUMBER
  )

  1. Right click on TDBU Target model and reverse engineer tgt_emp table
Step 3: Create interface

  1. Expand projects → Right click on interface → new interface → name it as m_TOTALSAL_TAX
  2. Go to mapping tab
  3. drag and drop source EMP and target TGT_EMP into respective areas → click on ok on auto mapping window
  4. Go to totalsal column → in properties pane develop below expression
  5. Go to Tax column → in properties pane develop below expression
  6. select flow tab  → then select target → select IKM SQL CONTROL APPEND
  7. select flow option as FALSE
  8. save → run → observe output of TGT_EMP table

No comments:

Post a Comment