Skip to Content
avatar image
Former Member

Mapping Issue

Hi,

In source message i have field "Message" and in target message i have field"response_Message". While message mapping what i want is if "Message" in source message is empty then the target node should disappear, if "Message" is having some value then that "Message" value should pass to "Response_Message" in target message. What should i do in order to achieve this, any suggestions please help me.

Regards,

Venkat

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Oct 15, 2007 at 09:32 AM

    Use createIF function

    check here how to use createIF function...

    /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/d9/3033f96c79674f90e3ab8d101a595b/content.htm

    And check these thread

    createif-node-function

    Message was edited by:

    Anusha Ramsiva

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 15, 2007 at 09:35 AM

    Hi Venkat,

    Use the function Create IF.

    Have a look at this blog that demonstrates the use of this function

    <a href="/people/stefan.grube/blog/2006/01/09/the-use-of-suppress-in-the-xi-30-graphical-mapping-tool Use of "suppress" in the XI 3.0 Graphical Mapping Tool</a> By Stefan grube's

    Regards

    San

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2007 at 09:36 AM

    Hi,

    use this sequence..

    message->exist->creatif->response_message Or

    if message->equalsS->"empty"->createif->response Message.

    Regards,

    AKshay.

    • Reward points if find useful.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2007 at 10:00 AM

    Hi

    you can use the following UDF approah

    for(int i=0;i<a.length;i++)

    {

    if(a<i>.equals(""))

    {

    result.addValue(ResultList.SUPPRESS);

    }

    else

    {

    result.addValue(a);

    }

    }

    source value >udf >target

    Thanks

    Rinku

    Add comment
    10|10000 characters needed characters exceeded