Skip to Content
0
Former Member
Mar 23, 2008 at 06:09 PM

How to Multi-Map N:1 messages in BPM when N is unknown

26 Views

I need to perform an N:1 message mapping in a transformation in an Integration Process. SAP Documentation explains how to do this:

[http://help.sap.com/erp2005_ehp_03/helpdata/EN/21/6faf35c2d74295a3cb97f6f3ccf43c/content.htm|http://help.sap.com/erp2005_ehp_03/helpdata/EN/21/6faf35c2d74295a3cb97f6f3ccf43c/content.htm]

But it seems to be the case that the first message of the source will be contained in a <Message1> </Message1> element pair, the next message in <Message2> </Message2> element pair, etc.

So what do I do in the case of a variable number of input message that get mapped to one message? I don't know how many messages will be coming in before the mapping needs to be done; it depends upon how many messages are sent out in a fixed time interval.

I will be using an ABAP XSLT transform to do this. I cannot use a

<xsl:for-each select="Message">

Kind of construct because each message is enclosed by a different <MessageN> element.

This must be a problem that has come up before. Can anybody please point me to the solution?

Kind Regards,

Tony.

Edited by: Anthony Bateman on Mar 23, 2008 9:31 PM