cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping help need for multiple receivers.

Former Member
0 Kudos

Hi,

I have a scenario where i have to send to different receivers based on condition.

I get a incoming message, there i have to check a field for a value.

If the value is 1, the message should go to file.

Else the should send a mail, saying the value is not present.

How to handle this in mapping and design.

Thanks

Accepted Solutions (0)

Answers (4)

Answers (4)

santhosh_kumarv
Active Contributor
0 Kudos

Hi Swapna,

In the receiver determination add both the file receiver and the mail service under the Service and condition.

U need to specify the xpath of the field that you are checking for.

Eg:

Condition: /p1:MT_Source/Status =1

Service : file receiver

Condition: /p1:MT_Source/Status =1

Service : mail service

Thanks

SaNv...

former_member181962
Active Contributor
0 Kudos

In the Integration Directory, Receiver Determination.

YOu have to give the condition in the condition editor, which opens when you click on the first column of the Receiver determination.

IN the condition editor, Chose the expression on the Left hand Side and chose the comparision operator and the value to be compared on the right hand side.

Press enter.

Give the name of your party and service in the column 2 and 4 respectively.

Add another line by clicking on + button.

Do the above steps for the second condition.

Give the Party and service for your mail system.

Craete two interface determination and corresponding receiver agreements one each for your File scenario and mail scenario respectively.

Regards,

Ravi

Former Member
0 Kudos

Hi Swapna..

You can do this in receiver determination while configuring your scenario at ID end.

While determining the receiver...

You give your sender service..sender message interface...and then down you give your receiver name...

there actually you can give a condition..

go here and check you will understand.

Down you have the condition tab..and there right click..then you can give your condition there.

Thanks,

Vijaya.

Former Member
0 Kudos

Use Extended Receiver Determination

https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=extendedReceiverDetermination&adv=true&sdn_author_name=&sortby=cm_rnd_rankvalue#