on 04-07-2009 4:43 PM
Hi
I am trying to Compare the Category code as 2 and assign Value to another varable, but in Equal condition I am receiving the following error below
Please let me know how can I compare Category code (Type Token) to 2
Thanks
PR
Compilation of MM_ECC_Claimsinfo_to_BSO successful Exception:[com.sap.aii.mappingtool.tf7.FunctionException: Cannot cast '2' to boolean] in class com.sap.aii.mappingtool.flib7.Bool method equalsBoolean[2, 2.0, com.sap.aii.mappingtool.tf7.rt.Context@7af70c4d] com.sap.aii.utilxi.misc.api.BaseRuntimeException: Exception:[com.sap.aii.mappingtool.tf7.FunctionException: Cannot cast '2' to boolean] in class com.sap.aii.mappingtool.flib7.Bool method equalsBoolean[2, 2.0, com.sap.aii.mappingtool.tf7.rt.Context@7af70c4d] at com.sap.aii.mappingtool.tf7.rt.MethodImplementedIteratorHelper.executeMethod(MethodImplementedIteratorHelper.java:188) at com.sap.aii.mappingtool.tf7.rt.FunctionWrapper.calculateCurrentValue(FunctionWrapper.java:99) at com.sap.aii.mappingtool.tf7.rt.AbstractFunctionWrapper.cacheValue(AbstractFunctionWrapper.java:30) at com.sap.aii.mappingtool.tf7.rt.AbstractFunctionWrapper.gotoNextContext(AbstractFunctionWrapper.java:40) at com.sap.aii.mappingtool.flib7.If.gotoNextContext(If.java:85)
Thanks
PR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Use the Equal from Text functions. This should solve your problem. please close this thread.
Thanks
SG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Equal is different from EqualsS.
In case of comparing texts/strings use the Text function -> EqualsS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
equals is for comparing boolean values.
In your case you should use the (text) function equalsS.
Regards
Patrick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
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.