Skip to Content
avatar image
Former Member

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">

http://sap.com/xi/StoreConnectivity">

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

</ns0:POSLog>

</xsl:template> -->

<xsl:template name="POSLog">

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-->

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 13, 2010 at 07:19 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 13, 2010 at 09:16 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 13, 2010 at 02:31 PM

    Hi,

    What is the exception about ? Any additional info ?

    Rgds

    Chris

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 14, 2010 at 11:04 AM

    When I see it right, then your added code is not part of any template.

    If you want to replace the other template from aboce, use the same template tags:

    <xsl:template name="POSLog">
    <xsl:for-each select="GMTLogTransactionLine[TransactionType='B2']">
    <xsl:call-template name="CaptureTenderID"/>
    </xsl:for-each>
    </xsl:template>

    Edited by: Stefan Grube on Apr 14, 2010 1:04 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 13, 2010 at 06:59 PM

    Hi Narendra,

    I've encountered this problem in PI 7.1 ehp1 environment. This error was caused when XSL code is generated by Altova mapforce (Enterprise Edition version 2008 rel. 2 sp1) that was installed on my laptop . I was able to ask from my colleague to generate the mfd file on her/his laptop and reuploaded the xsl file. We tested it again, and the issue is resolved.

    The cause of my issue was the version that was installed on my laptop. I have to verify it again on what version he/she used. I'll reply as soon as I have it.

    Regards,

    R-jay

    Add comment
    10|10000 characters needed characters exceeded