on 04-02-2008 10:37 AM
Hello folks,
Guys i need few of the user defined functions which are mostly created and used by you guys which performing the mapping.
I have the basic understanding of what actually is a user defined function and the types of functions in it.
It would be great if you can send me the jave code (of your usd) and the purpose why you have to use it...
Points will surely be rewarded*
Thanking you Guys
Hi Sainath,
Refer the below link where I have provided few more information.
UDF are used for maping purposes.
1) To raise alert message.
Triggering by Calling a Function Module Directly.
/people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
2) For Lookup purpose:
RFC lookup using JCO (without communication channel)
/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
RFC lookup with communication channel.
/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
3) If u wanted to sned some values bases on input condition is satisfied.
Suppose for input value A i need to send result as Valid value and for other values i need to send values as Not a valid value.
input value a
for(i=0;i<a.length;i++)
{
if(a<i>.equals("A"))
{
result.addValue("Valid Value");
}
else
{
result.addValue("Not a Valid Value");
}
}
there can be many UDF based on requirements.
chirag
Edited by: Chirag Gohil on Apr 2, 2008 3:38 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.