cancel
Showing results for 
Search instead for 
Did you mean: 

** Not able to access Runtime Constants in ABAP XSL

jegathees_waran
Active Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

As far as I know you cannot access Runtime constants if there is a message split.

Regards,

Kumar