cancel
Showing results for 
Search instead for 
Did you mean: 

How to retrieve Tuple Lookup values using MDM Java API

Former Member
0 Kudos

Hi,

How to retrieve Tuple Lookup values using MDM Java API?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi Sree,

you need to add the lookup fields in the result definition of the command than only it comes in tuple value. My investigation is If the lookup field is not a main table field, you don't get the value for that lookup in tuple too.

just check it out.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sree,

The way to retrieve the lookup fields within a tuple is same as other fields inside the tuple. The only difference being other fields return the value direclty when you try to access the field inside tuple. Where as if it is a lookup field then it will retun you the record Id of the value. From this record Id you need to iterate over the lookup table itself to find out what is the actual value.

Regards,

Ponraj M

0 Kudos

Instructions for using the Java API with tuples can be found here - [link|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/master-data-management/n-z/sap%20netweaver%20mdm%207.1%20java%20api%3a%20first%20mdm%20record].

Hope this can help,

Chris