One to one relationship between records while entering in MDM data manager?

Example Scenario::
     I have created <b>Employee details</b>(main table) and<b> Salary</b> (look up flat table for employee number filed in main table) .  Tried to get the corresponding employee's gross salary from <b>salary</b> table to <b>employee Details</b> table basing on <b>Employee number</b> field in Employee Details table as <b>Gross salary</b> and <b>Employee number</b> are common fields for both the tables. But i could not get one to one relationship in this case , Please explain how to achieve?

Employee Details (Main Table)
               EmpNo(Look up field)      EmpNa     GrossSal(Look up field)
Salary Details  (Look Flat Table)
     Empno         Basic Sal        GrossSal   
      012              5000             10000
                 013              4000               8000
I have created two tables with the above fields. In main table i kept two look up fields to Salary Details table. First i have entered data to salary table as above , now when i am trying to enter data in to main table EmpNo as 012 it should show Gross salary as 10000 automatically as per the corresponding EmpNo. Instead it is showing all the Grosssal values of Salary table.

Similar Messages

  • Adding a record to a relationship | MDM data manager

    Hi , Following is my situation ...
    I have some material numbers in the product table in the material repository which are a part of a kit . Basically a kit is a comination of some material numbers put together . Now this kit is also in the same product table appearing as another material number . So as you can see , this is a parent-child relationship but within the same table (product table) .
    Now I have defined the relationship table in the console and have also defined the type of relationship in the same . The product table is also involved with another table in a product level relationship . When i open the data manager and double click the relationship name under the record detail tab , i can see the pop-up window but it does not allow me to add any records to the relationship .
    The guide tells me to use the "Relationship" menu option by selecting the number of records I want to add to a relationship and then use the relationship menu on the top of data manager , but when I tried to do that , the options are greyed out .
    What do you guys think is the problem ??
    Regards
    Deepak Singh

    Deepak,
    You should be all set with setting the table up in the Console. Once you add the Parent/Child relationship there it should be active in the Data Manager.
    To add parts to the table in the Data Manger:
    Select a specific part (the parent part)
    Double click on the child field in the relationships table
    It should open the new dialog box and default to the child tab in it
    This dialog box will remain open and you can move around in the Data Manager without changing this selection
    Find the part(s) you want to add to the relationship as children
    Select them in the Records window and drag-and-drop them into the Relationship window that is open
    It should add them right in.
    You should also be able to add them with the Import Manager
    For Import Manger set up a file with:
    Parent                  Child
    Parent1                 Child1
    Parent1                 Child2
    Parent1                 Child3
    Parent2                 Child4
    Parent2                 Child5
    You should be able to map this to the Relationships table and import the relationships instead of manually mapping in the Data Manager.
    Regards,
    Tim

  • Error while opening MDM Data Manager

    Hi,
    We are getting the following error while trying to open Data manager on our repository.
    "Error Initializing Attributes for table Taxonomy
    Application will exit
    Already exists"
    mds Version 5.5.42.90
    MDM DataManager Ver5.5.42.90
    The repository loads without any errors. The server log file too doesnt show any errors.
    Is there anyway to fix this?

    Go to your MDM console, Login to repository and Unload repository first.
    Then load with Update Indices.
    This problem comes when you change anything in schema in console and then load repository with immediate option.
    So always prefer to use update indices as accelator files will get updated and data comes from actual database.
    If the problem still persists then Go again to console and check your repository for any fatal error. if errors come then repair repository and if not come then also repair.
    Then load with update indices.
    Hope it will help you.
    BR,
    Alok
    Edited by: Alok Sharma on Feb 14, 2008 9:20 AM

  • SAP MDM Data Manager Master Record

    Hi All,
    Currently we have two master records in the MDM repository however the original user who created these is no longer here; due to this these records are unable to be updated or deleted in SAP MDM Data Manager
    I cant find away of deleting these or moving ownership, I am hoping someone can assist

    If you have the Admin login cerdentails use those to delete the records.
    It would be helpful if your could give the version
    for 5.5 default Admin credentails are Admin and no password
    for 7.1 default Admin and password is sapmdm
    try these else ask for Basis/ MDM Administrator for Admin login credentails
    regards,
    Abhishek

  • One to One relationship between Dimensions and Fact Tables

    Hi,
    Not a real Discoverer question, but seeing as there is such a huge pool of talent here, I thought I'd ask anyway...
    Is the concept of having a one to one join between a Dimension and a Fact Table an Acceptable Thing (tm). I'm not talking about a degenerate dimension, as the Dimension would hold additional attributes.
    It's something I'm trying to get my head around and would appreciate any viewpoints.
    Thanks,
    Andy

    Hi Andy,
    There is of course no distinction in SQL between 1-1 and 1-n joins, but in your database design you would avoid denormalizing data into a dimension table if it was only ever used once.
    From a Discoverer perspective setting the join to 1-1 controls how aggregate queries are constructed. Normally, if you have a master-detail 1-n relationship and you aggregate items in both tables then you will get an incorrect result for the master table because the number of rows are multipled by the n detail records. Similarily if you have 2 detail tables in the query and you aggregate items in a detail table you will get incorrect results. Discoverer recognises these situations and raises an error.
    Setting the join as 1-1 tells Discoverer that it will get the correct results in these situations and therefore no error is raised. So it is perfectly acceptable to set the joins as 1-1 as long as you know the implications.
    Hope that helps,
    Rod West

  • To Identify Relationship between records in a table

    Hi
    I need to write a query to identify what relationship exists between records in a table.
    For example,In our system a manager can have more than 1 subordinate as well as an employee can also have more than 1 manager.
    I need to provide the relationship for a given set of employee-ids whether it is
    1 is to 1,
    1 is to many,
    many is to 1,
    many to many.
    Employee     Relationship     Relationship Description
    John     1 is to M     Implies John is reporting to multiple managers who have only one subordinate
    Stuart     1 is to 1     Implies Stuart is reporting to only one manager who has only one subordinate
    Robert     M is to 1     Implies Robert is reporting to only one manager who has multiple subordinates
    Martha     M is to M     Implies Martha is reporting to multiple managers who have multiple subordinates
    Can you please help me with this query?
    Regards
    Kapil

    To make things simple lets assume the following table structure and data
    CREATE TABLE EMP
    ENAME VARCHAR2(10),
    MNAME VARCHAR2(10)
    Data for M:1 Relationship
    INSERT INTO EMP VALUES ('John','Linda');
    INSERT INTO EMP VALUES ('Robert','Linda');
    Data for 1:M Relationship
    INSERT INTO EMP VALUES ('Peter','Stuart');
    INSERT INTO EMP VALUES ('Peter','Linda');
    Data for 1:1 Relationship
    INSERT INTO EMP VALUES ('Mary','Tim');
    Data for M:M Relationship
    INSERT INTO EMP VALUES ('Chris','Roger');
    INSERT INTO EMP VALUES ('Tom','Roger');
    INSERT INTO EMP VALUES ('Stephen','Roger');
    INSERT INTO EMP VALUES ('Stephen','Zoe');
    Now if I search for Chris and Mary I should get the result as:-
    Chris M:M
    Mary 1:1
    Hope this clarifies ;-)

  • Relationship between Dynamic Memory Heap and Heap Data Structure

    This question is not strictly related to Java, but rather to programming in general, and I tend to get better answers from this community than any where else.
    Somehow, my school and industry experience have somehow not given me the opportunity to explore and understand heaps (the data structure), so I'm investigating them now, and in particular, I've been looking at applications. I know they can be used for priority queues, heap sorts, and shortest path searches. However, I would have thought that, obviously, there must be some sort of relationship between the heap data structure, and the dynamic memory heap. Otherwise, I can think of no good reason why the dynamic memory heap would be named "heap". Surprisingly, after searching the web for 90 minutes or so, I've seen vague references, but nothing conclusive (trouble seems to be that it's hard to get Google to understand that I'm using the word "heap" in two different contexts, and similarly, it would not likely understand that web authors would use the word in two different contexts).
    The Java Virtual Machine Spec is silent on the subject, as "The Java virtual machine assumes no particular type of automatic storage management system, and the storage management technique may be chosen according to the implementor's system requirements."
    I've seen things like:
    [of dynamic memory] "All the blocks of a particular size are kept in a sorted linked list or tree (I extrapolate that sorted tree could imply heap)"
    [of dynamic memory] "The free and reserved areas of memory are maintained in a data structure similar to binary trees called a heap"
    [of dynamic memory] "This is not related to the heap data structure"
    [of dynamic memory] "Not to be confused with the data structure known as a "heap"
    [of data structure] "Not to be confused with the dynamic memory pool, often known as TheHeap"
    At this point, I've come to surmise that some (but not all) memory management algorithms use heaps to track which (pages? blocks? bytes?) of memory are used, and which are not. However, the point of a heap is to store data so that the max (or min) key is at the root of the heap. But we might want to allocate memory of different sizes at different times, so it wouldn't make sense to key on the amount of available memory in a particular region of the free store.
    I must assume then that there would be a different heap maintained for each size of memory block that can be allocated, and the key must have something to do with the attractiveness of the particular memory block in the heap (perhaps the lowest address, resulting, hopefully, in growing the free store space less often, leaving more space for the stack to grow, or perhaps keyed based on the fragmentation, to hopefully result in less fragmentation, and therefore more efficient use of the memory space, or perhaps based on page boundaries, keeping as much data in the same page as possible, etc).
    So at this point, I have a few questions I've been unable to resolve completely:
    1. Am I correct that the heap was so named because (perhaps at one point in time), a heap is/was commonly used to track the available memory in the free store?
    2. If so, would it be correct that there would be a heap per standard block size?
    3. Also, at what level of granularity would a heap typically be used (memory page, memory blocks, individual words (4-bytes))?
    4. What would be the most likely property one would use as a key. That is, what makes the root item on the heap ideal?
    5. Would a industrial strength system like the jvm use a (perhaps modified or tuned) heap for this sort of task, or would this typically be too naive for an real world solution today?
    Any insight would be awesome!
    Thanks,
    A.

    jschell wrote:
    I think you are not only mixing terms but domains.
    For starters the OS allocs memory. Applications, regardless of language, request memory from the OS and use it in various ways.
    There are many variations of the term "heap" like the following.
    [http://en.wikipedia.org/wiki/Heap_(data_structure)]
    [http://en.wikipedia.org/wiki/Dynamic_memory_allocation]
    A java VM will request memory from the OS (from a 'heap') and use it in its application 'heap' (C/C++) and then create the Java 'heap'. There can be variations of that along the way that can and likely will include variations of how each heap is used, potentially code that creates its own heap, and potentially other allocators which use something which is not a heap.This last part, I find a bit confusing. By "use something which is not a heap", do you mean the heap data structure, or the dynamic memory pool meaning of heap? If the former, then you would be implying that it would be common for a heap data structure to be used to manage the heap dynamic memory pool. If the latter, what would this "something which is not a heap" be? The best definition of "heap" I've found simply states that it is a pool of memory that can be dynamically allocated. If there is some other way of allocating dynamic memory, then it would suggest that the previous definition of "heap" is incomplete.
    >
    So to terms.
    1. Am I correct that the heap was so named because (perhaps at one point in time), a heap is/was commonly used to track the available memory in the free store?Which 'heap'? The VM one? It is probably named that because the implementors of the Sun VM were familar with how C++ and Smalltalk allocated memory.Okay, but that begs the question, was the heap in C++ and/or Smalltalk so named for the above queried reason?
    >
    2. If so, would it be correct that there would be a heap per standard block size?Not sure what you are referring to but probably a detail of the implementation. And since there are different levels the question doesn't mean much.
    However OS allocations are always by block if that helps. After that it requires making the question much, much more specific.
    3. Also, at what level of granularity would a heap typically be used (memory page, memory blocks, individual words (4-bytes))?Again not specific enough. A typical standard implementation of heap could not be at the word level. And it is unlikely, but not impossible, that variations would support word size allocations.
    The VM heap might use word boundaries (but not size), where the application heap certainly does (word boundary.)My understanding of it is that the application would request blocks from the OS, and then something like malloc would manage the memory within the allocated blocks. malloc (or whatever equivalent Java uses) would have to keep track of the memory it has allocated somehow, and I would think it would have to do this at the word level, since it's most commonly going to allocate memory at the word level to be references to other objects, etc.
    So I guess my question here would really be, if the dynamic memory heap is so named because there has been a memory management strategy that relied upon a heap data structure (which I've found no proof, but have found some suggestive literature), then would that probably have applied at the OS Page Fault level, tracking allocated blocks, or would that have applied at the malloc level, allocating individual words as necessary?
    >
    4. What would be the most likely property one would use as a key. That is, what makes the root item on the heap ideal?"Key" is not a term that will apply in this discussion.
    You appear to be referring to strategies for effective allocation of memory such as allocations from different regions by size comparison.
    It is possible that all levels might use such an allocator. General purpose applications do not sort allocations though (as per your one reference that mentions 'key'.) Sorry, I got the term "key" from an article I read regarding heaps, that indicates that a "key" is used to sort the elements, which I guess would be a more generalized way to make a heap than assuming a natural ordering on the elements in the heap. I'm not sure if the terminology is standard.
    >
    5. Would a industrial strength system like the jvm use a (perhaps modified or tuned) heap for this sort of task, or would this typically be too naive for an real world solution today?Again too indefinite. The Sun VM uses a rather complicated allocator, the model for which originated after years of proceeding research certainly in Smalltalk and in Lisp as well, both commercially and academically.
    I am sure the default is rules driven either explicitly or implicitly as well. So it is self tuning.
    There are command line options that allow you to change how it works as well.I guess perhaps I could attempt to clarify my initial question a bit.
    There is a 1:1 correspondence between the runtime stack, and a stack data structure. That is, when you call a function, it pushes a stack frame onto the runtime stack. When you return from a function, it pops a stack frame from the runtime stack. This is almost certainly the reasons the runtime stack is named as it is.
    The question is, is there or has there ever been a 1:1 correspondence between some aspect of the dynamic memory heap or how it is managed, and a heap data structure? If so, it would explain the name, but I'm a bit puzzled as to how a heap data structure would be of assistance in creating or managing the dynamic memory heap. If not, on the other hand, then does anybody know where the name "heap" came from, as it applies to the dynamic memory pool?
    A.

  • Update Terminated error in vf02 while entering foreign trade data.

    Hi,
    I am getting the following error while creating the invoice.
    Update was terminated
    Transaction..   VF02
    Update key...   4BF4CA64A1FB1416E1000000C0A80117
    Generated....   20.05.2010, 12:43:24
    Completed....   20.05.2010, 12:43:24
    Error Info...   FK 888: Enter a valid date (for example, 05/20/2010
    More over it is observed that the error is getting only whene we enter foriegn trade data in header.
    Checked Number ranges and copycontrols, document type. Stiil the problem exists.
    Please help.
    Regards
    Ibrahim

    Hi,
    Check the error analysis in the ST22. Here you get the complete error analysis.
    Furthermore if you want to check the updation error, then go to SM13 and see the update error analysis.
    Hope this information helps you.
    Regards.
    Deepak SHarma.

  • MDM Data manager :Unable to perform Checkout/in operations on record

    Hi forum,
    When I am trying to checkout  records  in data manager, I receive an error 'The Requested error was not found , verson 5.5 SP06'. Same error appears when we are executing checkin and roll back on any record in repository.
    Please advise on resolution steps for this.
    Regards,
    Vinay M.S

    Hi Vinay M.S
    Pls check functions for role that you used (SAP MDM Console->Admin->Roles).
    May be it role dont have permissions to checkout(in) records?
    Regards
    Kanstantsin

  • Differences between various source files in mdm import manager

    Hi,
    Can anyone tell me the differences between the source files(access,xml,xml schema,excel) available in mdm import manager?
    Thanks and regards,
    Rithesh
    Edited by: rithesh_shet on Mar 30, 2010 1:04 PM

    Hi Ritesh,
    MDM Import Manager provides flexibility to Import Data from different types of Sources into MDM.
    You can import data into MDM from below mentioned sources using Import Manager:
    1. From Files (Access, Delimited Text, Excel, Fixed Text, XML and XML Schema)
    2. Directly from Data base source (SQL server and oracle)
    As mentioned by Mandeep, XML Schema is something which you define in MDM console in advance. and then later select the Data source XML file and XML schema from drop down list (it will show all schema defined in console ) to validate XML source file against the XML schema.
    For automated Import, Ports are used. Ports are nothing but a logical point of contact with other systems i.e. other systems or middleware will drop file on the port for authomatic import and MDM import server will scan the port directory and if file is present then will import data automatically from file into MDM using a predefine Import Map. (this map needs to be defined manually in import manager and then assigned to port using console).
    Please check page no 45 of import manager reference guide for more details about various source properties of Import Manager.  (*link for import manager reference guide is already provided on the earlier post)
    Also check, page no 53 to 64 for how to import process. Kindly revert if you have any query.
    Regards,
    Shiv

  • Relationship between tables while using inner joins.

    Hi,
    I had a few clarifications on "inner joins", and as i was going through the forum, i came across two points,
    1. In one of the threads it said " inner joins is applicable for tables that have a parent child relationship.
    2. In another thread it said " inner join is established from master table (the table on the left) to the transcation table (the table on the right)".
    I have two clarifications based on the above points.
    1. Is it necessary that the tables on which im performing an inner join should have a parent-child/children relationship or is it enough that the tables just have a common field.
    2.  Also is it necessary that the master table should come first, (or can i use any child table from where i can fetch the records when there is a mater table in my report) as shown below.
    Eg: select * <fields> from <master table> inner join <table> on <field> into <itab>.
    Edited by: Narayananchandran on Dec 27, 2010 12:31 PM

    have two clarifications based on the above points.
    1. Is it necessary that the tables on which im performing an inner join should have a parent-child/children relationship or is it enough that the tables just have a common field.
    2. Also is it necessary that the master table should come first, (or can i use any child table from where i can fetch the records when there is a mater table in my report) as shown below.
    Eg: select * <fields> from <master table> inner join <table> on <field> into <itab>
    1) NO
                      2) NO

  • Issues while manually exporting from Data Manager

    Hi Guru's,
    When we try to export dat in Excel Or Text OR Access and select/tick Qualifiers for exporting then "Split qualified lookup fields into multiple rows" gets ticked automatically and greys it out,so cant even untick it......
    This causes issues as we want the whole data of record to come in single row  and not in multiple row..
    Any idea/setting which can fix this..
    Regards
    Vikrant M kelkar

    Hi Vikrant,
    This is the default behaviour. You can check the same from the below link
    http://help.sap.com/saphelp_mdm550/helpdata/en/43/e0677c82b40a2ee10000000a11466f/frameset.htm
    Exporting Records -> Exporting Table Records -> Qualifier and Qualified lookup field export
    Regards,
    Jitesh Talreja

  • Error while launching visio in Data Manager

    Hi All,
    I have installed visio 2003 version and working on SP03 5.5.28.17.
    The problem I am facing is that I am unable to launch visio through Data manager Client. When I am clicking workflow tab in Data Manager client, it is giving me error as "Error Launching visio - There is no path information for workflow .vsl in registry.
    Can anybody suggest what could be the problem.
    Thanks in advance.
    Regards
    Pooja Khandelwal

    Hi Pooja,
    Have you installed workflow plugin ? Check .. ?
    Start visio after installing the plugin.
    Regards,
    Vinay

  • How to generate lookup if there is one-to-one relationship?

    Hi,
    I am an new Jheadstart user and i am using Oracle Developer 10g with Jheadstart.
    There are two tables in my database with a one-to-one relationship between them.
    My database concept is that I need to have one table as a lookup of the other one. Jheadstart does not generate it that way because the relationship is not one-to-many, so I am not geting nor choice, nor lov.
    Could this possibly be solved?

    You probably get better answers in the JHeadstart forum.

  • Aggregate with a one-to-one relationship

    Is there a way for mapping a one-to-one relationship between an aggregate and a regular descriptor according to the class the aggregate is aggregated to?
    For example Class A contains Class B as an aggregate. Class B is associated to Class C in a one-to-one relationship. Class A' may also use the same aggregation.
    How to specify the table reference so that it is respectively a Table C to Table A database relationship and a Table C to Table A' relationship.
    I hope this is clear!?
    Please advice,
    Chris

    If I understand you have a shared aggregate B from A and A' that has a 1-1 relationship to C.
    To map this in the Mapping Workbench, first map A, A'. Then map the aggregate B, in mapping its 1-1 to C you should be able to choose any of the foreign keys references in A (or the first descriptor that mapped to the aggregate). You then go into the A and A' aggregate mappings and map the foreign key field in the aggregate to the foreign key field in the source descriptor's table.
    If defining the mappings in code you can choose to map the aggregate to either table, or the commonly named fields. If the field names in the source descriptor's table differ, then you provide a field-name translation in the aggregate mapping.

Maybe you are looking for

  • Service has been cancelled

    This has given me a headache…. 11 Months ago I cancelled my bt vision service due to my Freeview signal not been good enough... I received a pre-paid package from BT to send it back, which I did. Fast forward 6 months, I realised I was still being ch

  • About IDoc to file scenarios, ack not possible

    I almost work out this scenario except one error in XI, T-Code SXMB_MONI Acknowledgment not possible detail info is "Unable to convert the sender service FTP to an ALE logical system". Because I create two business service for SAP ERP and FTP, no tec

  • Reference object/element on an instance

    Is it possible to control an object/element on a instance? If so, how is it done through actionscript? There is an instance "instance140" off of the root, that has an element named img4 that i need to reference... does anyone know how I would go abou

  • Advice needed on producing a bi-lingual "flip" publication...

    Hi all, I am currently trying to working on producing a bi-lingual publication and I am stuck. Doing layout for the individual publications is no problem, but we are hoping to print them as one publication. I am sure you have seen the kind of publica

  • Failed to get information fro MP: 80072ee7

    I am getting the error within my SMSTS.log file when trying to push a new image in our lab environment.  I have read others but everyone is using PXE boot or some sort and it comes down to DNS and DHCP.  However, in my environment that I am using we