cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PO/PI - Calling UDF from Java Map with ResultList

Former Member
0 Kudos

Hello all,

I am hoping you can help me out. We have a UDF in a FUNCTION_LIBRARY as follows:


getEMAIL (String id, ResultList emails) { }

This UDF looks up all the e-mails for the associated ID and returns them in the ResultLIst emails.


My problem is that I need to call this UDF from a Java Mapping. I know how to link/make the call except for one part. How do I define the ResultList object?

Thanks for your help!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

The resultlist.class is an interface and can't directly be instantiated. I have created my own implementation based on research I have seen online. I am still in the testing phase so not sure if this will work or not.

Thanks for the response.

former_member190293
Active Contributor
0 Kudos

Hi Brian!

I guess you could import the package in which ResultList class is declared into your java program and further use it to get values.

Regards, Evgeniy.