Combining attributes from two object types

Experts,
I have two files coming from FIM. Employee and department data. Employee file is expected to synch data for 'person' object and department file to synch data for 'organization' object.
Common attribute in these two files is department_id.
I want information in department file like department_name and department_city to also get populated in 'person' object attribute.
How to combine data for two different objects and source.
Hope i made sense. Kindly suggest.
Thanks,
Mann

Thanks Tomasz!
It answers my question. I was pondering over it for quite sometime.
Let me ask one more scenario.
Say I don't need/want 'department' object in metaverse.
In this case can I map the data coming in 'department' file to 'person' object type in FIM. I will use the department_id as the anchor.
For this MA, I will just use 'join'(and no projection). In this way I will be able to update the attributes coming from department file(like department name) directly in 'person' object.
So basically flow will be:-
MA1(Employee file)>> update/project 'person' object.(updating department_id along with other attributes).
MA2(Department data)>> only update(only joining & no projection) person object with department name and other information using department_id as anchor.
Kindly let me know your views. Will this create any issue in future?
Thanks,
Mann

Similar Messages

  • EEWB (attributes from product set type)

    Hi gurus,
    I have a question about EEWB. Could you please help me.
    There is possibility to add components (attributes from product set type) at item level:
    Business object - BUSINESS_TRANSACTION
    Extension Type - ADD_NEW_ITEM_COMPONENT.
    I’ve created an extension with certain set type (it consists of 2 attributes). Everything was ok.  New fields with 2 attributes have been added to new tab in a sales order’s item.
    But then I’ve added 1 new attribute to the same set type. So I think this new attribute is to appear on the same tab with 2 other attributes. But it doesn't’t!
    I’ve regenerated my extension, I’ve recalled wizard for this extension. Nothing has changed. There is still only 2 attribute in the tab.
    So is it normal situation and is it necessary to create a new extension in order new fields to appear in a tab? Or I can do something else without creating the new extension?
    So could you help me and give any solutions. Appreciate any help.
    And thanks in advance.
    Sunny.

    It works already.

  • OBIEE 11g - Combine data from two Oracle tables

    Good day!
    I tried to combine data from two Oracle tables as fact data, but it doesn't work.
    My steps: I created SCOTT.EMP2 table from SCOTT.EMP table, update EMPNO and ENAME values of EMP2 table to distinguish data of my tables. Then I imported physical tables DEPT, EMP and EMP2 to BIEE 11g, created joins DEPT-EMP and DEPT-EMP2 in physical diagram. Then I dragged DEPT and EMP tables to BMM, and EMP2 table to EMP as second LTS. In Content tab for EMP and EMP2 I checked "This source should be combined with other sources at this level" checkboxes. Then I renamed logical tables EMP and DEPT to Employees and Departments and dragged them to Presentation area. In Answers I created Analysis with columns DNAME and ENAME.
    The problem is that data on results tab is only from one physical table EMP or EMP2 (depending on the order of sources EMP and EMP2 of LT Employees) and not from both.
    Can anybody help? Am I missed something?
    Al.

    Hi Al,
    I think you have to define the content of the LTS.
    http://download.oracle.com/docs/cd/E12096_01/books/admintool/admintool_BusModSetup16.html
    You have to specify the content of the different fragments.
    http://download.oracle.com/docs/cd/E12096_01/books/admintool/admintool_SetUpAggNav3.html#wp1005333
    Maybe you have to add an additional column 'Source' ('EMP1', 'EMP2')
    Good Luck,
    Daan Bakboord
    http://obibb.wordpress.com

  • Combine Info from two itab

    Hi,
            WHAT IS THE WAY U FOLLOW TO COMBINE INFORMATION FROM TWO-ABAP DICTIONARY TABLE INTO A SINGLE INTERNAL TABLE (EXCEPT JOINING)? SPECIFY THE METHOD.WHAT R THE NECESSARY PRECAUTIONS NEEDS TO BE TAKEN WHILE USING THAT STATEMENT?

    select *
    from DB1
    into IT1
    where<condition>.
    if not it1[] is in initial.
    sort it1 by <key>.
    delete adjacent duplicates from IT1 comparing <key>.
    select * from DB2
    into IT2
    for all entries in IT1
    where <key> = IT1-<key>.
    endif.
    loop at IT2 assigning <fs2>.
        read table IT1 assigning <fs1> with key <key> = <fs2>-key binary search.
       if sy-subrc = 0.
          copy fields into workk area w3 from <fs1 & <fs2>.
         append wa3 to IT3.
         clear wa3.
       endif.
    endloop.

  • How to return Values from Oracle Object Type to Java Class Object

    Hello,
    i have created an Oracle Object Types in the Database. Then i created Java classes with "jpub" of these types. Here is an example of the type.
    CREATE OR REPLACE TYPE person_type AS OBJECT
    ID NUMBER,
    vorname VARCHAR2(30),
    nachname VARCHAR2(30),
    geburtstag DATE,
    CONSTRUCTOR FUNCTION person_type RETURN SELF AS RESULT,
    CONSTRUCTOR FUNCTION person_type(p_id NUMBER) RETURN SELF AS RESULT,
    CONSTRUCTOR FUNCTION person_type(p_vorname VARCHAR2,
    p_nachname VARCHAR2,
    p_geburtstag DATE) RETURN SELF AS RESULT,
    MEMBER FUNCTION object_exists(p_id NUMBER) RETURN BOOLEAN,
    MEMBER PROCEDURE load_object(p_id NUMBER),
    MEMBER PROCEDURE save_object,
    MEMBER PROCEDURE insert_object,
    MEMBER PROCEDURE update_object,
    MEMBER PROCEDURE delete_object
    MEMBER PROCEDURE load_object(p_id NUMBER) IS
    BEGIN
    SELECT p.id, p.vorname, p.nachname, p.geburtstag
    INTO SELF.ID, SELF.vorname, self.nachname, SELF.geburtstag
    FROM person p
    WHERE p.id = p_id;
    END;
    My problem is, that if i use the member function "load_object" from my java app it doesnt return the selected values to the java class and i dont know why. I use the java class like this:
    PersonObjectType p = new PersonObjectType();
    p.load_object(4);
    There is a reocrd in the database with id = 4 and the function will execute successful. But if i try to use "p.getVorname()" i always get "NULL". Can someone tell me how to do that?
    Thanks a lot.
    Edited by: NTbc on 13.07.2010 15:36
    Edited by: NTbc on 13.07.2010 15:36

    CallableStatement =
    "DECLARE
    a person_type;
    BEGIN
    a.load_object(4);
    ? := a;
    END;"
    And register as an out parameter.
    Edited by: michael76 on 14.07.2010 05:01

  • Displaying properties from two objects in a datagrid

    Previously I post a discussion on this matter on Flex learning path and haven't got any response on how to do this so I figured that I might as well try again here.
    I'm using drag and drop binding in flash builder 4 on a data-grid. However, the data I need to show need to be query from another object.
    <mx:DataGrid id="dataGrid2" dataProvider="{getMajorDetailsResult.lastResult}">
                <mx:columns>
                    <mx:DataGridColumn headerText="Category Name" />
                    <mx:DataGridColumn headerText="Require Credits" dataField="requireCredits" resizable="false" width="40"/>
                </mx:columns>
    </mx:DataGrid>
    In this datagrid I bind it with an object MACL which has
    - ID
    - CAT_ID
    - requireCredits
    However, I would like to display CategoryName in the first column but categoryName is in another Object (category)
    - CAT_ID
    - CategoryName
    In this case what should I do?
    I did this so that if in the future Category Name needs to be rename. I can just rename the one in category table.
    Any help is highly appreciated.
    Thank you

    You should use a model that references the two data sources to mae the one input to the DataGrid:
    http://livedocs.adobe.com/flex/3/html/help.html?content=datamodels_3.html
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance
    www.ChikaraDev.com
    Flex Development and Support Services

  • Jdev aborts when removing attribute from entity object

    Hi,
    after synchronizing my data model with my database scheme, jdeveloper 10g gave me the correct message, that there had been 1 attribute left in an entity object, that does no longer exist in the database.
    When removing the attribute from the entity object, jdev 10g aborts (first click: nothing happens, second click: abort).
    regards
    Klaus

    Thanks for bug report. This bug has been logged (3151203) and has been fixed in more recent builds.
    Ray

  • Person responsible attribute- service notification object type

    Hi All,
    I've extended BUS2080 (ZBUS2080)- service notification. I would like to add an attribute- the responsible person for processing the notification (partner function 'VW').
    I used CALL FUNCTION 'QQWF_RESPONSIBLE_FOR_NOTIF'
    container-element = 'NOTIFICATION' .
    ac_container-elemlength = '012' .
    ac_container-type  = 'C' .
    ac_container-value = the function requires a value that contains the object type and the notification number
    (e.g. BUS2080   000200000353)  
    can anyone help me with the value?
    Thanks and Regards,
    Inbal

    Hi,
    IMG>Cross-Application Components>Overview of Notification Type.
    Select the notification type S3 - service request, double click on partner functions.
    chose valid partner function for person responsible field.
    In IW51, enter notification type S3 and press enter.In customer address screen, execution segment you can see the person responsible field
    Regards,
    Chandra

  • How to populate transient attribute from view object dynamically

    I have three 4 tables named as "employee,event,event_progress,and checklist progress". i have created a view object using the first three tables . i ahave also created 5 transient variables in to the same view object.when i dragged the view object in to my page as a table i want to populate those transient attribute.
    i have 5 transient attribute which are present as a column value named as chechlist_name in another table "checklist".those all transient attribute also having two sub rows whose data should be populated from the checklist progress table.

    Hi
    Please post your question on this forum, your question belong to this forum.
    JDeveloper and ADF
    Muhammad Nasir

  • Using attributes from another entry type

    Hey experts,
    use case: there are multiple departments within the company. Each department has it's own folder in Active Directory where users are stored for that department. When a new user is created in IdM and send to AD he should be created in the folder relevant for his/her department.
    I have created an entry type called Department and filled it with departments and their LDAP starting point for user creation. I have also created a reference attribute in MX_PERSON to the department name.
    problem: when the job CreateADSUser is fired it receives pending value date from MX_PERSON but I need to use the LDAP starting point which goes with the department from the department entry type.
    So my question is: how do I use the LDAP starting point value which is stored in my department entry type in a job which receives MX_PERSON data. I'm guessing a script or something but am unsure how to do this.
    Thanks in advance.

    HI Jonathan,
    We did exactly the same thing but without using a separate entry type for the department, it was just the department number. We then in the code that calculated the DN of the person, coded in to read the department number and based on that enter a text string into the DN. If you want to do it with another entry type for department, the can't you load the value on the mx_person of department, which will be the MSKEY of the department you want, and then use ISGetValue (Or something like that) to get the name of that department based on it's MSKEY?
    Hope that is helpful,
    Ian

  • Combine values from two records in one query

    Hello.
    Is it possible to combine two record - only one column value?
    With one query we get these results:
    A____B____C____D____E_______F_______G______H
    +++++++++++++++++++++++++++++++++++++++++
    28___84___P___16____________1____02.06.09___1
    28___84___p___8_____________1____02.06.09___1
    28___84___S___16____________1____02.06.09___1
    28___84___T___12____________1____02.06.09___1
    28___84___1___137___________1____02.06.09___1
    28___84___5___18___66,42____1____02.06.09____1
    28___84___6___14____________1____02.06.09___1
    28___84___8___17___214,2____1____02.06.09___1
    If there is a record with column C value 'p', then column value 'D' should be added to record with C value 'P' and 'S': result should be like this:
    No 'p' record and values (D column) for 'P' and 'S' should be a summed by 8 from record 'p'.
    A____B____C____D____E_______F_______G______H
    +++++++++++++++++++++++++++++++++++++++++
    28___84___P___24____________1____02.06.09___1
    28___84___S___24____________1____02.06.09___1
    28___84___T___12____________1____02.06.09___1
    28___84___1___137___________1____02.06.09___1
    28___84___5___18___66,42____1____02.06.09____1
    28___84___6___14____________1____02.06.09___1
    28___84___8___17___214,2____1____02.06.09___1
    And this should be restricted to column A value.
    Any idea?
    Thanks.
    Edited by: DejanH on Jun 2, 2009 11:39 AM

    OK, that's a messy requirement, here's one for 'p' but no 'P' (and 't' but no 'T'), and you can expand that for others yourself.
    WITH test_data AS (
    SELECT 28 A, 84 B, 'p' C, 8 D, NULL E, 1 F, TO_DATE('02.06.09','DD.MM.YY') G, 1 H FROM DUAL UNION ALL
    SELECT 28 A, 84 B, 'S' C, 16 D, NULL E, 1 F, TO_DATE('02.06.09','DD.MM.YY') G, 1 H FROM DUAL UNION ALL
    SELECT 28 A, 84 B, 'T' C, 12 D, NULL E, 1 F, TO_DATE('02.06.09','DD.MM.YY') G, 1 H FROM DUAL UNION ALL
    SELECT 28 A, 84 B, '1' C, 137 D, NULL E, 1 F, TO_DATE('02.06.09','DD.MM.YY') G, 1 H FROM DUAL UNION ALL
    SELECT 28 A, 84 B, '5' C, 18 D, 66.42 E, 1 F, TO_DATE('02.06.09','DD.MM.YY') G, 1 H FROM DUAL UNION ALL
    SELECT 28 A, 84 B, '6' C, 14 D, NULL E, 1 F, TO_DATE('02.06.09','DD.MM.YY') G, 1 H FROM DUAL UNION ALL
    SELECT 28 A, 84 B, '8' C, 17 D, 214.2 E, 1 F, TO_DATE('02.06.09','DD.MM.YY') G, 1 H FROM DUAL)
    -- end test data
    SELECT td1.A, td1.B, td1.C,
         CASE WHEN td1.C IN ('P', 'S') THEN NVL(td1.D,0) + NVL(td2.D, 0) ELSE td1.D END D,
         TO_CHAR(td1.E * 100, 'fm99990,09') E, td1.F, td1.G, td1.H
       FROM test_data td1
       LEFT JOIN (
      SELECT A, SUM(D) D
         FROM test_data
        WHERE C= 'p'
        GROUP BY A) td2
        ON (td1.A = td2.A)
    WHERE C != 'p'
    GROUP BY td1.A, td1.B, td1.C, CASE WHEN td1.C IN ('P', 'S') THEN NVL(td1.D,0) + NVL(td2.D, 0) ELSE td1.D END, TO_CHAR(td1.E * 100, 'fm99990,09'), td1.F, td1.G, td1.H
    UNION
    SELECT td1.A, td1.B, UPPER(td1.C) C,
         SUM(td1.D) D,
         TO_CHAR(td1.E * 100, 'fm99990,09') E, td1.F, td1.G, td1.H
       FROM test_data td1
      WHERE td1.C in ('p', 't')
    GROUP BY td1.A, td1.B, UPPER(td1.C),TO_CHAR(td1.E * 100, 'fm99990,09'), td1.F, td1.G, td1.H
    ORDER BY 1
             A          B C          D E                  F G                  H
            28         84 1        137                    1 02-JUN-09          1
            28         84 5         18 66,42              1 02-JUN-09          1
            28         84 6         14                    1 02-JUN-09          1
            28         84 8         17 214,20             1 02-JUN-09          1
            28         84 P          8                    1 02-JUN-09          1
            28         84 S         24                    1 02-JUN-09          1
            28         84 T         12                    1 02-JUN-09          1
    7 rows selected.

  • ClobDomain from Database object type

    I am trying to implement a viewobject using this method http://radio.weblogs.com/0118231/stories/2003/02/06/usingViewObjectsToSelectStoredFunctionResults.html
    My Oracle type:
    CREATE OR REPLACE TYPE search_result AS OBJECT
    (SEARCH_RESULTS_XML CLOB,
    RETURN_CODE VARCHAR2(10),
    RETURN_MESSAGE VARCHAR2(160));
    My Stored function api:
    FUNCTION LienCheckSearch
    (JURISDICTION_IN IN VARCHAR2,
    SERIAL_NUMBER_IN IN VARCHAR2)
    RETURN SEARCH_RESULT;
    I created a default Domain from my Oracle Object and I can get the return_code and return_message back in my test client, but the search_results_xml is empty with a length of zero each time I test. The same tests worked using PL/SQL Developer and SQLPlus. Any ideas what I am doing wrong?
    Nat

    Update: The view object works fine if the function returns a CLOB only. ie
    My Stored function api:
    FUNCTION LienCheckSearch
    (JURISDICTION_IN IN VARCHAR2,
    SERIAL_NUMBER_IN IN VARCHAR2)
    RETURN CLOB;
    It would be better if I could return a type containing a CLOB though. Anyone know a work around to get ClobDomain in a Domain working?
    Thanks
    Natalie

  • How to combine data from two rows into one row

    I have the following sets of data. I want to find all the duplicate sets of field values. in the data below there is only one duplicate set: brenda, analyst, green.
    DocID and Doc Seq combine to form the set key. FieldID I believe are consistent in that 1 is always name, 2 is job, 3 is favorite color etc. but there are up to 20 field IDs.
    To tell you the truth, my client is a bit sketchy about the data and the values. I would like collapse the sets by getting all the field values into a single row. They could be in the same column, or in their own columns. This way I can then look for whatever
    dups my customer seems to think that he has.
    the first image is what i want (either in same column or in different columns. but they have to be in the order of the FieldID), the second is what i have. THANKS

    CREATE TABLE #t (
    c1 INT NOT NULL PRIMARY KEY,
    c2 VARCHAR(50) NOT NULL
    GO
    INSERT INTO #t(c1, c2) VALUES(1, 'P1,P2,P3')
    INSERT INTO #t(c1, c2) VALUES(2, 'P2,P3')
    GO
    -- Generate set of numbers
    -- Idea from Itzik Ben-Gan
    ;WITH
    L0 AS (SELECT 1 AS n UNION ALL SELECT 1),
    L1 AS (SELECT 1 AS n FROM L0 AS a, L0 AS b),
    L2 AS (SELECT 1 AS n FROM L1 AS a, L1 AS b),
    L3 AS (SELECT 1 AS n FROM L2 AS a, L2 AS b),
    L4 AS (SELECT 1 AS n FROM L3 AS a, L3 AS b),
    Numbers AS (SELECT ROW_NUMBER() OVER(ORDER BY (SELECT 1)) AS Number FROM L4)
    SELECT
    t.c1,
    t.c2,
    SUBSTRING(',' + t.c2 + ',', Number + 1, CHARINDEX(',', ',' + t.c2 + ',', 
    Number + 1) - Number - 1) AS Item,
    ROW_NUMBER() OVER(PARTITION BY t.c1 ORDER BY n.Number) AS rn
    FROM
    #t AS t, Numbers AS n
    WHERE
    n.Number <= LEN(t.c2)
    AND SUBSTRING(',' + t.c2 + ',', n.Number, 1) = ','
    ORDER BY
    t.c1, rn
    GO
    DROP TABLE #t
    GO
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How Can I Combine Podcasts from Two Computers Into One ?

    I download podcasts on two computers - my home PC and my work/travel laptop. My IPod syncs to my home PC. What I would like to be able to do is transfer all the podcasts I have downloaded from my laptop to my home PC (as my internet speed at home isn't great), then sync it all to my IPod. Is this possible ?

    Well it works.....sometimes. It works OK with audio podcasts, but not with *.mov video podcasts. It DOES work with *.M4V video podcasts. I found this out by trying to add all the Tiki Bar TV files, and only the Boomerang episode transferred OK.
    The strange thing is this - while the *.MOV vpodcasts don't show up in the Podcast window in ITunes, they DO transfer over and show up in Library>Genre 'Podcasts'>. How can I force them to appear in the Podcasts window ?
    Cheers
    Blewyn

  • Error in Abap code when combining data from two tables

    Hi,
    I got error in my code when  i try to select data based on two tables
    error message Unknown column name "(" field list. field list. field list. field list.
    select ( WLK1~ARTNR )
              into ZOXE1D0041-ZZPROMO
              from WLK1 INNER JOIN T001W
              ON WLK1FILIA = T001WKUNNR.
              where WLK1-PFLKN NE 'P' AND
              WLK1-QUELL NE '2'.
    Table 1 WLK1
    ARTNR   FILIA       PFLKN                  QUELL
    001         C001        P                           2
    002         C001        A                          1
    Table 2  T001W
    KUNNR                WERKS
    C001                    P001
    My requirement is to extract from article number from table WLK1 where the customer number (FILIA) matches with Customer number from (T001W) and plant (WERKS).
    In conclusion I like to have this only this row
    ARTNR   FILIA       PFLKN                  QUELL
    002         C001        A                          1

    Hi
    You need to append every article number after each select is performed
    is this an intermal table ZOXE1D0041 with header line ? if yes
    then do this way
    select WLK1~ARTNR
    into ZZARTICLE
    from WLK1 INNER JOIN T001W
    ON WLK1FILIA = T001WKUNNR
    where WLK1~PFLKN NE 'P' AND
    WLK1~PFLKN NE 'S' AND
    WLK1~QUELL NE '2'.
    ZOXE1D0041-ZZLISTARTICLE = ZZARTICLE.
    Append ZOXE1D0041.  " <edited>
    endselect.
    then ZOXE1D0041 will have all article numbers.
    Edited by: Sonal Patel on Sep 5, 2009 10:27 AM

Maybe you are looking for

  • New install of older version on new machine questions (2008 R2 Express)

    Hi, I want to setup SQL Server 2008 R2 Express to an i5 machine running window 8.1. This should include ssis, ssrs, ssas, and the management studio. The instructions say to: Step 1: Install Microsoft .NET Framework 2.0 or later from the Download cent

  • Re-installing Photoshop Elements 12 on 8.1 Windows computer

    Have just re-installed Photoshop Elements 12 ok on my Windows 7 home computer following hard drive failure. For various reasons I have now decided I need to use this computer at work. I will buy new computer for home which will be Windows 8.1. I only

  • Lemon font looks horrible?

    my urxvt file: ! Xresource file URxvt*depth: 24 URxvt*geometry: 91x21 URxvt.borderColor: #181512 URxvt.internalBorder: 0 URxvt.cursorUnderline: 1 !URxvt.cursorBlink: 1 !URxvt*.transparent: true !URxvt*.shading: 15 ! -- scrollbar URxvt.scrollstyle: pl

  • Premiere Pro CS5.5 using 50% of processor to Render?

    I just downloaded and installed Adobe Premiere Pro CS5.5 and when I go to render video it only uses 50% of the processors power. I haven't had this problem in CS5. Is there some kind of setting I need to change? Any help will be great, thanks!

  • Expdp/impdp oracle schema

    Hello All, We are running 11gr2 on HPUX. I am support to take a dump of a schema (say XYZ) and import it to an other server (server2) running same database with same OS. Just wanted to confirm the steps what I am proceeding. 1> expdp xyz/xyz schemas=