Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Transformer exception occurred when executing XSLT

Hi Friends,

Currently I am working on standard contents(XI) on IS-Retail.

I want to change standard XSLT mapping.

I done few changes but on testing of Interface mapping I got this error "Transformer exception occurred when executing XSLT"

1.

</xsl:template>

<!-- Comment start for Tender ( Financial Movement )-->

<!-- <xsl:template name="POSLog">

<ns0:POSLog xmlns:ns0="http://sap.com/xi/StoreConnectivity">

<xsl:call-template name="POSLogTransaction"/>

</ns0:POSLog>

</xsl:template> -->

<xsl:template name="POSLog">

<ns0:Z_POSLog xmlns:ns0="http://sap.com/xi/StoreConnectivity">

<xsl:call-template name="POSLogTransaction"/>

</ns0:Z_POSLog>

</xsl:template>

<!-- Comment end for Tender ( Financial Movement )-->

2.

<!-- Changes start for Tender ( Financial Movement ) -->

<xsl:for-each select="GMTLogTransactionLine[TransactionType='B2']">

<xsl:call-template name="CaptureTenderID"/>

</xsl:for-each>

<!-- Changes end for Tender ( Financial Movement ) -->

3.

<!-- Customization for handling Tender ( Financial Transaction ) Begin Here-->

<xsl:template name="CaptureTenderID">

<xsl:if test="following-sibling::GMTLogTransactionLine[1][TransactionType='B2']">

<Tender>

<TenderID>

<xsl:value-of select="following-sibling::GMTLogTransactionLine[TransactionType='B2'][1]/TenderID"/>

</TenderID>

</Tender>

</xsl:if>

</xsl:template>

<!-- Customization for handling Tender ( Financial Transaction ) End Here-->

Former Member
Former Member replied

Hi Narendra,

It seems you have issues with your xsl mapping. Did you test your xsl map with altova xml spy or stylus studio? Try to test with the same payload as you are testing in xi. It should throw the same error with more detailed info.

Regards,

---Satish

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question