cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with Multiple Different Inbound Interfaces

Former Member
0 Kudos

Hi all!

I'm running into a problem with the Interface determination on PI 7.1.

Following scenario: One message should be split into two different Inbound interfaces IF_1 and IF_2 (on the same Business system). The interface determination is configured with two different Operation mappings M_1 and M_2. No condition is necessary, because both inbound interfaces should be delivered. This scenario is described in the [SAP Help article "Multiple Different Inbound Interfaces".|http://help.sap.com/saphelp_nwpi711/helpdata/en/48/cf949968583172e10000000a42189b/content.htm]

The Problem: Both interfaces are executed but both with the SAME message. In other words only mapping M_1 will be executed. I tested the configuration within the Integration Directory, here everything works fine. So I think I configured it basically correct.

Is my understanding how it (should) works correct? Please tell me if I made an error in reasoning.

Do you have any idea how to solve this issue?

Thank you for your Help !!

Regards,

Ralf

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ralf,

the SAP help is telling

interface determination results in two messages with the same payload at runtime. A different mapping (either M1 or M_2) is executed for each message and they are forwarded to the two interfaces (either IF_1 or IF_2) at the receiver.{/code}

so if i am not wrong.. Integration server randomly executes one of the 2 mapping and sends same payload...to both interfaces...

one workaround u can do... create a multimapping , in the message mapping dont give ay condition, map the source npde to both the messages...

In ID , use the enhance interface determination... in this case u will get 2 different messages...

All the best !!

Regards

Biplab

Former Member
0 Kudos

Thanks for that fast reply!

@Manjusha: In the monitoring is no missing message - the message is split into two but they are same.

@Biplab: I was also wondering about this statement in SAP help: "A different mapping (either M1 or M_2) is executed for each message and they are forwarded to the two interfaces (either IF_1 or IF_2) at the receiver." Make it sence to execute a mapping randomly ?? For me this behaviour is quite strange and i think "either" means both in this context.

A multi mapping can be a solution, but I like to use the option "Maintaine order at runtime" of the interface determination to ensure EOIO processing within the adapter.

Regards,

Ralf

Answers (2)

Answers (2)

Former Member
0 Kudos

We use a multi mapping and a Interface determination where "Maintain order at runtime" is marked.

This solves the problem.

Former Member
0 Kudos

But Multi Mapping is not supported by IDOC Adapter

So any clues for this ..?

Former Member
0 Kudos

In Moni do you find any reference to the other(missing) message ?