cancel
Showing results for 
Search instead for 
Did you mean: 

UDF read file from input path

Former Member
0 Kudos

Hello all,

I'm wondering if it is possible to create a user defined function that takes the path to a file on local server as input parameter, and opens and reads the file to output desired result. I am not sure how to go about reading the file from the server. Any suggestion is greatly appreciated!

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

sure this is possible you can read any file

from UDF with java but you'll have the result

in one output

maybe it would be easifer to use java mapping

and read the file inside this java mapping?

so you'd be able to fill all the target fields

in one place

you can also try this approach

/people/sundararamaprasad.subbaraman/blog/2005/12/09/making-csv-file-lookup-possible-in-sap-xi

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Thanks a lot, that was very helpful.