on 07-20-2016 5:55 AM
Dear All
We are getting a field value as decimal some times and without decimal.I need to concatenate with M if it is decimal else I need to concatenate with CM
in sap pi.Kindly help with the mapping logic.
Regards
Nagur
I would write a UDF that takes the input as String s
String decimalsep ="." ;
if(s.contains(decimalsep)){
s= s+"M";
}else{
s=s+"CM";
}
return s;
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 | |
24 | |
11 | |
9 | |
7 | |
6 | |
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.