cancel
Showing results for 
Search instead for 
Did you mean: 

How to access operation mapping input parameters in XSLT mapping

Former Member
0 Kudos

Hi Experts,

I have created the parameters in operation mapping and I am trying to access those parameters in XSLT mapping but it is not working, can anyone help me with this?

Operation mapping parameters:

I have defined the parameters before the template like below:

<xsl:param name="from"/>

<xsl:param name="to"/>

I am accessing the parameters like below:

<From><xsl:value-of select="$from"/></From>

  <To><xsl:value-of select="$to"/></To>

Regards,

Rachana.

Accepted Solutions (0)

Answers (2)

Answers (2)

nikhil_bose
Active Contributor
0 Kudos

Hi,

<xsl:param name="first_var">

<xsl:value-of select="//first"/>

</xsl:param>

However it requires java mapping

XSLT Mapping with Java Enhancement - Enabling Application-to-Application Processes - SAP Library

Regards,

Nikhil

former_member186851
Active Contributor
0 Kudos

Hello Rachana,

Please refer this links

https://help.sap.com/saphelp_nwpi71/helpdata/en/43/cf76cb869f05f6e10000000a11466f/content.htm

Parameterized XSLT mappings | SCN

Once you define the parameters you should bind it in the operation mapping

Former Member
0 Kudos

Hi Raghuraman,

I already bind the parameters in the operation mapping which I included the screen shot above but still not working.

do you know how to access those parameters in the xslt according to help below?

>>When the XSLT mapping program is implemented, you access the mapping program parameters by accessing the get and set methods of the Java mapping API in the XSLT program

Regards,

Rachana.

former_member186851
Active Contributor
0 Kudos

Hello Rachana,

You can  refer my document