on 04-30-2015 11:28 AM
I created a mapping in a SWCV. I used a udf in it. I have to use it for many interfaces.
How can I reuse this udf in another mapping in another SWCV?
I am working in single stack PO, 7.40
Hi Midhun,
Create a function library and place your UDF there. Then in the different SWCV, add the SWCV (as a dependency) where your UDF is located. It will appear under the Basis Objects and you should be able to reuse it.
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Midhun,
You can create function library and use it in other namespaces you no need to create dependency in that case. For function libraries you can check below wiki.
PI 7.1 Concept of Function Library in Process Integration - Process Integration - SCN
But generally all reusable UDF's we create function library in common software component and create dependency for other software components.
Regards,
Praveen.
Dear Praveen
I already created a udf in a message mapping. I created a function library in the same SWCV but i am not able to see an option to import the udf to the functin module.
So inorder the udf to be in function module, should i dekete the udf. then create it again in function library?
can i transfer an already eisting udf to function library?
Hi Carlos
I got it
two more things
1) i have an SWCV with more than ten namespaces. I created a udf to remove special characters. if i create a function library in namespace 1, create a udf there. then can i use the same udf in message mappings in another namespaces?
2) if i want to create another udf , then should i creeate in he same function library.
now i created a udf removecharacters in function library. for the next requirement can i create the new udf in the same function library
>>>) i have an SWCV with more than ten namespaces. I created a udf to remove special characters. if i create a function library in namespace 1, create a udf there. then can i use the same udf in message mappings in another namespaces
Yes.
>>2) if i want to create another udf , then should i creeate in he same function library.
You can create another UDF under same function library.
Go through below bog for a better understanding -
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.