Skip to Content
avatar image
Former Member

Retrieve a record and modify it using Java API

Hi,

I'm trying the following scenario using Java API in MDM.

I query a MDM MAIN table called "Vendors". I get a result set.

Now, i try to pick a particular record to modify one of the fields called "Vendor Number". My objective is to Update a field called Vendor Number in that table with a text.

Can you provide the code snippet to Capture a record and Update a particular field alone?

Thanks in advance,

regards,

Ak.

PS: Points assured for good responses...

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 07, 2007 at 01:39 PM

    Hi Arun,

    Are you intending you use JAVA API 1 or JAVA API 2??

    Thanks

    Namrata

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 07, 2007 at 04:42 PM

    Hi Ak,

    Please have a look at my <a href="/people/community.user/blog/2007/11/06/sap-netweaver-mdm--using-the-mdm-java-api">blog</a>. It contains all kinds of code samples one of which is to create and update records.

    Cheers,

    Richard

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      I managed to solve it.

      using the following snippet form the one of the forum thread.

      CatalogData.UpdateRecord(TableName, recordId, resultset.GetChangeStampAt(0), fields);
      

      Thanks for your replies.

      Regards

      ~a.k.