Key Mapping Information

Hello All
We have a case where we would like to move a selected set of materials from repository 1 to another repository 2 and still maintain the Key Mapping information that those materials have from the original Import into repository.
Any suggestion?
all help greatly appreciated
C

Hi Con,
I just want to summarize if I understood you right: you have a category that has some products. You want to migrate both into a second repository. Migration of the category is working but the key mapping information is lost or incomplete?!
How do your products look like? Do they have multiple key mapping entries? The syndicator would be able to distribute multiple key mappings (you can add multiple target systems in the destination properties of your map). But Import Manager is currently able to import only one key mapping records for a single remote system during an import run. This would mean that you have to syndicate your products for each remote systems and you have to do the same amount of imports.
BR Michael

Similar Messages

  • Display MDM key mapping information in EP Item Detail iViews

    Hi,
    in my repository I have the main table 'customer' including key mapping information for several client systems (master data consolidation scenario).
    The customer data is diplayerd in EP using the Item Details iView. I'd additionally like to display the key mapping information in Item Details iView, for example as a separate tabstrip. Is this feature already supported by the Item Details iView? How can I implement it?
    I'm using MDM 5.5 SP3 / EP6.0 SP14.
    Thanks in advance,
    Martin

    Hi Martin,
    Currently iView do not support the functionality to disply the key mapping information.
    Workaround I implemented is that, added a field "source system" to main table with type lookup. Added lookup table "source systems" with list of names of client systems. This helps user search data based on client system name.
    I hope this is helpful.
    Abhay

  • ABAP API and Key Mapping

    Hello there,
    I am trying to use the MDM 7.1 ABAP API to access MDM data from within a BI system.
    Now I am wondering how to access key mapping for records in the Main Table.
    In the Java API there is the RetrieveRecordsKeyMappingsCommand which returns all key mapping information for a list of record IDs. But I cannot find something similar in the ABAP API.
    Who knows where to start?
    Thanks for hints
    Ingo

    Hi ,
    In ABAP API also you can retrieve key mapping of main table records using function 'MDM_API_RETR_CLIENT_SYS_KEYS'.
    You will get details of this function in sap library or ABAP API documentation provided by SAP.
    For any further queries kindly reply.
    Regards,
    Neethu Joy

  • MDM Exception: Key mapping value must be unique. You cannot overwrite key

    "ServerException: Key mapping value must be unique. You cannot overwrite key mapping values."
    I received such exception when code tried to manipulate Key Mappings of the record.
    error was not happen on mdm 5.5 but on 7.1 it sometimes appears.
    What is probable reason of this?
    How to resolve this ?
    Code is approximate so:
                                         String[] keys = keyMapping.getKeys();
                        if (recordKeyMapping.containsKeyMapping(remoteSystem)) {
                    recordKeyMapping.replace(remoteSystem, keys);
              else {
                   recordKeyMapping.addKeyMapping(keyMapping);
              //Persist
              targetRecord.update();
    //where methods are:
         public void replace(RemoteSystem remoteSystem, String[] keys) {
              KeyMapping keyMapping = getKeyMapping(remoteSystem);
              if (keyMapping == null) throw new IllegalArgumentException("Can't update keys: key mapping for the system '" + remoteSystem + "' is not found");
              else {
                   keyMapping.setKeys(keys);
         public void addKeyMapping(KeyMapping keyMapping) {
              RemoteSystem remoteSystem = keyMapping.getRemoteSystem();
              for(int i = 0; i < keyMapping.size(); i++) {
                   addKey(remoteSystem, (String) keyMapping.get(i));
    Edited by: Vladimir Grigoryev on Oct 5, 2010 11:26 AM

    Hello -
    I am not sure on that coding part. but is it like are you trying to retrive Key Mapping from Memory accelerator. Here this information always needs to be read from Database.
    I am sure you also maintained  the required attribute for key mapping as in Property in Console should be set as "Yes" and other relevant things properly .
    Here also go through the below link for more insight from tools perspective.
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30843106-5539-2b10-75a9-da483911b0d9
    http://help.sap.com/javadocs/mdm/sp06/com/sap/mdm/data/KeyMapping.html
    It may help
    Rgds
    Deep

  • Key Mapping / URL hiding etc

    Hi All APex Fans,
    I'm in the process fo deploying a public application . ( i.e. zero authentication)
    My URL is a typical HTMLDB URL which reveals certain key fields depending on which page of the application you are :
    https://xx.xx.xx/htmldb/production/f?pp=xxx:2:1276630965096638381::NO::P2_USERTYPE,P2_USERID:employee,E0999
    In other words , Managers are horrified by the fact that this URL reveals a bunch of key fields and information .
    I can hide the first part using virtual host - but How do I create "key mappings" for the rest of the URL that starts with ?p=.....
    Is there such a thing called Key Mapping available for HTMLDB ? ( similar to what we have in Oracle Reports)
    Or is it much preferable to use Frames ( where the main frame stays static to the main URL and the Window frames play the HTML DB application pages without revealing HTMLDB URLS ?
    Could be a dumb question - but I am also being a mouth piece to some Oracle Reports experts who feel very strongly about HTMLDB URLS which they said reveal too much of its key info.
    Any suggestions ?
    Indira

    Only pass the items that you need to (for example primary keys of records you wish to manipulate). Most other item values can actually be set in the page itself.REPLY : That's exactly what I do / did.
    typically , the USERID does not show on any page at all- it only shows up IF and only IF i open a "drill-down" pop-up in a new window from a main page that brances to it using a USERID.
    - pop-ups typically don't show URLS. I know.
    But I was only playing both good and devil's advocate to explain my anti-SQL-Injection strategy . I was trying to explain how I made sure "malicious users" won't be able to play with URL to reveal confidential info because I have other checks in the SQL code to block confidentation info, even if the user=USERID is displayed if that USERID is set from the browser.
    Unfortunately , I had to show them how you could substitute portions of the pop-up URL , for the actual URL and play with URL.
    ( I won't say I have shot myself in the foot) - But now the users are expressing general concerns about setting this USERID from the browser.
    Who said DBA's and developers only struggle with machines ... ? It's complicated for users to understand .
    Are your managers horrified because they can see the information? Or are >>they horrified because they believe that if they can see it then it must be insecure? REPLY :: Yes - they horrified because they believe that if they can *see
    I think the use of FRAMES can definitely soothe the climate because the blanket/main FRAME will always show a lovely https://xxx.xxx.com/myapp/
    no matter which page of the application you are in.
    Due Dilligence .
    Any other ideas ?
    Regards...

  • Key Mapping with Oracle Reports

    I am currently trying to run report requests using the Oracle Report Server however the problem that I have is that we need to send database username/password information over the network. From a security perspective this is not acceptable.
    One way we were going to get around this is to "wrap" the Oracle Report servlet with another servlet, so the client browser sends the wrapper servlet information such as report location and report name, and the
    wrapper servlet adds in additional information such as the username and
    password, eliminating the need for the client application to know this information.
    The problem is that the URL returned to the client when the report is generated contains the username/password, which again is not
    acceptable. As I have seen mention that Oracle Reports can be run over the Internet,
    I assume that there is a mechanism for hiding this information. Do you know how to achieve this?.
    I am keen to just hard code the user name, password, and database connection into a key mapping file to resolve this security issue. However we are having trouble getting this method to work with the Oracle Report Servlet. We are using WebLogic Server to serve these servlets.

    Hello,
    Here is an extract from Reports documentation:
    Oracle9iAS Reports Services Publishing Reports to the Web
    Release 2 (9.0.2)
    Part Number A92102-01
    3.3.2 Reloading the Key Map File
    Use the RELOAD_KEYMAP parameter to specify whether the key map file
    (cgicmd.dat) should be reloaded each time the servlet receives a request.
    For example:
    RELOAD_KEYMAP=yes
    This is useful if you frequently make changes to the map file and want the
    process of loading your changes to be automatic. Runtime performance will be
    affected according to how long it takes to reload the file.
    Typically, this parameter is set to no in a production environment and yes in
    a testing environment.
    Regards

  • Automatic update of Key Mapping

    Hello MDM Experts,
    We have got a legacy system which is the master source of information. Now if my repository has 10 fields for a material,and if 6 fields are coming from the legacy system then the rest of the 4 fields are coming from R/3 systems.so the data has to align together for a material in SAP MDM.
    In the legacy system for a material material number and RState(revision state) is the key where as for R/3 systems only the Material number is the key.There are also no global id's concept in this case.
    We need to investigate the posibility to delete key mapping values from MDM records automatically. I wasn't able to find such a functionality in the standard Import manager functionality. The scenario:
    In R3 side there is a record that is dynamic and always keeps the latest R State(revision state). So when we import that record into MDM we have material number and R State as a key mapping value (ROJ786501/1;R1A)
    When the record in R/3 changes the state (R State is changed) it comes to mdm as a new record with a new key mapping (ROJ786501/1;R1B) and the record which had a key mapping (ROJ786501/1;R1A) do not exist in the R/3 anymore so we need to delete the old key mapping value from the old record in MDM. Is this possible to do in an automated way?
    Would allocate points for helpful solutions
    Best Regards,
    CM

    Hello Michael,
    The material number and the RState in the legacy system are two different fields and RState is the Lookup field as of now. But the combination of both is the key in the legacy system.
    The issue is in the R/3, like there are some material which do not have the Rstate in the RState field but in the basic
    data text for the material there is the Rstate mentioned.And there are few materials where this Rstate is not mentioned even.And in the R/3 side Material number is the key.But We can customize the Idocs by putting one more segement for RState and populate the RState field by pulling the data from the basic data text and.So when there is no RState for a particular material then it would be a NULL and in PI we can replace it by using a '/' or something else.
    Now suppose i have a material ROK12456/1  and RSTATE as Z1A and have imported it to the MDM. Now if the RSTATE for
    ROK12456/1 changes to Z2A and in R3 always keeps the latest R State(revision state). So when we import that record into MDM we have material number and R State as a key mapping value (ROK12456/1;Z1A) When the record in R/3 changes the state (R State is changed) it comes to mdm as a new record with a new key mapping (ROK12456/1;Z2A) and the record which had a key mapping (ROK12456/1/1;R1A) do not exist in the R/3 anymore so we need to delete the old key mapping value from the old record in MDM. Is this possible to have this type of functionality and if yes then can we do in an automated way?
    Best Regards,
    CM
    Edited by: chinmoy mohanty on Feb 7, 2008 10:50 AM
    Edited by: chinmoy mohanty on Feb 7, 2008 11:18 AM

  • Update key mapping via web service

    Hi ,
    I have a question about edit key mapping. The problem is that we create vendors in MDM and syndicate them to different ERP systems. To decide which system a new vendor/changes must be send to, I need the Edit Key Mapping, but the users do not want to enter this information manually and I do not see how I can create key mapping automatically.
    We are working on a new solution where vendors are entered in sharepoint and updated in MDM via web services. I would like to know if one of you know if key mapping can be maintained via a web service.
    Kind regards
    Jonna

    Hello,
    You may use the document,
    [MDM PI via Web Service Key Mapping|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0812356-e62f-2c10-76aa-9a02d038ba81]
    Hope this helps your scenario
    Regards,
    Abhishek

  • Edit Key Mapping

    Hi Folks,
    I have encounter one problem while doing merging of two records either in Vendor or in Material. I have set EDIT KEY MAPPING in console as ON .
    But after merging two  records i am not getting any records in the EDIT KEY MAPPING pop-up it is blank.
    Please suggest any change which i have do and for information i am using Maps saved from standard maps.
    Much thanks in advance
    Rohit

    Hi Rohit,
       Please check following console settings:
      Unload the repository.
    In left pane in the console select the repository on which remote key mapping is to be applied .After this from the right pane select the table on which remote key to be applied and enable the key mapping by making it ‘YES’.
    If you are using the Main table then Select Main Table like Vendors/Customers/Product  in your right pane of Console i.e. <i>Tables</i> pane and enable the key mapping by making it ‘YES’ for this table.
    Now In Import Manager <i>select source table and select that destination table for which you enabled key mapping</i> just create one Clone field which can provide useful info e.g. you can create clone of Important fields like <b>Customer ID for Customer table or Vendor Number  for vendors table. </b>
    Now check it out and let me know.
    Please revert if any queries.
    Thanks and Regards,
    <b>Sagar Sonje
    Mark Helpful Answers</b>

  • Remote System and Remote Key Mapping at a glance

    Hi,
    I want to discuss the concept of Remote System and Remote Key Mapping.
    Remote System is a logical system which is defined in MDM Console for a MDM Repository.
    We can define key mapping enabled at each table level.
    The key mapping is used to distinguish records at Data Manager after running the Data Import.
    Now 1 record can have 1 remote system with two different keys but two different records cannot have same remote system with same remote key. So, Remote key is an unique identifier for record for any remote system for each individual records.
    Now whenever we import data from a Remote System, the remote system and remote key are mapped for each individual records. Usually all records have different remote keys.
    Now, when syndicating back the record with default remote key is updated in the remote system that is sent by xml file format.
    If same record is updated two times from a same remote system, the remote key will be different and the record which is latest contains highest remote key.
    Now, I have to look at Data Syndication and Remote key.
    I have not done Data Syndication but my concept tell if there is duplicate record with same remote system but different remote keys both will be syndicated back. But if same record have two remote keys for same remote system then only the default remote key is syndicated back.
    Regards
    Kaushik Banerjee

    You are right Kaushik,
    I have not done Data Syndication but my concept tell if there is duplicate record with same remote system but different remote keys both will be syndicated back.
    Yes, but if they are duplicate, they needs to be merged.
    But if same record have two remote keys for same remote system then only the default remote key is syndicated back.
    This is after merging. So whichever remote key has tick mark in key mapping option(default) , it will be syndicated back.
    Pls refer to these links for better understanding.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/80eb6ea5-2a2f-2b10-f68e-bf735a45705f
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/7051c376-f939-2b10-7da1-c4f8f9eecc8c%0c
    Hope this helps,
    + An

  • Key mapping

    Hi All,
    I have 3 fields in my source file Id,Category (Key Mapping) ,Name.
    In Import Manager
    I have mapped Remote Key field with ID .
    Name with Name
    category with Category Qualified Range (A 1-10)
    I have source file like this
    Id name category
    11  10  A
    In syndicator i have one more field Material Number .Mapped this with Material Number (should Get generated material  Number )
    Name with Name
    Category with Category
    Remote Key value with Material Number
    After syndication I am getting Id values in Material Number .(Instead of 1 I am getting 11)
    Can any one let me know the solution?

    Got It . Should not Map Id field with the Remote key in Import Manager.

  • Key Mapping activates Versus Import Manager

    Hello,
    I have Key mapping activated in the console and Supress Unchaged Records activated in my syndication map.
    Case  : I import files (suppliers catalogs) to MDM via Import Manager manually. I am not sure about it, but since I activated Key mapping property,
    I noticed that for each supplier ID in the Supplier table, a lot of remote keys were created. Previously I only had one remote key for each supplier and now I have a list of other supplier's ID. ( Existent or nonexistent supplier IDs). This becomes an issue for my import, because  when I try to import a file where the supplier id does not exist in the MDM ( this scenario used to block my import and this is what a expect, as supplier is a key in my mapping),  the system automatically maps that nonexistent supplier to other supplier.
    Can you help me to understand if this is caused for the key mapping property ? Any Idea ?
    Thank you very much
    Luciana.

    Hello Stanley,
    The remote keys are form the same remote system.
    My story is : When I am importing a file , suppose my file has an invalid supplier ID. ( this means this supplier is not in the lookup table Suppliers)
    1)The import manager will give me a message such as : Map Supplier ID Values. This behavior was expected.
    2)I decided to test the automap. The invalid supplier was not mapped to a different value. I am ok with that.
    3)If the user ( dont ask me the reason ;-)) decides to map that invalid supplier ID to a different one, he/she is allowed to do so. I remember when the key mapping was not activated this option did not exist. The map and automap button was deactivated.
    What I am trying to make sure is : a remote key will be created for invalid suppliers ONLY if I choose to map it with a different supplier ID.
    Do you have any comments about it ?
    Thank you very much
    Luciana.

  • Key Mapping - Automation

    Hi , I have a following scenario that I want to automate within MDM :
    Vendor data coming from 3 remote systems ( say p-Carrd , Legacy Supply management and Invoice system) .
    1. Have loaded vendor data from all the systems in MDM using import manager .
    2. Have applied rules for match and then merge for likely identical records
    3. Now  I want to see the key mappings for the merged record to determine say what are the source records have been merged into a single record so one way is I could add the id of source systems for this MDM record but that is manual .
    Is there any way to automate this i.e. whenever I merge records and clieck on view key mapping I should have all the source system ids and remote systems appearing .? Key mapping is enabled for main table i.e. Vendor master
    Regards,
    Amit

    Hi Amit,
    first before importing any records, you should add your different source systems to your repository in MDM Console. You can do this in the Admin section. Having done this you can already import your source files for your source system. This step will automatically create a key mapping entry that can be seen in MDM Data Manager. Make sure that you map the actual key field of your record to the destination Remote Key field in your import map. If you now merge records from different source systems in MDM Data Manager, the merge will automatically append the remote keys of the  different systems to your merged record.
    Best regards
    Michael

  • Key Mapping in Forms 10g

    Dear All,
    I have migrated forms 3.0 in unix to forms 10g in windows 2003 server.
    In my older version, '+' key is mapped to do COMMIT. I want to map the same key in forms 10g. i tried the same in my frmweb.res. Pls find the mapping done by me below.
    *107 : 0 : "Add" : 36 : "Commit"*
    This works fine.
    The Issue is ... My cursor is in a text item .... I entered some data and press " + " key to save. The data is saved but at the same time the data in the text item is erased and + is getting replaced in the text item. I dont want my data to be erased and replaced with "+" symbol.
    How to map the "+" just for COMMIT and should not replace the data in the text item ?
    Can anyone help me to solve this issue...
    Thanks in Advance
    Sharf

    Unfortunately, sometimes the role of the developer is to educate the user/management what can/can't and should/shouldn't be done. If I were in your postition, I would make every effort to educate the user/management this this is a REALLY bad idea and encourage them to use the standard key mapping or use a modifed key mapping that uses just the F-Keys.
    The problem you have to overcome is that you have to not only tell Forms to do something different when the '+' key is pressed, but you have to have a listener in your application that is listening for the '+' key and supress the '+' character. To my knowledge, this cannot be done with native Forms built-ins. You would have to write your own Java solution (JavaBean or Pluggable Java Component [PJC]) to suppress the '+'. I have found that if you can provide the user/management with a cost estimate associated with the effort needed to code a particular feature. Once they realize the level effort and more importantly the cost associated with coding a particular feature, they typically will change their mind and see reason.
    I know this is not what you wanted to hear, but I hope it will help anyway. :(
    Craig...
    Edited by: CraigB on Aug 2, 2010 2:05 PM
    Edited by: CraigB on Aug 2, 2010 2:07 PM

  • Remote Key Mapping - Maintanance

    Hi All,
    I have Auto Id field in my repository; I would like to maintain this as my remote key value in my key mapping table ( automatically) in the following scenarios:
    1. Initial Loading
    2. On going ( from portal)
    3. Manual creating a record
    The issue is, since its auto id - not available until unless it get created?
    Do I need to syndicate all and loop back as Import and update remote key??? or any webservices and so?
    thanks,
    Alexander.

    Hi Raja
    You are correct on the approach. This can be done by automatic syndication of the newly created records from any of the channels( excel import, Portal, MDM GUI) to Outbound ready folder from where the files are copied to Inbound folder and automatically imported back in MDM. Steps to be followed can be-
    Create ports for syndication and auto Import
    The syndication map should contain mapping for Auto ID and any other unique field for reference. Assign this to Outbound port above.
    The map used for importing should contain mapping of Auto ID to remote key for the record.Assign this to Inbound port above.
    Define/set up a batch job for copying the files from Outbound Ready folder to Inbound Ready folders.
    hope this helps.
    Ravi

Maybe you are looking for

  • Sound file is not uploading to server

    I am trying to upload a sound file to my remote server and it is saying the following: Life_is_a_ Highway.mp3 - error occurred - An FTP error occurred - cannot put Life_is_a_ Highway.mp3.  Access denied.  The file may not exist, or there could be a p

  • Change Reports query from Form

    Hi, Can I use PL/SQL in a Form to modify or add to the Report's query in runtime? i.e If a Text Item in a form was left blank in then I would like to modify the WHERE clause in the Report to remove one of the parameter defined. in Report's query WHER

  • Every phone call cuts off...

     I got a blackberry curve 9360 at the beginning of May and now for some reason every phone call I make or receive is getting cut off. Internet works fine, I can still text but I am now having to pre-warn people when I get on the phone that it will be

  • My ipod has only the apple symbol and does nothing else

    I have plugged it in and opened itunes. Nothing is there to sync. It will not power off.

  • Phone turned off

    my new 5s turned off and I can not get it to turn on, its less then a month old