on 05-21-2009 10:03 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use below mapping.
Material Groupstartswith(constant F)
FC)----
Target.
Material TypeEquals(Constant ZPRO)Not(BooleanFunction)
Regards,
Prakasu.M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
to check if material group starts with F
MaterialGroup --- startsWith(text function) ----
equalS ------ And -----if -----then ---target
Constant (F) -----
The other input to And function will come from the Not function which I have mentioned in the above logic
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vamsi ,
Can u please with the alternate option for example:
if material group starts with "F" -> Material Type Equals to "ZPRO" ->not -> AND ->and use if then else.
Instead of using not else use the not function after equals.
Thanks & Regards,
Lavanya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please check that the AND function you have used.
Make sure that it gets boolean input.
Regards,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please check that the AND function you have used.
Make sure that it gets boolean input.
*Material Group -- Substring(0..1)--*
----
Constant("F")----
----
Material Type----
----
Constant("ZPRO")----
Regards,
Chandra
Edited by: sunil chandra on May 22, 2009 3:04 AM
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.