cancel
Showing results for 
Search instead for 
Did you mean: 

MDM API to read the Record Key Mapping table

Former Member
0 Kudos

Hi,

Does anybody know what class/method I can use to read the Record Key Mapping table?

For the Business Partner table the Key Mapping table has this columns:

<u>Default / MDM Partner ID / Remote System / Key</u>

I have everything but the Key. How can I read it?

Thanks in advance,

Diego.

Accepted Solutions (0)

Answers (4)

Answers (4)

diego_gaudenzi
Participant
0 Kudos

I am closing this thread now, since I have found the answer to my question myself.

Thanks anyway to anyone that replied to it.

Diego.

Former Member
0 Kudos

Hi Diego,

What did you use to retrieve the Key Mapping? Would you explain further?

0 Kudos

If you are using ABAP API, you can use method RETRIEVE_CLIENT_SYSTEM_KEYS in class IF_MDM_CORE_SERVICES.

Zamri

Former Member
0 Kudos

Diego,

And for agency code/name and all you can use <b>CatalogData class</b>'s <b>getClientSystems()</b> method.

Regards,

Mausam

Former Member
0 Kudos

GetKey Mapping is one of the available Web Services as of SP4.

Else you could use the Java API to get the Key Mapping.

<b>CatalogData class</b> has the following method

<b>GetKeyMapping</b>

public java.lang.String[][] GetKeyMapping(java.lang.String agency,

java.lang.String table,

int[] recordIDs,

boolean isDefaultKeyOnly)

throws StringExceptionRetrieves the key mapping for each record.

Parameters:

agency - the agency name.

table - the table name.

recordIDs - the list of records.

isDefaultKeyOnly - True to retrieve only the default value, False to all key values.

Returns: the key values for each record.