Skip to Content

SAP NetWeaver MDM – Using the MDM Java API

I just wanted to let you all know that i’ve written a new How To Guide on the MDM Java API which has just been published in the Data Unification How-to Guides for SAP NetWeaver  7.0 section of the NetWeaver 7.0 (2004s) How To Guides.  In it are all kinds of very useful, and runnable, code samples that use the MDM Java API.  It covers the basics e.g. searching, creating, updating, etc… and the not so basics e.g. workflows, check-out/check-in, etc…

This How To Guide is actually the first of two that will be published.  The first one works with MDM 5.5 SP5 Patch2 and later SP5 versions while the second one, which will be published in a few weeks, works with MDM 5.5 SP6.  The reason for the two guides is that there are some very cool new features being introduced in SP6 that will reduce some of the “infrastructure” (i.e. helper classes) required in order to make use of the MDM Java API.  So the SP5 version of the guide includes this “infrastructure” while the SP6 version will leverage the built-in, out-of-the-box “infrastructure” of the API. 

You must be Logged on to comment or reply to a post.
  • Hi Richard. When converting to the new API back in July/August, I noticed that the ComparisonResultset was not included.

    It seems to me that one of the goals for the API developers should be to provide the functionalities needed to write the Data Manager in Java. Just my humble opinion, though.

    Is there a timeframe for release of SP6?

    • Hi Bruce,

      I totally agree and will mention this to our development group.  SP6 is planned for release late November – early December.

      Thanks for the feedback!

  • Thanks Richard!

    This was an excellent “How-To” which helped me get started on MDM-Java APIs!  I followed the guide step by step and am able to run the programs.

  • Hi,

    I am trying to add record in Lookup/Flat/Qualified/Taxonomy/Hierarchy tables using MDM Java API2. But I am not getting what will be the steps for it.

    Could you provide me the samle code or steps for writing the code.

    Tarun Sharma

    • In the text of the blog is a link to the Data Unification section of the How To Guides.  There you will find my how to guide on using the MDM Java API.  Included in the How To Guide is a series of code samples with some that do exactly what it is you are trying to do.  Please have a look.


  • Hi Richard,
    Great Blog and the HowTo guides are marvellous! Unfortunately I didn’t find any info on how to code listeners for adding, updating and deleting record. I’ve found out that you can register listeners for global, server and data actions on an Eventdispatcher. However, I’ve run into a deadend her. Can you provide some code on how to setup these listeners?
    With kind regards,
  • Hi Richard,

    Thank you for your support. I downloaded the “How to Use the MDM Java API for MDM SP06 Patch 1 ” attachment. But when I try to open the zip file, WinZip throws an error message saying “Not a valid archive, try downloading again”. I tried several attemps but everytime the downloaded archive is a corrupted one.

    Please help.


    • Hi Suresh,

      I think it depends on how you downloaded the zip file.  There are three options.

      1. Left-click on the link and it will prompt you to save or open the file

      2. Right-click on the link and select “Save Target As…”.

      3. Get the latest version of the PDF, it contains a link to the zip file as well.

      1 or 2 can be problematic because i’ve also encountered this, but one of these should work for you.  Let me know.