cancel
Showing results for 
Search instead for 
Did you mean: 

multi mapping

Former Member
0 Kudos

Hi,

I'm doing n:1 mapping using BPM and the mapping is XSLT mapping.Wehn i tested my end to end scenario this is the error sxmb_moni throws in BPM,

Work item 000000172542: Object

CL_SWF_XI_MSG_BROKER method CALL_TRANSFORMATION

cannot be executed

An exception with the type CX_SY_RANGE_OUT_OF_BOUN

DS occurred, but was neither handled locally, nor

declared in a RAISING clause

do any one has any idea about this error.

And also one more doubt i get the 2 source messages in BPM as

<?xml version="1.0" encoding="UTF-8" standalone="yes">

<books>

<title>

<subject>

</books>

<?xml version="1.0" encoding="UTF-8" standalone="yes">

<Author>

<name>

<subject>

</author>

How will XI interpret these two message when it is sent to interface mapping from BPm.

regards

jithesh

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

I just had the same issue and found a solution.

Even if the interface mapp is set as "unbouded" for the incoming interface (multy) to 1 (resulting interface), it seems that the resulting message must have also the multy structure : <ns0:Messages> and <ns0:Message1> as shown below in the xslt mapp example.

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">

<xsl:template match="/">

<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">

<ns0:Message1>

<ns:Z1SD_EXT_DESADV_G xmlns:ns="http://companyX.intra/INT-CARRIER-01">

<xsl:copy-of select="//IDOC"/>

</ns:Z1SD_EXT_DESADV_G>

</ns0:Message1>

</ns0:Messages>

</xsl:template>

I know it is weird, but it solved the BPE error on the mapp.

Gaetan

agasthuri_doss
Active Contributor
0 Kudos

Hi Jithesh,

Make sure you are using same message container when you pass and try to you send information on these abstract interface references in BPM with respective to the container references or Only use Transformation in BPM if it is realy necessary with n:1 or 1:n mappings otherwise try to put the transformation outside your BPM because monitoring mapping in BPM is very hard to monitor and it is very hard to do error resolving.

Thanks & Regards

Agasthuri Doss

Former Member
0 Kudos

Hi,

The messages will be wraped in a structure which look the multi mapping you can create from the message mapping. This gives you an example of how the messages are put together.

It will look something like.

<p4:Messages xmlns:p4="http://sap.com/xi/XI/SplitAndMerge">

<p4:Message1>

<books/>

</p4:Message1>

<p4:Message1>

<Author/>

</p4:Message1>

</p4:Messages>