cancel
Showing results for 
Search instead for 
Did you mean: 

Transaction :XSLT_TOOL

Former Member
0 Kudos
223

Hi,

I have a question.

I want to to test the XSLT-Mappings with transaction "XSLT_TOOL".

Also, I want to integrate a JAVA-Funktion into the xslt-mapping.

XSLT-Source:

<xsl:param name="SAPDate">

<xsl:value-of select="/sender/SAPDate"/>

</xsl:param>

<timestamp>

<xsl:if test="function-available('javamap:DateConverter')">

<xsl:value-of select="javamap:DateConverter($SAPDate)"/>

</xsl:if>

</timestamp>

Where must I save this java-funktion that I do not get the error "unkown funktion"??

Thanks for your help.

Regards

Stefan

Accepted Solutions (0)

Answers (2)

Answers (2)

udo_martens
Active Contributor
0 Kudos

Hi Stefan,

create a jar file and put it in the same archive.

Regards,

Udo

MichalKrawczyk
Active Contributor
0 Kudos

Hi Stefan,

about xslt_tool:

have a look how you can use ABAP extensions

in XSLT_tool

/people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping

if you want to use java then use XI repository

import the java funciton as an java archive

and import your xslt mapping

Regards,

michal

Former Member
0 Kudos

Hi Michal,

Is it not possible to include a java funktion in the xslt-mapping in transaction "xslt_tool"?

First I want to test it with this transaction and then when all worked fine I want to implement the mapping in the repository.

Thanks

Regards

Stefan

MichalKrawczyk
Active Contributor
0 Kudos

hi,

test it in the repository

(test tab in the interface mapping)

Regards,

michal