cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Issue

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

use this sequence..

message->exist->creatif->response_message Or

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

Regards,

AKshay.

    • Reward points if find useful.

santhosh_kumarv
Active Contributor
0 Kudos

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

former_member335553
Active Contributor
0 Kudos

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

Message was edited by:

Anusha Ramsiva