cancel
Showing results for 
Search instead for 
Did you mean: 

Basic Mapping Design Question

Former Member
0 Kudos

Hi All,

My Scenario is :

I have one source message(with multiple sub messages) which will be mapped to target message using message mapping.(JDBC to File)

Now in my target message there is a field called country which has different values like THA,IND,PHI etc...

Now depending on this value I want to determine the receiver at runtime.

I tried to use Conditional Recvr Determination but it places condition on source message, but in this case I want to check the field in target message and then depending on that I want to route that message.

Please help me to achieve this.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You have to use the source message.

I would suggest you use the same conditions that you use to map the country field. You can add several conditions in the conditional receiver determination.

Former Member
0 Kudos

Hi Yaghya ,

You have to use Enhanced Receiver Determination..we have implemented this kind of scenario where i am deciding receiver depending of data in source ...

remember condition for routing can be based on source data only... so in your case you have to create a UDF where you will check check what would country based on source data and populate... for more details .please check my WIKI...

under SAP XI ->Step by Step-> Enhanced Receiver Determination..

Former Member
0 Kudos

Hi Shweta,

How do you determine value of target field country THA,IND,PHI ?

I think you can use same condition to determine receiver.

Thanks,

Beena