cancel
Showing results for 
Search instead for 
Did you mean: 

Reg: Insert functionality using MDM java API

Former Member
0 Kudos

Hi,

I am using MDM java API 5.5 SP 06 patch 2. I am using webdynpro and MDM java API. How can i insert records into the repository tables, I also have fields that takes value from lookup flat tables.

Kindly suggest.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jyothi,

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.

While inserting value in a lookup field make sure you have recordID of that value in corresponding lookup table. Refer page 13 in this doc for creating new rec.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

In the above document it is explained that, we can set the field value with lookup table using the code below.

newRec.setFieldValue(FieldId, new LookupValue (LookupRecordId));

But, how will i get lookupRecordId.

Thanks.

Edited by: jyothi beera on Mar 20, 2009 4:32 AM

Former Member
0 Kudos

Hi,

The above document does not explain how to insert if the field is getting data from lookup flat table. Kindly suggest.

Thanks.

Former Member
0 Kudos