on 05-14-2014 12:37 PM
Hi
I am working in a multimapping in PI 7.1. I have two Idocs at target side. I used this logic to create the IDocs
If FieldA equalsS constant XY or YZ, then MT_Sender is IDoc one
I used Boolean Or, Text function equalsS, if without else also
My requirement is like that if a particular field in Source file has XY or YZ, Ist IDoc should be created.
However I get this error in Message Mapping test tab, that
FunctionException: Cannot cast 'XY' to boolean] in class com.sap.aii.mappingtool.flib7.Bool method or[XY, YZ, com.sap.aii.mappingtool.tf7.rt.Context@111644f0] com.sap.aii.utilxi.misc.api.BaseRuntimeException: Exception:[com.sap.aii.mappingtool.tf7.FunctionException: Cannot cast 'XY' to boolean] in class com.sap.aii.mappingtool.flib7.Bool method or[XY,YZ, com.sap.aii.mappingtool.tf7.rt.Context@111644f0]
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.
Hi,
use String equal function instead of Boolean function, i think you used boolean function that is the reason showing error as XY is not a Boolean value. So use string equal function to compare the string.
Regards,
Manigandan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Radhka,
To the OR boolean function are arriving not boolean values, are you using it after the equalS function?, could you share you mapping?
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.