cancel
Showing results for 
Search instead for 
Did you mean: 

same message type calling 2 maps

Former Member
0 Kudos

Hi Experts,

I want to send same Idoc messagetype for two different partners and want to call different map. And these idocs are coming from same SAP system.

Let say message type Orders , first partner PARTNER01 and second partner PARTNER02.

For PARTNER01 partner message mapping name is MM1

For PARTNER02 partner message mapping name is MM2.

When SAP is sending the message for partner PARTNER01 it should call MM1 and it should not call MM2.

Output files are also going to two different system.

Could you please let me what are the configurations are required in ID?

Thanks in advance for your valuable suggestion.

Regards,

Shubhankar

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi ,

a) you have to define 2 interface determination and 2 receiver aggrement and one sender agreement

b) In receiver determination you have option configured receivers where u can

define any nimber of receivers using condition

you can using xpath or context object

durning runtime you go with xpath no need to define in IR (condition)

you can define directly the condition on particular field in ID itself

Regards,

G.Varun Kumar

Former Member
0 Kudos

Hi Shubhankar !

You should enter your receivers (partner01 and partner02) in the receivers table of the receiver determination object. Here you can use the condition editor to detect which system should be the receiver based on content (payload, headers, etc.). Then to specify different mappings, you should create one interface determination object for each receiver system, in each interface determination object you should specify the interface mapping to be used. Please create one interface mapping object in repository for each mapping program (mm1 and mm2).

Regards,

Matias.