Skip to Content
avatar image
Former Member

Mapping

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 21, 2010 at 08:30 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 21, 2010 at 08:21 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 21, 2010 at 09:03 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 21, 2010 at 10:04 AM

    > 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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sarvesh,

      I am implementing one complex multiple if else condition logic so i got lost in the logic 😊

      Now i able to fix the issue.

      Thanks all of you friends for giving this idea.