Skip to Content

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();

image

It is possible to download the source from http://piarchiving.com/files/XSLSaver.jarhttp://www.piarchitecture.com/2011/07/using-configure-xsl-with-the-build-in-parameters-in-the-sap-pi-mappings/</a></p>

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

Leave a Reply