I went through "How to Perform SAP Data Lookups Within XI Mappings" By Jerome Delune
While I found it very useful, I could only manage the first three approaches. I could not test the Fourth approach(Reference External Java Libraries Across All SW Components/Namespaces).
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/how to perform sap data lookups within xi mappings
This is because I am using WebAS 6.40 and could not find the additional-Lib folder as mentioned. Please tell me the procedure how to reference External Java Libraries in WebAS 6.40.