Hi All,
I am developing a scenario where I need to access a very large key-value pairs i.e. 3000 pairs in my mapping. I have put all the details in a properties file and saved the file in the PI directory. Then I read the file from a UDF in a mapping.
Properties prop= new Properties();
InputStream input = this.getClass().getClassLoader().getResourceAsStream(file_path);
prop.load(input);
Please let me know if there are any other easier ways of doing it.
Thanks and Regards,
Rana Brata De
SAP PI Consultant