cancel
Showing results for 
Search instead for 
Did you mean: 

Req. Sample code for the Updation of Master record in MDM using Java API..

Former Member
0 Kudos

Hi All,

Can anyone provide me the same code for Updation of master record in MDM using Java API ??

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Sakthi,

Refer following doc to create, modify, delete record operations.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70a7afe4-9e3e-2b10-de8d-b105d0b8...

This is an excellent doc for understanding JAVA API's.

To update/modify the record already created in MDM refer to page 15 in this document.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi SakthiNarayananD,

You can additionally go through the following links to work with MDM and Java API:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2d18d355-0601-0010-fdbb-d8b14342... (Java API)

http://help.sap.com/javadocs/MDM/SP05/(Java api programs)

https://help.sap.com/javadocs/MDM/current/index.html (java api codes)

http://help.sap.com/javadocs/MDM/SP06P2/index.html (Java Docs for SP06)

- Search

- Lookup values

- Lookup Values

- READ,INSERT,MODIFY

Hope It Helped

Thanks & Regards

Simona Pinto

Former Member
0 Kudos

Hi shakti ,

After getting TableId,FeildId and RecordId. Create an empty record for which you can do the following steps.

try {

RecordFactory.createEmptyRecord(tabId ,recId );

}catch (IllegalArgumentException e)

{

System.out.println("error in inner catch:" + e.getMessage());

}

}

ModifyRecordCommand mrc = new ModifyRecordCommand(connection);

mrc.setSession(sessionId);

mrc.setRecord(newRecrd);

try{

mrc.execute();

}catch(Exception e){

e.printStackTrace();

}

Hope the above lines will help you.

Former Member
0 Kudos