Skip to Content

Message Splitting

Hello,

I am currently using XI 2.0 and I have a message that needs to be split and sent to multiple interfaces but the same receiver system.

XML Message --> BAPI 1

.......and........ --> BAPI 2

I have put in a condition that says based on a flag in the payload set to 1 or 2 direct this message to bapi1 or bapi2 respectively. The condition works and the messages are sent to the right bapis however the entire message it sent the bapis whose conditions were met, not just the one chunk which should be sent.

In the XI 2.0 documentation that I have found, it specifically says message "split" not just route but the documentation fails to show you how to do it.

Has anyone had any experience with this or no anything about it?

... Here are the links to the documentation which specifically talk about message "splitting" to multiple interfaces.

https://www.sdn.sap.com/content_documents/SAP%20Exchange%20Infrastructure%20-%20Use%20Cases%20and%20Usage%20et%20SAP.pdf

http://help.sap.com/saphelp_xi20sr1/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

Thanks

Packetloss

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 01, 2004 at 12:53 AM

    Messages can be split in one of two ways.

    1. In the adapter (eg. file adapter with xml.recordsetsPerMessage=1)

    2. In XI 3.0, in BPM.

    In your scenario it should be done in the mapping. You have a message going to two receivers. Each one will have it's own interface mapping and its own mapping. Each mapping will extract only the relevant bits from the source message.

    Does this help?

    Add comment
    10|10000 characters needed characters exceeded