Skip to Content
avatar image
Former Member

Parameterized XSLT mappings

Hello,

I've a question concerning parameterized XSLT mappings... How can I access the parameters which I've specified in the operation mapping. The SAP Help isn't very helpful at this topic. It says: "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". But these get and set methods can only be accessed within a java mapping and not within an XSLT mapping. The relevant class InputParameters (from the Java mapping API), which should be used to access the parameters can not be used directly. So, how can I access the parameters?

I hope anybody can help.

Thanks in advance.

Best Regards,

Lars

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 18, 2009 at 09:38 AM

    you can access the parameters within an XSLT mapping:

    using..

    ..<xls:value-of select="$SenderService"/>

    ...

    have a look on below two links:

    http://help.sap.com/saphelp_nw70/helpdata/EN/43/03fe1bdc7821ade10000000a1553f6/content.htm

    http://help.sap.com/saphelp_nw70/helpdata/EN/73/f61eea1741453eb8f794e150067930/content.htm

    thanks,

    Jagdishwar.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 20, 2009 at 08:35 AM

    Ckeck the below link for

    XSLT Mapping with Java Enhancement

    [http://help.sap.com/saphelp_nw70/helpdata/EN/43/03fe1bdc7821ade10000000a1553f6/frameset.htm]

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 20, 2009 at 08:00 AM

    Hi,

    sorry to say this, but as I have tried, this won't slove my problem. I will not access the standard system parameters. I try to access the parameters which I can define in an Operation Mapping (SAP PI 7.1 and higher) and set the values about the configuration. These parameters, as I know, can't be accessed in such an easy way... Exactly this is my problem...

    Hope that I can get a hint how to access these "selfdefined" parameters...

    Best Regards,

    Lars

    Add comment
    10|10000 characters needed characters exceeded