Skip to Content
Author's profile photo Daniel Graversen

Using configure XSL with the build in parameters in the SAP PI mappings

I needed to figure out how it was possible to configure XSL in the configuration directory. I also need to get up to speed on how Java mappings could be configured.

This blog will give some information on how to configure both Java and XSL mappings.  It was quite simple to make it work.

The first thing was that I should move to the AbstractTransformation. Since StreamTransformation is deprecated and does not support the parameters.  

The method to extend is

   public void transform(TransformationInput in, TransformationOutput out) throws StreamTransformationException.

The input parts contains access to 

   InputParameters parameters = in.getInputParameters();


It is possible to download the source from</a></p>

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Iliya Kuznetsov
      Iliya Kuznetsov
      Hello Daniel,

      have you checked the mapping when "Use SAP Xml toolkit" is turned off?

      Author's profile photo Daniel Graversen
      Daniel Graversen

      I think i got an error when I had XML toolkit marked off. It could be because I had some problems in the beginning.