I have a mapping requirement where if the source field - 'Item' = 'a' or 'b' then pass 'A' to target field - 'Itm' if a value other than a or b then pass 'B' to the same field.
I have approached it this way, IF(Item(equalS(Or( a,b)) then constant=A else Constant = B.
This is the error thrown,
" Cannot cast a to boolean] in class com.sap.aii.mappingtool.flib3.Bool method or[a, b, com.sap.aii.mappingtool.tf3.rt.Context@1f65697]"
Could someone help me out !
Edited by: Raghavendra Vuppala on Mar 9, 2009 9:17 AM