Hi,
we get at the moment the following message into the message monitor:
Mapping "http://www.xxx.com/OperationMapping" failed to execute: RetryControlException: Split mapping created no messages, cannot proceed. Review your mapping setup: splitting to 0 messages is not allowed. We could tested the operation mapping without any error.
We would like to split the one source IDOC into 1...n IDOC's via XSL transfomration ( the count of the source segment E1XYZ generate the count of the destination IDOC's ). The destionation IDOC (message) is defined as external defintion with the unbounded signature
The first question: How should we build the XSL document:
1. Exampple:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="UTF-8" indent="no"/>
<xsl:template match="/">
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<xsl:for-each select="SHPMNT06/IDOC/E1EDT20/E1EDL20">
<ns0:Message1>
</ns0:Message1>
</xsl:for-each>
</ns0:Messages>
</xsl:template>
</xsl:stylesheet>
or
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="UTF-8" indent="no"/>
<xsl:template match="/">
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<xsl:for-each select="SHPMNT06/IDOC/E1EDT20/E1EDL20">
</xsl:for-each>
<ns0:Message1>
</ns0:Messages>
</xsl:template>
</xsl:stylesheet>
The second question:
Into the operation mapping we use 2 mapping programs:
1. XSL transformation source message to destinaion messages
2. Message Mapping destination messages with function mapping to the same destination messages ( 1:1 mapping til changes )
Messages Messages
Message1 Message1
TRACKINGIDOC ------> TRACKINGIDOC
IDOC ------> IDOC
Is this right ?
Last: Please dont answer me, if you link me to the simple examples ( files into idoc and so on.... ) or references without any
solutions ;-)
Thanks in advance and have nice day
marc