cancel
Showing results for 
Search instead for 
Did you mean: 

Changes to sapxmltoolkit.jar from PI7.0 to PI7.1

Former Member
0 Kudos

Hi.

This question is about "XSLT Mapping with Java Enhancement".

We have build numerous interfaces that uses java functions in a XSL mapping.

This works fine in PI7.0, but when porting to PI7.1 it stops to work.

SAP gives examples how to make this work:

PI7.0: http://help.sap.com/saphelp_nw70/helpdata/EN/55/7ef3003fc411d6b1f700508b5d5211/frameset.htm

PI7.1: http://help.sap.com/saphelp_nwpi71/helpdata/en/83/2200cb50d345c793336d9a1683163e/frameset.htm

The examples are identical, but again, it dosnt work on PI7.1.

In PI7.1 the sapxmltoolkit.jar has been renamed to "sap.comtcsapxmltoolkit~sapxmltoolkit.jar". Trying to use the xsl process on standard XSLT transformations work fine.

When trying the mentioned PI7.1 example, it throws an exception (TransformerConfigurationException), with the following Error Message: "ERROR: 'The first argument to the non-static Java function 'concat' is not a valid object reference."

When trying with the PI7.0 sapxmltoolkit.jar, it works like a charm!

Hope someone can help resolve this problem...

Regards...

Peter

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

In the operation mapping, you find a new check box: "Use SAP XML Toolkit". Activate this.

This works for example of the documention, beside it is not allowed to have hyphen in the element names of a data taype.

Regards

Stefan

Former Member
0 Kudos

Hi Stefan.

Thanks for a quick reply.

It works now.

Wonder how I missed that check button

Regards...

Peter

Answers (0)