cancel
Showing results for 
Search instead for 
Did you mean: 

reg:multi mapping

Former Member
0 Kudos

Hi,

I'm working on multi mapping using BPM and the i'm using xslt mapping.

So can u guys post some useful links regarding multimapping using xslt mapping in BPM.

regards

jithesh

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

the main thing you need to consider in case of your XSLT for multimapping is to create the base structure. Not that once you are done with the template match additional

nodes need to be defined -

Eg-

<xsl:template match="ns2:Messages">

<b><xsl:element name="ns2:Messages">

<xsl:element name="ns2:Message1"></b>

<b><xsl:element name="MY_MT"></b>

.....

Former Member
0 Kudos

Hi Shabarish,

Can you please explain in detail...If possible can you post any docs related to this topic

regards

jithesh

Message was edited by: jithesh balakrishnan

Shabarish_Nair
Active Contributor
0 Kudos

the thing in case of multimapping, internally the structure (XML) of the message looks like say eg;

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

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

<ns0:Message1></b> <CREMAS01>

<IDOC BEGIN="">

<EDI_DC40 SEGMENT="">

<TABNAM/>

<MANDT/>

<DOCNUM/>

........

So in your XSLT you need to handle that nodes. Rest will be same as any XSLT mapping.

bhavesh_kantilal
Active Contributor
0 Kudos

Jithesh,

Adding to Shabz, in your XSL mapping, you also need to ensure that the target message is also encapsulated with the MESSAGES tag,

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

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

<ns0:Message1></b>

<YOUR ACTUAL OUTPUT>

</YOUR ACTUAL OUTPUT>

<b></ns0:Message1>

</ns0:Messages></b>

Let me know if this solves the problem.

Regards,

Bhavesh

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Please have a look at this link.

http://help.sap.com/saphelp_nw2004s/helpdata/en/42/f3ca2529491bc7e10000000a11466f/content.htm

Thanks and Regards,

Sudheer.