Defining a Function Library 
You use this procedure to create a function library, allowing multiple users to reuse the functions in it across multiple message mappings.
A function library is a collection of user-defined functions in Netweaver Developer Studio that helps you to choose appropriate functions for a message mapping. If you want to reuse a user-defined function, you create and save that function in the function library. In addition, you can also import archives (.jar files) from your local system and add them into this function library.
For accessing these functions, you need to add this function library to the required message mapping.
In the Enterprise Repository Browser, select a software component version to create your function library.
From the context menu of the selected work area, choose .
Note
You can also create a function library from the context menu of Namespace, Folder, or Function Library
Enter a name and description for the function library.
Under Location Details section, choose Browse… to select a namespace or a folder
Choose Finish.
Select an existing change list or choose New to create a new change list.
Note
In the Function Library Overview editor, under the Class Detail section, by default, the Class Name is the name of the Function Library and Package Name is the name derived from Namespace. If required, you can make changes to these names.
In the Function Library Overview editor, in the Functions section, choose Edit.
In the Java editor, add the required functions.
Save the changes.
In the Overview editor, in the Functions section, choose Edit.
In the Dependencies editor, select the imported archive folder and choose Add…
In the Select imported archives, choose the required archive and choose OK.