on 01-04-2011 1:17 PM
Hi,
I need to replace the fixvalue standard function by an UDF, is there anyway to fulfil this requirement?
thanks in advance.
Hi Hakimos.
public String fixValueUDF(String a,Container container)
{ /start/
if ( a.equals("1"))
{
return "One";
}
else if ( a.equals("2"))
{
return "Two";
}
else
{
return "Null";
}
} /End/
Hope this help You.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>>is there anyway to fulfil this requirement?
yes of course - why not ?
just use java if statements...
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> i mean somrthing that looks like XIVMService.executeMapping
Here is the API:
http://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/value/api/XIVMService.html
Check if you can use it.
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00ee347e-aabb-2a10-b298-d15a1ebf43c5?quicklink=index&overridelayout=true|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00ee347e-aabb-2a10-b298-d15a1ebf43c5?quicklink=index&overridelayout=true]
This blog may help.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.