Identifying and non-identifying relationships

Hello, can some expert out there explain; what are identifying and non-identifying relationships in detail. An example will be much more helpful to understand the concepts. Thanks.

I believe the different is:
- identifying relationship means the child table has the parent table's primary key as part of its primary key;
- non-identifying means that the child table has its own primary key and the parent's key is a separate column.
Example:
DEPT
Deptno Number Primary Key
Dname Varchar2(30)
Identifying relationship with DEPT
EMP
Deptno Number Primary Key
Seqno Number Primary Key
Ename Varchar2(30)
Non-identifying relationship with DEPT
EMP
Empno Number Primary Key
Ename Varchar2(30)
Deptno Number
The advantage of non-identifying relationships we don't have to change the primary key when the employee moves from one department to another.
Cheers, APC
Cheers, APC

Similar Messages

  • How to identify proprietary and non-proprietary parts?

    Good Morning All,
    We need to distinguish between our proprietary and non-proprietary parts. Does MM in SAP has any field using which we can accomplish this?
    Thanks and Regards,
    Deepka

    Hi
    I am not sure but i think you are asking about Asset and non-asset material
    so you can distinguish by material type or In Po while creating you have to use account assignment category A
    Regards
    Kailas Ugale

  • How to identify Inventory and non inventory items

    Dear all,
    what are the ways to differentiate inventoried and non inventoried items.
    please advise. thanks.
    Thanks and regards
    Udaya

    he means the purchase order item category which can be seen in transaction ME23N.
    You never made clear if you want differentiate in SAP or the physical stock in the warehouse.
    As already explained by another one, in SAP you can procure one material number either to stock or to be expensed immediatly while receiving.
    However, physically you dont see any difference, you have to take organizational measures to not store expensed material together with material procured to stock.
    Even further, you should try to receive items which are not procured to be stored, at a different physical receiving place.
    In MIGO transaction at item detail in tab WHERE you will see a storage location if the material is to be stored in your warehouse, but you will not see a location if the material is procured directly to a project or cost center. then you see a receipient instead .

  • How to join two parallel identifying relationships?

    I have four entities A, B, C and D with the following identifying relationships:
    A <-- B
    A <-- C
    B <-- D
    C <-- D
    A has a single primary key AID. B and C have their own primary keys BID and CID and primary foreign keys to the primary key of A. So the primary keys of B and C are (BID, AID) and (CID, AID). D has his own primary key DID and the primary foreign keys to B and C. So the primary key of D is (DID, (BID, AID), (CID, AID)). As you can see the primary key of A occurs twice in the primary key of D, because of the two parallel identifying relationships.
    Now I want the two AIDs in the primary key of D to be identical. The primary key of D should be a four tuple (DID, BID, CID, AID).
    How can I express this in the logical model of the Data Modeler?
    What I tried so far: I engineered the logical model into a physical model and changed there one of the parallel relationships. I changed the associated child column of the redundant AID reference to the other one. After that Data Modeler asked me to remove the automatically created column, which does not have a reference any more. This seems to be a solution for the physical model.
    But: it seems to be neither possible to model this in the logical model directly nor is possible engineer the changes from the physical model back to the logical mode.
    So what can I do?
    I asked this question with some more concrete variable names at stackoverflow:
    http://stackoverflow.com/q/13027950/402322
    And this is the physical model after the modification explained above:
    https://picasaweb.google.com/lh/photo/TCeW1Si0UOybltn34oIWj9MTjNZETYmyPJy0liipFm0

    Hi,
    you need to play with overlapping/folding attributes. Open properties dialog of entity D, go to "Overlapping attributes" page - you should see aid-aid1 pair listed. Check "fold" check box. Aid1 attribute will remain in entity but there will be no related column in relational model after forward engineering to it. You can change your decision during forward engineering - Data Modeler detects existence of overlapping keys and position engineering dialog on related tab.
    Philip

  • Handling "combined" identifying relationships from same root entity

    I'm using ODM to do some documentation of our application, and running into difficulties handling this scenario:
    E3 has relationship from E2 which has identifying relationship from E1, and which also has another attribute include in its key.
    E3 also has an identifying relationship from E1.
    See attached.
    As I'm not really doing anything with this other than documentation, I'm OK with just hiding the "SCHEDULER_ID1" attribute that comes from the JOB --> EXECUTED_JOB relationship.  I can do this in the UI, and it looks fine.  However, as soon as I re-open the model, its hidden state does not stick.
    Is there a configuration, or any workaround that anyone knows of?

    Hi,
    thanks for reporting the problem and for provided example. I logged  bugs for reappearing hidden FK attribute and for generated wrong name for PK identifier (in provided design).
    Philip

  • Oracle reserved and non-reserved keywords

    Hello,
    I'm looking for a list of reserved and non-reserved keywords for all Oracle versions starting from 9.
    I think Oracle starts at R1, right? So the versions needed would be:
    9.1, 9.2
    10.1, 10.2 and
    11.1
    I found lists of keywords querying Oracle view V$RESERVED_WORDS
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_2048.htm#REFRN30204
    here:
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14200/ap_keywd.htm
    However, this is only for version 10.2 and it contains only reserved keywords.
    I need a list for every maintenance/minor version. This list must contain all keywords in Oracle PL/SQL, not just the reserved ones, but also those which shouldn't be used in certain contexts described by the V$RESERVED_WORDS view (former link) -> probably reserved = 'N'.
    Since I don't own a copy of Oracle and definitely not of every minor version, does anyone know where to obtain such lists?
    You might want to do me a favor and query that view for me... ;-) (you can send the output to "k w u t z k e AT w e b DOT d e" ... don't forget to mention the version)
    From what the view tells me, the SQL statements to query are:
    For reserved words:
    select keyword from v$reserved_words where reserved='Y' order by keyword;
    For all other non-reserved words:
    select keyword from v$reserved_words where reserved='N' order by keyword;
    Are there any keywords/entities that are neither reserved='Y' nor reserved='N'?
    Can anyone help on this issue please?
    TIA,
    Karsten

    Not sure about differences between specific versions but the easy way to get reserved words is in SQL*Plus...
    SQL> help reserved words
    RESERVED WORDS (PL/SQL)
    PL/SQL Reserved Words have special meaning in PL/SQL, and may not be used
    for identifier names (unless enclosed in "quotes").
    An asterisk (*) indicates words are also SQL Reserved Words.
    ALL*            DESC*           JAVA            PACKAGE         SUBTYPE
    ALTER*          DISTINCT*       LEVEL*          PARTITION       SUCCESSFUL*
    AND*            DO              LIKE*           PCTFREE*        SUM
    ANY*            DROP*           LIMITED         PLS_INTEGER     SYNONYM*
    ARRAY           ELSE*           LOCK*           POSITIVE        SYSDATE*
    AS*             ELSIF           LONG*           POSITIVEN       TABLE*
    ASC*            END             LOOP            PRAGMA          THEN*
    AT              EXCEPTION       MAX             PRIOR*          TIME
    AUTHID          EXCLUSIVE*      MIN             PRIVATE         TIMESTAMP
    AVG             EXECUTE         MINUS*          PROCEDURE       TIMEZONE_ABBR
    BEGIN           EXISTS*         MINUTE          PUBLIC*         TIMEZONE_HOUR
    BETWEEN*        EXIT            MLSLABEL*       RAISE           TIMEZONE_MINUTE
    BINARY_INTEGER  EXTENDS         MOD             RANGE           TIMEZONE_REGION
    BODY            EXTRACT         MODE*           RAW*            TO*
    BOOLEAN         FALSE           MONTH           REAL            TRIGGER*
    BULK            FETCH           NATURAL         RECORD          TRUE
    BY*             FLOAT*          NATURALN        REF             TYPE
    CHAR*           FOR*            NEW             RELEASE         UI
    CHAR_BASE       FORALL          NEXTVAL         RETURN          UNION*
    CHECK*          FROM*           NOCOPY          REVERSE         UNIQUE*
    CLOSE           FUNCTION        NOT*            ROLLBACK        UPDATE*
    CLUSTER*        GOTO            NOWAIT*         ROW*            USE
    COALESCE        GROUP*          NULL*           ROWID*          USER*
    COLLECT         HAVING*         NULLIF          ROWNUM*         VALIDATE*
    COMMENT*        HEAP            NUMBER*         ROWTYPE         VALUES*
    COMMIT          HOUR            NUMBER_BASE     SAVEPOINT       VARCHAR*
    COMPRESS*       IF              OCIROWID        SECOND          VARCHAR2*
    CONNECT*        IMMEDIATE*      OF*             SELECT*         VARIANCE
    CONSTANT        IN*             ON*             SEPERATE        VIEW*
    CREATE*         INDEX*          OPAQUE          SET*            WHEN
    CURRENT*        INDICATOR       OPEN            SHARE*          WHENEVER*
    CURRVAL         INSERT*         OPERATOR        SMALLINT*       WHERE*
    CURSOR          INTEGER*        OPTION*         SPACE           WHILE
    DATE*           INTERFACE       OR*             SQL             WITH*
    DAY             INTERSECT*      ORDER*          SQLCODE         WORK
    DECIMAL*        INTERVAL        ORGANIZATION    SQLERRM         WRITE
    DECLARE         INTO*           OTHERS          START*          YEAR
    DEFAULT*        IS*             OUT             STDDEV          ZONE
    DELETE*         ISOLATION
    RESERVED WORDS (SQL)
    SQL Reserved Words have special meaning in SQL, and may not be used for
    identifier names unless enclosed in "quotes".
    An asterisk (*) indicates words are also ANSI Reserved Words.
    Oracle prefixes implicitly generated schema object and subobject names
    with "SYS_". To avoid name resolution conflict, Oracle discourages you
    from prefixing your schema object and subobject names with "SYS_".
    ACCESS          DEFAULT*         INTEGER*        ONLINE          START
    ADD*            DELETE*          INTERSECT*      OPTION*         SUCCESSFUL
    ALL*            DESC*            INTO*           OR*             SYNONYM
    ALTER*          DISTINCT*        IS*             ORDER*          SYSDATE
    AND*            DROP*            LEVEL*          PCTFREE         TABLE*
    ANY*            ELSE*            LIKE*           PRIOR*          THEN*
    AS*             EXCLUSIVE        LOCK            PRIVILEGES*     TO*
    ASC*            EXISTS           LONG            PUBLIC*         TRIGGER
    AUDIT           FILE             MAXEXTENTS      RAW             UID
    BETWEEN*        FLOAT*           MINUS           RENAME          UNION*
    BY*             FOR*             MLSLABEL        RESOURCE        UNIQUE*
    CHAR*           FROM*            MODE            REVOKE*         UPDATE*
    CHECK*          GRANT*           MODIFY          ROW             USER*
    CLUSTER         GROUP*           NOAUDIT         ROWID           VALIDATE
    COLUMN          HAVING*          NOCOMPRESS      ROWNUM          VALUES*
    COMMENT         IDENTIFIED       NOT*            ROWS*           VARCHAR*
    COMPRESS        IMMEDIATE*       NOWAIT          SELECT*         VARCHAR2
    CONNECT*        IN*              NULL*           SESSION*        VIEW*
    CREATE*         INCREMENT        NUMBER          SET*            WHENEVER*
    CURRENT*        INDEX            OF*             SHARE           WHERE
    DATE*           INITIAL          OFFLINE         SIZE*           WITH*
    DECIMAL*        INSERT*          ON*             SMALLINT*
    SQL>If you haven't got oracle then I'm not sure where you're going to find out all the minor differences I'm afraid.

  • Service PO's with tax and Non servie pos without tax

    Hi,
    In my present process.For service (ME21N)PO'S withholdingtax is calculated and for non service PO's there is no withholdingtax  calculated.
    In standard sap PO's.Tax will be calculated for both service POS and non service PO's.
    Can any guide me where the coding is done by which the system is calculating tax on service pos and no tax calculated on material pos.
    It will be great help.if you can through some light.
    Thanks
    Hagi

    Hi,
    With respect to WHT, vendors can be classified into three categories
    1) Service Vendors (subject to WHT)
    2) Material Vendors (not subject to WHT)
    3) Mixed vendors (WHT is applicable on services only)
    Identifying the type of vendor needs the data from business only.  There is no specific indication in SAP.  In case of 1 & 2 type vendors there is no problem.  Problem with type 3 vendors.  Since WHT keys are updated at vendor level, during IV system withhelds the tax amount on entire invoice which is wrong since materials may also be there in that invoice.  For this there is no standard solution by SAP.
    We need to further identify vendors based on supplies with both services and materials. If the % of services & materials combination is more, it is better to create two seperate vendors for the same vendor, one as service vendor and another as material vendor and ask the vendor to give seperate invoices for services and materials.  If it is very less %, while posting invoices just change the base amount against the WHT keys.  This is the practice we implemented for our client.
    regards,
    mallik

  • Question Regarding Mesh with 3702 and non AC ap´s

    Hello! 
    quick question regarding MESH deployments with 2 different sorts of AP´s: AC and non-AC modells: If my 3702i is my root AP´s, and 3602i my MAP - will AC still work in 80Mhz, or will I have to switch to 40mhz (and thus crippling (???) AC performance?) 
    Not 100% sure on this... I *think* it should still work for the normal 802.11n connection, but I´m not sure if the 80mhz channel width (needed??) for AC, will cause the non-ac 3602i to be stranded? 
    Thanks alot for your insight! 

    Currently, my network DHCP server is a software based DHCP server. In reading over your post if I understood correctly it sounds like the managed switch would have its own hardware based DHCP server to assign IP addresses to those clients identified on the "external" VLAN. Did I understand that correctly or did misread something?
    DHCP server will be software based, even though you defined it on your switch, it is DHCP service running on its OS.
    I am configuring this setup for a small business application and will need to purchase a managed switch with 16 or 24 ports. Do you have any recommendations on a particular managed switch that will handle the VLAN configuration and include POE while keeping costs in mind.
    In this forum, most of us discussed about Cisco enterprise grade wireless. Here is 2960X series switch detail, if you are interested
    http://www.cisco.com/c/en/us/products/switches/catalyst-2960-x-series-switches/index.html
    You may need to check the pricing with your Cisco account manager or from a Cisco partner.
    HTH
    Rasika
    **** Pls rate all useful responses ****

  • Conforming and Non-Conforming Dimensions

    Hi,
    How do we identify conforming and non-conforming dimensions in our OBIEE 11g repository? There are so many of each so was wondering if there is a simple rule i can follow while browsing my repository

    To identify them as you are browsing it's not really possible.
    From a logical digram you could right click the dimension and select "add joins"... if it adds any facts to the diagram then obviously the dimension is conformed.
    Use the Query Repository functionality in the admin tool to identify logical tables that are dimensions, and related to more than one logical table which is a fact.

  • Current and Non Current

    Hello Experts,
    I am quite new in BPC and having some doubts relating to Current and Non current classifications in Balance Sheet while doing Consolidation.
    We have one Operational GL of Long term loan and based on the due dates we need to bifurcate that GL into current and non current portion in BPC for reporting purposes. As there is no due date concept in ECC; the whole amount comes under one GL only.
    Is there is any way to bifurcate a particular GL into Current and Non current based on due dates in BPC 10.0 nw?
    Regards,
    Rahul

    HI Rahul
    To explain further I will take you example of Current and non current portions of loan .
    The amount falling in each category should be determinable in ECC using a combination of account, due date etc depending on how amount is stored (for e,g, in case accounts payable , each line item
    carries a different due date).
    In BPC the 2 approaches are
    1) Having 2 accounts - loan current and non current in BPC
    1a) Amount determinable in ECC
    If the amounts are clear determinable at the time of extraction , the split can be done
    using the extractor logic (line item extractor would help in determining amount with
    the help of due date)
    1b)Manually derived
    In case amount are manually calculated ,the split could be done using input schedule or
    script logic where the split are taken as user input and pushed into the relevant GL
    2) 1 account and flow combination
    This basically means create statistical flos in BPC to represent current and non current
    say 'Cur01' or 'noncur
    2a)Amount determinable in ECC
    The transaction type could be filled with the identified value by extraction program when
    it determines nature and splits
    2b) Manually derived
    In the input schedule or script , the input can be saved agaisy the account and flow combination
    Regards
    Surabhi

  • Stock transfer between Excise Plant and Non Excise Plant

    Scenario : Stock is imported from say Singapore. One of the import duties can be claimed back as CVD and pass the benefit to customer.
    Requirement : Stock transfer between Excise Plant and Non Excise Plant
    Question : i) If I do stock transfer from Excise plant to non-excise plant, can I transfer the CVD amount which I captured in RG23A - Part1/Part 2?
    ii) If I do stock transfer from Non- Excise plant to Excise plant, can I get the benefit of CVD and pass on that benefit to customer?
    Pls let me know the possiblity of above two in SAP and Legally?
    thanks in advance
    Sridevi

    Ok! Thanks for the replies. Pls let me allow to elaborate the earlier requirement.
    Trading Goods say A gets imported to India. Issue was :
    1) We need to issue Excise invoice only to few customers. So, we thought of treating one batch as excise batch and remaining as non excise batch per day.
    2) Stock price varies every day being batch wise produced in say Singapore.
    Means Mateiral is A but price varies evey day and because of the duty payment also gets varied. For a single material master we do have different prices for each batch and also excise/non excise scenario. So, how can I get material value for each of this combinations in the system and how to identify the same.
    Because of the above reasons, we thought of having two plants. I can not configure depot here because cleint requires single plant for each state as of now.
    Am I clear? If not, pls let me know,
    regards
    Sridevi

  • Recursive node and Non Recursive node

    Hi,
    What is the difference between Recursive node and Non Recursive node ?
    Thanks,
    Teja

    Hi Teja
    Recursive node
    If you wish to represent a recursive data structure within the context, a recursive node is the correct node to use. The simplest example of recursive data within a hierarchical structure is a file system. A dictionary can contain either files or subdirectories. This definition is then repeated for each subdirectory level down the hierarchy.
    Within the context, a recursive node is a special node that has only two properties: name and repeatedNode. As with any context node, a recursive node must itself name, but the repeatedNode property is where the recursion is defined. This property holds a reference to some parent node and indicates that, at runtime, the location of the recursive node will be occupied by a node of the type indicated in the repeatedNode property.
    You should think of a recursive node as a design time placeholder used to indicate a node will be created at this location at runtime, and will be of the type named in the repeatedNode property.
    The node name identified by repeatedNode must lie on the direct path back to the context root node.
    When a recursive node is created at runtime it always created as a non-singleton node. This is a hard-coded feature and cannot be changed.
    Non recursive node is opposite to recursive node
    Regards
    Ruturaj

  • Restricted and non-restricted stock

    Hi Experts,
    Does anyone know where i can find in the BC the KF Restricted and non-restricted stock (in R/3 MARD-SPEME and MARD-LABST)? If there is no standard for this, where do you think is the best extractor to enhance with these fields?
    Thanks in advance,
    Nuno

    Hi Nuno,
    These fields are part of the 2LIS_03_BX and 2LIS_03_BF extractors.  MARD-SPEME (Blocked Stock) should go directly into 0BLOCKEDSTOCK's in flow and out flow characteristics.  MARD-LABST can go into a custom key figure. 
    If you install the 0IC_C03 cube and the 2lis_03 extractors, then you can look at the update rules.  These rules aren't for the timid!  In the update rules or on a query, you can select stock type = K and Stock Category <> ( K or E ) for unrestricted use stock (beware this also includes vendor consignment and customer consignment).  Blocked stock is identified as Stock Type D and Stock Category <> K or R.
    Brian

  • Valuated and non valuated stock

    Dear Experts,
    I have 20 thousand PO i need to identify Valuated and non valuated stock, can any body suggest me  how i will go about this
    Any standard report is there or from tables ?
    Thanks
    Raj

    Hello,
    If you want to take report for Stock and Non-stock(consumables) items then you can execute ME2L and Filter with Account assignment category.Blank and Non blank as mentioned above.
    But if you want to take a report for Valuated and Non valuated then You have to take a report from Tables
    Go to SE16 enter Table EKPO
    Restrict the Entries with "changed on date" and Doc. Category " F".
    execute the entries,then download into excel and filter the datum with the Field
    Field Label:GR non-Valuated.
    Field name: EKPO- WEUNB
    Hope it is ok.
    Murug

  • Difference between automatic and non-automatic page attributes

    Hi,
    Can anyone tell me difference between automatic page attributes and non-automatic page attributes?
    and also difference between stateful and stateless mode with examples?
    Thanks
    Narendra

    Hi Mullapudi,
    If you mark a page attribute as u2018automaticu2019 (auto in the system), the attribute automatically gets its values via the calling URL or
    via the navigation process from other pages.
    This kind of attribute only has to be declared for one page.
    It is identified by its name equivalence.
    If another page uses a parameter with the same name,
    at runtime that parameter automatically
    gets the same values as the attribute.
    Non-automatic page attributes
    If you flag a page attribute as non-automatic, the attribute gets its values from the class attribute.
    The visibility of page attributes when parameters are transferred between BSP pages depends on whether the navigation is explicit or implicit.
    Explicit navigation
    For example, if navigation->goto_page(page.htm)
    Implicit navigation
    With implicit navigation, the page attributes are transferred automatically from OnInputProcessing to OnInitialization, both in stateful and stateless mode.
    The auto page attributes are refilled by the request, both in stateful and stateless mode.
    Reward if Useful...
    Regards,
    Anita. B

Maybe you are looking for