Skip to Content

content based interface determination

Hello,

I do want to implement the following logic with PI:

The system landscape consists of an SAP AII system

, the SAP PI and

two ERP Systems (ERP A , ERP B).

The AII system is the sending system. It always sends messages of type OperationalOut.

Based on one field in this message it is decided if ERP system A or ERP System B should receive the message.

It might me the case that both system should receive a message.

I know that this can be implemented by content based Receiver Determination.

Example:

field_value = a => receiving system = ERP1

field_value = b => receiving system = ERP1

field_value = c => receiving system = ERP 1 and ERP 2

Now it comes to my open point.

I want that depending on the field value a different interface in the receving system is determined.

Example

for field_value a I want to map to idoc representing function module kanban_status_change and for

field value b I want to map to idoc representing function module

...Goods_Movement.

How can i configure this ?

Best regards and thank you very much for your help.

Points will definetly be granted

Michael

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 03, 2008 at 08:57 PM

    Hi Michael,

    First of all you should configure two integration scenarios for system ERP1 and system ERP2. It might be also required to split first scenario for two types of Idocs. Everything is configured in Integration Directory. In Receiver determination you should add Condition in Configured Receivers section. Then I suggest comparing XPath expression to your value a, b, c.

    Regards,

    Radek

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 03, 2008 at 09:04 PM

    Hi Michael,

    As you mentioned, you can use only one receiver determination but you can have two interface determinations.

    One interface determination- ERP1 IDoc and corresponding interface mapping.

    Other interface determination- ERP2 IDoc and corresponding interface mapping.

    In this way, we need to define two message mappings for corresponding two interface mappings.

    Thanks

    Sai

    Add comment
    10|10000 characters needed characters exceeded