Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Not Equals Function is not working in Mapping

Hi All,

i have to do mappig based on the Not Equals & And conditions

If the Material Group starts with "F"

And Material Type Not Equals to "ZPRO" means

then send "FG" Else "FC"

Here Not Equals & And Functions are not giving success, Error throwing like

Cannot cast ZPRO to boolean] in class com.sap.aii.mappingtool.flib3.Bool method not[ZPRO

Please help in this

Regards

Former Member
Former Member replied
i have to do mappig based on the Not Equals & And conditions
If the Material Group starts with "F" 
And Material Type Not Equals to "ZPRO" means
then send "FG" Else "FC"
Here Not Equals & And Functions are not giving success, Error throwing like 
Cannot cast ZPRO to boolean] in class com.sap.aii.mappingtool.flib3.Bool method not[ZPRO

the logic applied is incorrect

NotEquals is a boolean function meaning it will accept only boolean values as input....

To check if the Material Number is ZPRO or not use the below logic

MaterialNumber                                            Then(FG)
                      ------equalS(TextFunction) ---- not -----ifWithElse ------------------ Target
Constant (ZPRO)                                                   Else(FC)

Regards,

Abhishek.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question