cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping 2-3 receivers based on type.

Former Member
0 Kudos

Hi experts

My source message is as below:

<?xml version="1.0" encoding="utf-8" ?>

<ns:testdata xmlns:ns="http://mytest.com/dotcom/test">

<row>

<Type>D</Type>

<ACCT>111001</ACCT>

<AMT>1000</AMt>

</row>

<row>

<Type>D</Type>

<ACCT>111001</ACCT>

<AMT>5500</AMt>

</row>

<row>

<Type>C</Type>

<ACCT>111001</ACCT>

<AMT>100000</AMt>

</row>

<row>

<Type>D</Type>

<ACCT>1561001</ACCT>

<AMT>905</AMt>

</row>

<row>

<Type>C</Type>

<ACCT>1561001</ACCT>

<AMT>10</AMt>

</row>

</ns:testdata>

and the rest for other channel.

Pls advice on how to achieve this.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

HI Chaku,

I did following and it worked for me.

You need 2 message mapping and 2 interface mapping.

Map SOurce row to target row with following conditions

Constant(C) equals(Text Functions) row-Type(Change context to testdata) --->if

row----


>then -


>row.

Use if then boolean function.

Same way do the 2nd mapping for D.

Put this in 2 different interface mapping and it should work.

Thanks,

Tuhin

prabhu_s2
Active Contributor
0 Kudos

Tuhin

We are facing a similar issue for a vendor master idoc. Can you pls send the screen shot of the mapping instruction to

prabhu.sethupathy@caritor.com

Your help is appreciated. Thanks.

Prabhu

Former Member
0 Kudos

Hi Chaku,

Its possible by splitting the message according debit and credit and route the message accordingly.

or else u can use the BPM for this purpose.

venu.