on 11-24-2006 5:47 AM
hi, Can anyone tel me how to create customer function,
Also I hav to import java package for that..
thanks
>>Can anyone tel me how to create customer function
Are you talking about User Defined Functions in Message Mapping?
If so, have a look at this
http://help.sap.com/saphelp_nw2004s/helpdata/en/4b/a20c4cfea96b498b1e1af3f32f0670/frameset.htm
By default, the following packages are imported
java.lang.*
java.util.*
java.io.*
java.lang.reflect.*
If you are using any other pakages in your function, you need to decalre them in the import section..
Regards,
Jai Shankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In case of user defined functions (UDF), there are two types
1. simple - they expect string as input and return string as output.
2. advanced - they can take multiple inputs (all values from the context)
http://help.sap.com/saphelp_nw04/helpdata/en/22/e127f28b572243b4324879c6bf05a0/content.htm
You can also import external jars for your UDF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Check this one...
http://help.sap.com/saphelp_nw04/helpdata/en/d9/718e40496f6f1de10000000a1550b0/content.htm
Sekhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Your question is not very clear?
Can you please elaborate.
if you need to know how to create a Java User Defined Function, well its qutie simepl, click on user defined functions and then create a new one and write your code. Like any other java function.
If your question is whether you can invoke an external java class inside your User defined function. the answer is YES..!! Import the Class under imported archies in XI and then instantiate the class inside the UDF and then invoke its methods,
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.