Skip to Content
0
Former Member
Dec 27, 2009 at 04:26 AM

Create MDM Record in PRODUCTS table

10 Views

HI MDM Gurus,

Trying to create a new Record in PRODUCTS table, in which lot of fields have lookup values.

Following is the code where i am trying to send a value to "Product Type" field.

emptyRecordProduct.setFieldValue( schema.getField("Products", "ProductType").getId(), new StringValue("Orderable Item")) ) ;

I am getting error: com.sap.mdm.internal.protocol.manual.ServerException: Type mismatch

Thanks

Vijay