ODI 12c Reusable Mapping Concept

Hello everyone,
I need and want to learn ODI. Using 12.1.2 edition, the problem is now about reusable mappings. The only thing found in google is the definition, there is no samples about how to use it! Google does not help me, can you?
Please,
Thank You

Hi,
A Reusable Mapping is just a mapping that can be used as a component within another mapping. It's rather like a subroutine or a procedure.
The main difference between a Reusable Mapping and a regular mapping is that the Reusable Mapping can contain input and output signatures. These signatures define the input parameters to the reusable mapping, and the output parameters. When the Reusable Mapping is displayed in a regular mapping, all you see are the signatures, which you connect up to your other components, just as you would a datastore or an aggregation.
Within the Reusable Mapping editor, you connect your input and output signatures to the components that you use to define the reusable mapping. So for example, if your reusable mapping's purpose was to filter out values less than 0, you would
- create your reusable mapping (specifying that it has input and output signatures)
- add an attribute to the input signature, INPUT.IN
- add an attribute to the output signature, OUTPUT.OUT
- drag a filter into the diagram
- link the input signature to the filter input,
- define the filter condition ( INPUT.IN > 0)
- link the filter output to the output signature
Then you would open your regular mapping, drag your reusable mapping into, and link a source table to it, with a suitable attribute mapping . The output from the reusable mapping would then be connected to the next component in the flow, and would provide attributes that are greater than 0.
This is a very trivial example, but your reusable mapping can be as complex as you like. It can even contain other reusable mappings itself, allowing you to break your logic into more manageable, and more maintainable chunks.
Nigel

Similar Messages

  • ODI 12c: no automatic joins in mappings

    Hi,
    exploring the freshly installed ODI 12c I'm eager to learn, in which way the OWB mapping concept has been transferred to ODI. Most features appear familiar to me, it's very exciting for me as old OWB guy
    One think seems buggy to me: when dragging 2 tables connected by foreign key into the mapping I expect a join object created automatically but this doesn't happen. Why not?
    I didn't apply any patch.
    best regards
    Thomas

    Hi Thomas,
    You've got it right there - joins are only created for foreign keys when using a dataset. The idea is that datasets present more of an Entity Relationship type view of your data objects, rather than a purely flow based view. So when you drop your sources into a dataset, ODI helps by using the foreign keys to create joins. When you drop a source into the general flow mapping, ODI assumes that you know what you want to do with it, and allows you to create the joins manually.
    Datasets are good for more than backward compatibility. They can be really useful for defining "islands" of data in your mapping flow, which you can then collapse and consider as a single unit. For example, you may have several datasets that each join numerous tables together, but once you've defined the datasets, you can collapse them so that each just looks like a single object, making your mapping a lot simpler to work with.
    I'm afraid I don't know if there's a mapping tutorial, but I'll get back to you if I can find one.
    Nigel

  • ODI 12c - Set staging table on source side

    Hello All,
    In ODI 12c, is there any default options I can choose if I want Staging Table (C$ Table -EXPRESSION_AP) be created on Source DB instead of Target DB?
    Or is it possible to skip creating the staging table with default IKM/LKM?
    Thanks in advance!

    In 12c the concept of specifying where to execute expressions has changed somewhat. You now have hints which ODI may override internally if there is a better execution plan.
    The following article provides a more detailed overview on execution hints, which by default are set to "No hint"
    https://blogs.oracle.com/dataintegration/entry/odi_12c_expressions

  • ODI 12c Hints

    Hi everyone,
    I am a new baby in Oracle and plus ODI 12c. Shortly my question is about adding hints to ODI. My query is;
    SELECT /*+ full(s) */
             s.sip_date,
             con.seg_behavior,
             s.organization_id,
             SUM (CASE WHEN s.no IS NULL THEN 1 ELSE 0 END) num_cust_without_card,
             COUNT (s.no) num_cust_with_card,
             COUNT (1) num_total_cust,
             COUNT (con.tmv_id) num_cust_with_segcard
    FROM xxmg_siparis s
             LEFT JOIN tmv.contact con ON s.tmv_id = con.tmv_id 
    WHERE s.sip_date >= TRUNC (ADD_MONTHS (SYSDATE, -3), 'mm')
                AND s.status = 5 
    GROUP BY s.sip_date, con.seg_behavior, s.organization_id
    However, the running query in ODI is;
    SELECT
             s.sip_date,
             con.seg_behavior,
             s.organization_id,
             SUM (CASE WHEN s.no IS NULL THEN 1 ELSE 0 END) num_cust_without_card,
             COUNT (s.no) num_cust_with_card,
             COUNT (1) num_total_cust,
             COUNT (con.tmv_id) num_cust_with_segcard
    FROM xxmg_siparis s
             LEFT JOIN tmv.contact con ON s.tmv_id = con.tmv_id 
    WHERE s.sip_date >= TRUNC (ADD_MONTHS (SYSDATE, -3), 'mm')
                AND s.status = 5 
    GROUP BY s.sip_date, con.seg_behavior, s.organization_id
    I want to add  /*+ full(s) */ hint to my query. How can I accomplish it? I searched google a lot, but Please help me.
    Thank you

    I can't attach any file, the buttons are inactive and I don't know the reason. I added full(sip) value to IKM Oracle Incremental update km ORACLE_HINT option. However; in designer tab, sip is in default container. Should I write full(default.sip) or full(sip). Also, under knowledge module tabs (IKM), I added many IKM incremental update modules (for SQL, MSSQL, ORACLE). In this case, which one ODI is uses is determined by the data server connection type? I want to guarantee that, these installed modules does not affect the others operation.
    Here is the output of generated code in simulation mode;
    Generated Session
    Session Name:
    CBS_MUSTERI_DILEK_DS_SESS
    Context Code:
    DEV01
    Step
    Step Name:
    CBS_MUSTERI_DILEK_DS_STEP
    Step No:
    10
    Step Type:
    MAPPING
    Ok Exit:
    0
    Task
    Task Type :
    EX_UNIT_BEGIN
    Task Name 1:
    SERIAL
    Task Name 2:
    MAP_MAIN
    Task
    Task Type :
    EX_UNIT_BEGIN
    Task Name 1:
    SERIAL
    Task Name 2:
    EU
    Task Name 3:
    EBS_APPS_UNIT
    Task
    Task Type :
    EX_UNIT_BEGIN
    Task Name 1:
    Load AMUSTERI_SEGMENT
    Task Name 2:
    IKM Oracle Insert
    Exe Channel:
    JDBC
    Source Logical Schema Name:
    EBS_APPS
    Source Isolation Level:
    DEFAULT
    Target Logical Schema Name:
    EBS_APPS
    Target Connection Name:
    DEV01
    Target Isolation Level:
    DEFAULT
    Target Technology Internal Name:
    ORACLE
    Target Command:
    INSERT /*+  APPEND    PARALLEL  */ INTO APPS.XXCBS_MUSTERI_SEGMENT ( "organization_id" ,  "tarih" ,  "seg_behavior" ,  "seg_kartli_musteri_sayisi" ,  "kartsiz_musteri_sayisi" ,  "kartli_musteri_sayisi" ,  "musteri_top_sayisi" ) SELECT
    (SIP_1.ORGANIZATION_ID) , (SIP_1.SIP_TARIHI) , (CONTACT_1.SEG_BEHAVIOR) , (COUNT(CONTACT_1.TMV_ID)) , (sum(CASE WHEN SIP_1.MUSTERI_KART_NO IS NULL THEN 1 ELSE 0 END)) , (COUNT(SIP_1.MUSTERI_KART_NO)) , count(1)
    FROM ( SELECT
    SIP.SIP_TARIHI SIP_TARIHI , SIP.ORGANIZATION_ID ORGANIZATION_ID , SIP.DURUM_ID DURUM_ID , SIP.MUSTERI_KART_NO MUSTERI_KART_NO , SIP.TMV_ID TMV_ID
    FROM XXMG.XXMG_SIPARIS SIP   WHERE  SIP.SIP_TARIHI >= trunc(add_months(sysdate, -3), 'mm')  AND  SIP.DURUM_ID = 5         ) SIP_1 ,  ( SELECT  FROM TMV.CONTACT CONTACT   WHERE  CONTACT.SEG_BEHAVIOR IN('KAYAN_YILDIZ', 'ALTIN_ISLEM', 'YENI', 'YILDIZ') CONTACT.SEG_BEHAVIOR         ) CONTACT_1   WHERE  SIP_1.TMV_ID = CONTACT_1.TMV_ID
    GROUP BY  (SIP_1.ORGANIZATION_ID),(SIP_1.SIP_TARIHI),(CONTACT_1.SEG_BEHAVIOR)        
    CONTACT.TMV_ID TMV_ID , CONTACT.SEG_BEHAVIOR SEG_BEHAVIOR

  • How to generate documentation for ODI 12c?

    Hi,
    How to generate documentation of maps for ODI 12c?
    Hugs,
    Rafael

    Hi,
    Please go through the below links
    Oracle Data Integrator Solutions: Generating Documentation from Oracle Data Integrator (ODI)
    http://docs.oracle.com/cd/E28280_01/integrate.1111/e12643/organizing_documenting.htm#ODIDG517
    Thanks,
    Pratik

  • Not able to see ikm oracle incremental update and ikm oracle slowly changing dimensions under PHYSCIAL tab in odi 12c

    not able to see ikm oracle incremental update and ikm oracle slowly changing dimensions under PHYSCIAL tab in odi 12c
    But i'm able to see other IKM's please help me, how can i see them

    Nope, It has not been altered.
    COMPONENT NAME: LKM Oracle to Oracle (datapump)
    COMPONENT VERSION: 11.1.2.3
    AUTHOR: Oracle
    COMPATIBILITY: ODI 11.1.2 and above
    Description:
    - Loading Knowledge Module
    - Loads data from an Oracle Server to an Oracle Server using external tables in the datapump format.
    - This module is recommended when developing interfaces between two Oracle servers when DBLINK is not an option.
    - An External table definition is created on the source and target servers.
    - When using this module on a journalized source table, the Journaling table is first updated to flag the records consumed and then cleaned from these records at the end of the interface.

  • WIKI: Mapping Concepts in SAP XI

    Hi all,
    I have posted a WIKI for the mapping concepts in SAP XI, where you could find the details of various blogs and other links regarding the mapping concepts in SAP XI.
    Please refer this link:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/mappingConceptsinSAPXI
    Regards,
    Nithiyanandam

    Hi,
    check this links
    Comparing Performance of Mapping Programs
    Message mapping
    Message Mapping Simplified - Part I
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm
    New functions in the Graphical Mapping Tool XI 3.0 SP13
    File Content Conversion for Multi Hierarchical Structure
    Message Splitting Using the Graphical Mapping Tool
    Number formatting to handle LARGE Numbers
    Optimizing Lookup's in XI
    Minimize memory usage during Message Mapping when replicating an element
    Mapping Context Changes in XI
    /people/jeyakumar.muthu2/blog/2005/12/19/data-mining-using-apriori-algorithm-in-xi-150-part-ii
    /people/jeyakumar.muthu2/blog/2005/11/23/data-mining-using-apriori-algorithm-in-xi-150-part-i
    /people/jeyakumar.muthu2/blog/2005/12/30/data-mining-using-apriori-algorithm-in-xi-150-part-iii
    Java Mapping to handle flat files in SAP XI
    xpath functions in xslt mapping
    http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/content.htm---java mapping
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50ce0433-4309-2b10-4bb4-d421e78463f7 -
    java mapping
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00ee347e-aabb-2a10-b298-d15a1ebf43c5  -
    value mapping
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
    ABAP MAPPING
    The specified item was not found.
    How to call XI ABAP Mapping via RFC
    Different types of Mapping in XI
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/3.0/how%20to%20use%20abap-mapping%20in%20xi%203.0.pdf
    - The specified item was not found.
    Testing ABAP Mapping
    XSLT
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
    xpath functions in xslt mapping
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/006aa890-0201-0010-1eb1-afc5cbae3f15
    regards
    srinivas

  • Is ODI 12c included in 12c Oracle Server License?

    Hello,
    I'm looking into the licensing information and the only thing I was able to find out about ODI 12c is for Data integrator Enterprise Edition, that costs some 23k per CPU.
    Plus Golden Gate for access to non-Oracle data sources.
    Can someone please let me know if there's a basic version of ODI included in Oracle Server 12c license and if possible provide a link? It would be very helpful, since my current customers are using basic OWB and if they got to shell out 23k+ per CPU for ODI I think they'll look into the alternatives on the market.
    Kind regards,
    m

    No, ODI license is not included with Oracle DB license.

  • Unable to find essbase/hyperion knowledge modules in ODI 12C?

    I'm trying to import LKM,IKM and CKM for Hyperion essbase but i can't able to find out in the this location for ODI 12C? Is there any other process or did i do anything wrong?

    I got the document number for this issue. It is Note 1665189.1. and Bug 18174174 to look at this problem.

  • ODI 12c No Oracle Technology Under Logical Architecture

    I have installed ODI 12c (Enterprise and Standalone) on XE 11g database. I have create a master repository and successfully logged in.
    However under: Topology\Logical Architecture\Technologies there is no Oracle option only File and In-Memory Engine.
    I have tried importing the Oracle technology XML file from: C:\oracle\middleware\ODI_Standalone_Home\odi\sdk\xml-reference twice and according to the import log it is being imported (and duplicated).
    Have I missed a step? According to the ODE tutorial the Oracle technology (and many others) should exist under Topology\Logical Architecture\Technologies.

    What about Physical Architecture?. Do you have Oracle under Physical Architecture?
    You can view/hide unused technologies, may be you selected that option.

  • Is ODI  12c  is certified on  Oracle Database 12c ?

    Hi Experts,
           I am trying to install ODI 12c on Oracle database 12c.  Where the ODI initial installation is good.  But when I am trying to setup the master and work repositories on database 12c it is failing.  The scripts generated by the RCU is working on 12c.  I think it mainly about schema creation and roles that it it trying to create on the database.
    Did anyone of you have gone through this issue, can throw some light.  Thanks in Advance.

    Yes, ODI 12c is certified for Oracle database 12c.
    Check database tab here : http://www.oracle.com/technetwork/middleware/fusion-middleware/documentation/fmw-1212certmatrix-1970069.xls
    Whats the exact error that you are seeing while setting up the repositories. You can try creating Master & work repositories through ODI Studio as well.
    Regards,
    Santy

  • Mapping concept

    Dear experts,
    As mapping concept envisages that data will come to source structure,some transformation will occur due to mapping logic.
    and a target xml will be derived from source.At this point ,i want to understand from idoc point of view.Also plz correct structure of idoc incase you will something is missing or to be added as i am new to XI and ALE.
    Idoc
    Segment 1
    F1                             D1
    F2                             D2
    F3                             D3
    F4                             D4
    Segment 2
    F1                             D1
    F2                             D2
    F3                             D3
    F4                             D4
    F1-F4 are fields.
    D1-D4 are data (tuples).
    My understanding about idoc firrstly is every segment contains fields.Field contain data.Say Segment 1 has 5 records.This means
    same segment1 is getting repeated 5 times.
    Plz correct incase any mistake till here.Then i will go with my further question which is linked to this core forum post.
    Edited by: aditya  sharma on May 14, 2010 6:48 AM
    Edited by: aditya  sharma on May 14, 2010 6:49 AM

    Hi,
         The Data occurence of the segments depends on the parameter called occurences....
    if the segment occurence is 0..3 then your segment may occur or can occur 3 times.....in that particular idoc...
    like E1EDKA1                  (oth..occurence)
                PARVW ..AG
          E1EKA1                   (1st..occurence)
               PARVW ..SP
    ...............                       (2nd..occurence)

  • Where can I find oracledi-demo-2032252.zip used in the ODI 12c Getting Started Guide?

    Where can I find oracledi-demo-2032252.zip used in the ODI 12c Getting Started Guide?
    Bye,
    Rumburak

    http://www.oracle.com/technetwork/middleware/data-integrator/overview/oracledi-demo-2032252.zip

  • ODI 12c getting started.ova HELP!!!

    Hi, am new to ODI and plan to get my feet wet with the virtual box install, I found the four files needed to set up the VM install but can not find the odi 12c getting started.ova file. Can anyone please share a link or guide me on how to proceed with this.
    Thanks

    Hi user11367646,
    For getting started to ODI 12c VM here is the link to have a look
    http://www.oracle.com/technetwork/middleware/data-integrator/downloads/odi-12c-getstart-vm-install-guide-2401840.pdf
    For download files
    http://www.oracle.com/technetwork/middleware/data-integrator/odi-demo-2032565.html
    Thanks,
    Pratik

  • Reg : ODI 12c

    How to integrate oracle ODI 12c with E-business suite?
    Is it possible to integrate 12c with cloud database? If so,
    Please lemme know how and what are all the installation steps?
    Thankyou,
    Santhosh Kumar N

    Apparently never, Ranit.
    See the last reply here: ORA-00001: Unique constraint violated: First mentions of Oracle 12c XE (Express Edition)
    But you could always download any edition for free for personal/educational purposes.

Maybe you are looking for

  • Cascading LOVs in discoverer desktop 10

    Hi Is it possible to create Cascading parameters in Discoverer Desktop 10? i know the possibility in discoverer plus but didn't find the "filter the lov based on the selected condition" radio button while creating the paramenter in Desktop10. Thanks

  • How to identify various objects used in code

    Hi All, Can anyone tell me how can I list down various objects used in a program. For example in a report program if I am calling a function module, calling an include program, implementing a class and so on. Now I want to list down the objects used

  • Tech-tool/volume

    My macpro is running slow ever since I installed leopard! I checked HD w/tech-tool and was told to download the disk. Ran disk at which point it showed discrepancies in catalogue B info and catalogue B extents. I then ran repair, at which it showed n

  • Solaris 10 binary compatibility sparc/x86

    Hi, is it possible to use software compiled on Solaris 10 sparc on a x86 system? Thanks for any hints in advance. Burkhard

  • Importing songs from cd to iphone

    After importing songs from cd's I can not get them to show on my iphone5 playlist, they only show up on the playlist on my computer at home.  I have tried syncing.  I do not have this issue if I purchase a song from itues...it goes directly to my pho