on 09-21-2010 9:19 AM
Hi Friends,
I need one mapping logic . Kindly guide me on the following :
Requrement :
There is field called First name.
When the First name is not Renu then i need to pass the phone number to target.
How to implement "not equal to " to function
Kindly guide me.
Hi renu,
Compare the First Name with constant Renu, use equalS for comparison.
Then use boolean 'not function and then ifWithoutElse to pass the result.
-Supriya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> How to implement "not equal to " to function
Actually these are 2 functions "Not" & "Equals", where "Not" is an boolean function and "Equals" is Text function.
> When the First name is not Renu then i need to pass the phone number to target.
You can do your mapping without using not equals as well, but here is an example as per your requirement.
FirstName-------->|
|----Equals-->Not--->If--->Then-->Target.
Constant(Renu)--->| /
/
PhoneNumber--->/
I would recommend you to go through these blogs, because the question you have asked is very basic..
/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
/people/stefan.grube/blog/2006/01/09/the-use-of-suppress-in-the-xi-30-graphical-mapping-tool
http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Renu,
Please check this mapping, You will get the excepted result
FirstName and Constant 'Renu' is map to equalsS(it is Text standard function) after it map to "ifThenElse" ( boolean function second to last)
If above condition satisfied it pass the value "Renu", If not satisfied you can pass the FirstName filed for next condition and value as the phone no field
FirstName---
FirstName and constant"Renu"---map--equalsS -----If thenElse---------mapto targetfield
PhoneNo
Thanks
Sateesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try using if then else function in your mapping
for not equal use NOT function provided in graphical mapping
Edited by: Vikrant Kaushik on Sep 21, 2010 10:22 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
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.