Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

** Not able to access Runtime Constants in ABAP XSL

Hi friends,

We have written one ABAP XSLT program. (XSLT program runs in ABAP Engine). This program is for the interface Mapping in XI. Source Interface occurrence is 1 and target interface occurrence is 0..unbounded. ie. We use Message Split to send source messages to multiple target messages. For this we have written one ABAP XSLT program. To find Value mappings we use 'SenderService' Runtime Constant to determine Sender Service (for Source Agency) at runtime. But the problem is, inside template the constant $SenderService did not have the value. I have given below the coding

-


<xsl:param name = 'SenderService'/>

<xsl:template match="/">

<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">

<ns0:Message1>

<ns1:employeeDemographicsRequest xmlns:ns1="http://aprilbiztec.com">

<!-- here we are $SenderService did not receive the value -->

-


Friends, Could you kindly help me to solve this problem ? (ie how to access Runtime Constants in ABAP XSLT when use message Split)

Thanks in advance.

Kind Regards

Jeagthees P.

Note :

1) In normal ABAP XSLT, we are able to access Runtime Constant.

2) For the same scenario, if we use normal XSLT ie. JAVA XSLT, we are able to access Runtime Constant.

Not what you were looking for? View more on this topic or Ask a question