Set Key Field in Import Manager

Hi All,
I have 2 fields in my source file(name,category) .category(look up Field) is the key field and name(display Field) is the matching field.
I got file like this......
Name                  category
1                           A
1                           B
1                           C
While importing i got an error stating that Import failed. The destination record was referred to by multiple source records. Duplicate source records should be merged before importing them.
Import action: Update (All Mapped Fields)Source record no: 1
But in this case my key field is Category based on category  then these 3 records will be 3 different records.
Please let me know the  use of Set Key field in the Import Manager and how it works?

Hi,
It's not about set of key field in MDM Import Manager but the reason is that you can not select more than 1 category(Lookup Taxonomy) in maintable for one record. thats why error is coming because for this Property Multi-valued always No.
Even, you can try this in Data Manager manually create three Category A, B and C in taxonomy mode on selecting Sub table Categories, then on selecting main table, when you select category field(which is lookup to categories table)for a particular record you could able to select only one category A, B or C.
i would suggest make a Attribute of type text having three values A, B and C and mark this as Multi-Valued in Attribute Detail and link this Attribute with your category. in this way you can attach three values A, B and C with your Record.
Other thing you can do,make this category field as (Lookup Hierarchy not lookup taxonomy) in main table to Subtable(Hierarchy) then for this field in main table you can set Property Multi-valued = Yes in MDM console and then after Import using MDM Import Manager finally only one record will get created in Data Manager as:
Name Category
1         A;B;C
Hope it will Help you,
Rewards if Useful.....
Mandeep Saini
Edited by: Mandeep Saini on Jun 20, 2008 8:46 AM

Similar Messages

  • How to set key fields in a Database view

    Hi guru's
    iam balaji,plz guide me with how to set key fields in a view.......that field is a non key field in the base table....
    thanks in advance,
    Balaji.S

    take a look at this:
    Diagnosis
        In the view, not all of the mandatory fields were included as key
        fields. The key of the view therefore is not unique.
    System Response
        All the fields are regarded as key fields in order to guarantee that th
        key lengths are unique.
    Procedure
        For views with a large number of fields, this could have a negative
        effect on the performance for the language construction described below
        In this case, all the mandatory key fields should be included in the
        view.
    regards

  • Create key mapping using import manager for lookup table FROM EXCEL file

    hello,
    i would like create key mapping while importing the values via excel file.
    the source file containing the key, but how do i map it to the lookup table?
    the properties of the table has enable the creation of mapping key. but during the mapping in import manager, i cant find any way to map the key mapping..
    eg
    lookup table contains:
    Material Group
    Code
    excel file contain
    MatGroup1  Code   System
    Thanks!
    Shanti

    Hi Shanti,
    Assuming you have already defined below listed points
    1)  Key Mapping "Yes" to your lookup table in MDM Console
    2) Created a New Remote System in MDM console
    3) proper rights for your account for updating the remote key values in to data manager through import manager.
    Your sample file can have Material Group and Code alone which can be exported from Data Manager by File-> Export To -> Excel, if you have  data already in Data Manager.
    Open your sample file through Import Manager by selecting  the remote system for which you want to import the Key mapping.
    (Do Not select MDM as Remote System, which do not allows you to maintain key mapping values) and also the file type as Excel
    Now select your Soruce and Destination tables, under the destination fields you will be seeing a new field called [Remote Key]
    Map you source and destination fields correspondingly and Clone your source field code by right clicking on code in the source hierarchy and map it to Remote Key if you want the code to be in the remote key values.
    And in the matching criteria select destination field code as a Matching field and change the default import action to Update NULL fields or UPDATED MAPPED FIELDS as required,
    After sucessfull import you can check the Remote Key values in Data Manager.
    Hope this helps
    Thanks
    Sowseel

  • Import Manager - Problem with 0..n field in Import Manager

    Iu2019m having problems with XMLs that contain multiple or single tags in MDIS process. For example: I did the map using a XML with multiple tags for Address:
    <address>
    <item>
    u2026
    </item>
    <item>
    u2026
    </item>
    </address>
    When I send two address or more Address, the Import Server work fine, but when I send only one Address, the address is not imported.
    <address>
    <item>
    </item>
    <item>
    </item>
    </address>
    Opening the xml file with only one Address in Import Manager, I saw that the fields isnu2019t mapped, but when I open a xml file with multiple Address itu2019s open correctly.
    The XSD cardinality for the Address\Item is 0..n

    Hi Evandro ,
    If it is processing the input file correctly through the Manul Import manager process then update your latest Map by using SAVE As option or else save this correct map with a new name altogether and use this new map in the port for automatic importing.
    If your file is able to process correctly through the Import manager without showing any errors till the Import step in the Import manager then this map must be correct and shoul automate the importing correctly.
    Provided you are using the similar file for automatic importing as well.The file name and the fields as well as the value mapping as saved in this corrected map must not differ with the input file else this saved map will not be able to import correctly.
    Check to see if you have made correct setting for automatic importing by refering the below link:
    http://help.sap.com/saphelp_mdm550/helpdata/en/43/12036df94c3e92e10000000a1553f6/frameset.htm  (Automatic importing MDIS - Import manager ref guide>MDM import server(MDIS)>MDIS Consfiguration)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8973bcaf-0801-0010-b7a7-f6af6b1df00e(mdm import and syndication server)
    Also check the exception folders if your import is not taking place automatically:
    http://help.sap.com/saphelp_mdm550/helpdata/en/43/12036df94c3e92e10000000a1553f6/frameset.htm (Exceptions- MDM Import Manager MDIS-Exception handling)
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Combining two source fields in Import Manager

    Hi,
    I am trying to combine two source fields say fld1 with 5 digit and Fld2 with 3 digit so that combined fld3 of 8 digit can be mapped to a 8 digit field in destination MDM side.
    Any suggestion how to do this is highly appreciated
    Thanks,
    -reo

    Hi Reo,
    I am just adding details to how to combine fields in the import manager.
    To combine two or more existing partitions for a destination node steps are as follows:
    <b>1. </b>In the appropriate source hierarchy tree, select the node whose partitions you want to combine.
    <b>2.</b> click on the Partition Field/Value tab to make it the active tab.
    <b>3.</b> In the appropriate Partition list, select the two or more partition items you want to combine into a single partition.
    <b>4.</b> Click on the Combine button, or right-click on one of the items and choose Combine Partitions from the context menu.
    <b>5.</b> MDM combines the selected partition items.
    <b>6.</b> Now you can map this partition directly to the destination field.
    But as ur requirement seems ,u do not need to set delimiter.
    Hope it will help you and let me know the results. please remark .
    Thanks,
    <b>Shiv Prashant Dixit</b>

  • Map Auto ID field in import manager

    Hello all
    I need to make a quick fix to the data in our repository. A field needs to be updated based on a small formula. To do so I have syndicated the information and imported it to and SQL database where calculated the result. I exported it to a text file.
    Now I need to create a map to update the field. However the only common ID is the auto ID field I have set up. I can't map the source to the destination - the map button is grayed out when I select the auto ID field.
    Is it not possible to map it or is it because the auto ID field is numeric and my import is text.
    BR
    /Alexander

    Hi Alexander,
    It is true that the Auto Id field cannot be  imported or syndicated.But as you said you have used only the auto id field as the Primary matching fiel dand you need the Auto id information only so as to import then a workaround  i would suggest
    - Create a new field in your repository in console say(Auto id1)
    - Make this field as calculated field
    - In the calculation expression just selct the auto id field from the dropdown
    - This will populate the autoid field1 with the values same as the auto id field
    - And then try mapping it to this newly craeted field while importing.
    - This is just a workaround i am not sure whether it will address your problem directly
    Hope It Helped,
    Thanks & Regards
    Simona Pinto

  • SRM-MDM - loading hyperlink field in import manager

    Hi forum members,
    I am having trouble loading the hyperlinks in for SRM-MDM in import manager.
    What fields / values do I need to map to load this please?
    I have mapped the hyperlink source field to the hyperlink destination field, but get an error during import executing saying there is an creating lookup table entry.
    Is anyone able to provide step-by-step details of which mappings are needed?
    Thanks very much,
    Nick

    Hi Nicholas,
    the non-qualifier for the hyperlinks table is the type. Therefore you need to also map this field. Please check note 1077701 (under 11.) on how to use the types.
    Let us know whether that helped.
    Best regards
    Christian

  • Combine fields in Import manager

    Dear all,
    I want to import two related fields to one field in the destinatation. This is linked to a look up table with a combined key.
    Now I can combine the two input fields and map it to the destination field (two display fileds).
    However the field mapping can not be done by automap, only manual mapping.
    Does anyone know how to get an automap?
    thanks in advance

    Hi
    I want to import two related fields to one field in the destinatation. This is linked to a look up table with a combined key.
    Now I can combine the two input fields and map it to the destination field (two display fileds).
    However the field mapping can not be done by automap, only manual mapping.
    In the lookup table suppose we have field1 and field2 as the display fields then for the table define field1+field2 as the unique key in console. Next for the lookup table also enable remote key in console.
    Now while importing clone the field1 and field2 and partition field1 using field2 with a delimiter as ;
    Next map the combined field as you have already done and also map the partitioned field to the remote key(field1+field2)
    Automap will work now..
    best regards
    Ravi

  • How to Split field  into multiple fields in  Import Manager without  delem

    Hi
      Is there any method to Split a record in MDM without using delimitter?
    I dont want to use any delemitter  My field content in Source is  PRODLABELPACK and I want to split it into 3 fields in destination  Field1= PROD
    Field2=LABEL   Field3=PACK
    I know how to split it if the content is PROD_LABEL_PACK .But we dont want to use delimiter in the firld and want to use some substring function
    Regards
    Prashant

    You Can use below FM  SWA_STRING_SPLIT -
    First Use READ_TEXT FM.
    then loop into
    loop at tline.
    Here use 'SWA_STRING_SPLIT' -> Pass tdline and append the text into other internal table.
    endloop
    Thank you
    Seshu

  • Remote Key Field not visible on destination during Import

    Hi All,
    I have made certain tables(Main, Flat,QT) remote key enabled. but when i m trying to import data remote key field in the destination side doesn't come up. Remote sys is of type Inbound/Outbound. Please let me know in case any one can provide any link to this.
    Thanks
    Manish

    Hi Manish,
    I have made certain tables(Main, Flat,QT) remote key enabled. but when i m trying to import data remote key field in the destination side doesn't come up. Remote sys is of type Inbound/Outbound. Please let me know in case any one can provide any link to this.
    There are 2 steps to get the remote key in the Import Manager destination side. One is to ensure that the key mapping is set to YES in Console ( which I guess you have already done). And the other is while Opening import Manager, choose the Remote system in the Connect to Source screen.i.e Mention the remote system name in the Remote System in the Import Manager dialog Box. This would get you the remote key on the destination side, that you are looking out for.
    For reference refer the link below to get the info:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30843106-5539-2b10-75a9-da483911b0d9
    Thanks and Regards
    Nitin Jain

  • Map a field more than once in import manager

    Hi experts,
    is it possible to map a source field to more than one destination fields in import manager? E.g. I have a source field "client" and I have to map it to a destination field "client" and also to a combined lookup field which consists of a field "client" and "systemname".
    Thanks for your answers. Regards, bd

    Hi,
    Yes you can achieve this , During Import Manager when mapping source field to target field in Map Field/Values tab, just above this on left hand side you can see Source Hierarchy in MDM Import Manger, Right click on field which you want to map more  than one Destination field, here you get Clone Field option which make clone field , so you can map this clone field to other second destination field which will serve your purpose.
    Hope it will Help you,
    Rewards if Useful.....
    Mandeep Saini

  • Partial match for Value Mapping in Import Manager

    Hello Experts,
    We have a import map which is used to do mass insert of data into the main table. This is done as & when required by the end user.
    We have a qualified lookup field which has a flat lookup filed as the Non-Qualifier. This flat lookup field is refering to a Lookup Flat table, which has mulitple dispay fields like Code,Name, Status etc. (14 fields in total) where as only the Code is the unique field.
    We have only the unique field in our source file which we use for the import. Since we have only a part of the display fields in the source, the automap functionality in the Value maping section doesn't work. It becomes very tedious for the user to manually map all the values for this field.
    Is there any way by which we can convert the source or target values in the import map, so that we can map the values using the Automap feature?
    Your help & suggestion for alternate approach is highly appreciated.
    Thanks in advance.
    Regards,
    Uday
    P.S. We are using SAP MDM 5.5 SP6.

    Hi Uday,
    No need to enable remote key mapping for QLT. Please execute the below steps(stated with an example) -
    1.  Among all the fields in the referenced lookup table, identify the lookup fields and the tables they are looking up .
    For eg.If you have a lookup field as 'Country' as one of the fields, look up table will be 'Countries'
    2.For the identified lookup tables, set 'key mapping =Yes' in Console.
    For eg, For Country Lookup table ,set Key mapping to 'Yes'
    3.Import values into Lookup table (Import manager)/ Remote key update -
    In import manager, select source (local file) and destination as Countries flat table.This Table will be haing 2fields - Code and description.Clone the 'Code'field and map it to Remote key field in destination hierarchy.Map code and description to equivalent destination fields. Select 'Code' as matching field > Perform import into lookup table.
    Check if the records in countries table are updated with remote keys(in Data manager> right click on a record> select 'Edit key mappings' > view key mapping for the record)
    3.Import to Qualified table/Auto value mapping -
    Now, in the import map for qualified import , map the source field and destination field (of lookup type), all the values of this field will automatically map.
    Similarly, refresh remote keys mappings for all the lookup tables first and then you can see auto mappings of values happening for the lookup fields.
    Regards,
    Vinay M.S

  • How to add hyperlinks in Import Manager

    Dear MDM-gurus!
    I really tried hard to find the solution, but couldn't find it here or in OSS.
    We already have a repository with more than 50.000 items.
    What I'd like to do is to add hyperlinks to PDF-files in the internet to each item.
    For this we got an excel-file from the supplier with the supplier part number in one column, the PDF-link in another column and the .
    In Data Manager I was able to add links manually or also with importing entries of the excel-file. Importing from excel takes a LOT of time. I don' t know why:
    -  Fields to import: Hyperlinks
    -  Key fields: Supplier part number.
    --> Action: Update all single matches.
    How can I import hyperlinks in Import Manager, make the mapping and then update the records faster? E.g. I could not find the field "URL <Hyperlink> [Qual]" in Import Manager
    Thanks for your help and best regards,
    Henning

    Resolved!
    I accidently oversaw the URL fields in Import Manager in table catalog items.

  • Sender Adapter - Content Conversion Key Field Query

    Hi,
    I have a flat file of the following structure I am attempting to convert to XML using a file sender adatper:
    H1,H2,H3,H4
    D1,D2,D3,D4,D5,D6
    D1,D2,D3,D4,D5,D6
    D1,D2,D3,D4,D5,D6
    T1,T2,T3,T4
    Within the Content Conversion tab I have a Recordset Structure of:
    Header,1,Detail,*,Trailer,1
    i.e one header record, multiple detail records and one trailer as per the above example.
    It would seem that according to errors generated via Communication Channel Monitoring that this sort of Recordset Structure requires the Key Field Name to be set. I have searched around the forum and looked at the help.sap.com site and I'm struggling to understand what is required here.
    Anyone help ?

    >>It would seem that according to errors generated via Communication Channel Monitoring that this sort of Recordset Structure requires the Key Field Name to be set. I have searched around the forum and looked at the help.sap.com site and I'm struggling to understand what is required here.
    Yes you need to set key field value for your Header, Detail and Trailer
    Example:
    Header.keyFieldValue    H1
    Detail.keyFieldValue     D1
    Trailer.keyFieldValue   T1

  • Create Object References for Key field

    Hi Experts,
    Question 1- Do we have any standard task that create BOR object reference using key field?
    Question 2 - If not, i have created a task with key field as import parameter and BOR type as return object reference. No i am just using macro "SWC_CREATE_OBJECT OBJREF_ARD 'AssetRequestDocument'  ASSETREQUESTID." where ASSETREQUESTID is key field. OBJREF_ARD is object ref type.
    Problem comes here - Its not getting instantiated, i debugged an saw it checks for logical system in the FM OWN_LOGICAL_SYSTEM_GET, i guess since SWO_CREATE is remote enabled FM it is checking for OWN_LOGICAL_SYSTEM_GET function. In our system for the client there is no logical system defined and i dont have any idea how to customize table T000 for logical system.
    Note - There is nothing related to communication between two system.
    Can anyone help me out?
    Thanks in Advance,
    Pritam Kunal

    Hello,
    It's a method. You make a task which calls that method and passes in the BOR type and its key.
    It instantiates an instance of the BOR and passes it back out.
    So, no, it's not a generic BOR!
    regards
    Rick Bakker
    Hanabi Technology

Maybe you are looking for

  • I changed my Apple ID and now I can't access iCloud

    iCloud is already set on my old Apple ID in my Iphone and I can't delete it. Whenever I add my password it says it's wrong, and when I tried to retrieve my password (of the former Apple ID) it didn't send me an email. I also tried changing my account

  • Export for web

    Hi, I wonder if Lightroom overs a "export for web"? I saw that the jpg's with 50% are still larger than the once exported via PS-for web. I wonder if there is any trick or.... thanks R

  • [SOLVED] Samba cannot access shares after upgrade

    After upgrading samba and smbclient from 4.0.6-1 to 4.0.7-3 I can no longer connect to shares or authenticate with server in general. Cannot establish new connections. Already connected ones still works. Downgrading samba to 4.0.6-1 does not change t

  • 1 of 2 Airport Expresses Not Responsive After New Wireless Router Installed

    Installed a new Belkin N+ wireless router and now one of my Airport Expresses that I use for Airtunes cannot be "seen" by my computer. Tried resetting with no luck. One of them is a g and the other an n. It is the n that I'm having the issue with.

  • Little white light

    Hi, My powermac G5 running leopard, 1gb ram, was running fine on friday and i left it running over the weekend. when i returned on monday it had powered down and the little white light was on permanently (ie not slowing flashing). I pressed it and no