cancel
Showing results for 
Search instead for 
Did you mean: 

Help in MDM Api use

Former Member
0 Kudos

Hi ,

I'm starting to develop a integration with MDM, i already connection with MDM server, but i cant make a search and retrieve the values from the results

i have tried this example: http://help.sap.com/javadocs/MDM/SP06/com/sap/mdm/examples/RetrieveLimitedRecords.java

ok .. it works .. returns a RecordResultSet, but i cant retrieve the values from RecordResultSet.

can anoyne help-me with a example code to seach on a main mdm table by one field, change a value and save the change ?

and how can i use the multilanguage when getting and setting values on the fields ?

tks !

Edited by: Diogo Palermo Tobler on Aug 29, 2008 8:50 PM

Accepted Solutions (1)

Accepted Solutions (1)

namrata_d
Active Participant
0 Kudos

Hi,

For retrieving the details of a record from RecordResultSet

//Retrieving the Details of a record

RecordResultSet rs = objRetrieveLimitedCommands.getRecords();

if(rs != null && rs.getCount()>0)

{

for(int i =0;i<rs.getCount() ; i++)

{

System.out.println(rs.getRecord(i).getFieldValue(<FieldID of the MDM Field>);

}

}

Thanks

Namrata

Answers (3)

Answers (3)

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

Please refer to this white paper, for working with Java api's.

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

Thanks,

Priya.

Former Member
0 Kudos

Hi Diago,

Please refer the below thread consisting of code to retrieve the records from the repository

Retrieve Records

Searching Records

Regards,

Jitesh Talreja