on 2023 Apr 23 6:16 PM
Hello,
special question again, I know how header and exchange properties can be accessed in an XSLT mapping. Both are passed the same way via parameters to the XSLT. What happens now if I if header and property names are the same? Can both be distinguished in the XSLT( if header or property, be? If both should be used specifically in different templates?
In the XSLT both are treated as params and no difference if property or header.
Jus ran a test., settinh header and property with the same name , in this case the header value is assignedesd to the XSLT Parameter in the xslt mapping.
So any idea, how I can specifcally access the property vlue in rthe XSLT?
Thank you.
Request clarification before answering.
Hello Florian,
Its interesting to see above use case and I think its not business critical one ( i feel ).But good ask for enhancement and even I have tried its not possible to differentiate as per my understanding. Please raise a ticket to SAP ( LOD-HCI-PI ) and influence request ( will vote if you share it here for better programming practice ).
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The easiest solution would be to use a different name if possible!
But seriously, I think maybe they both don't get saved because the parameter can only have one value for the name of the header/property. Is it possible to create the param and append a 'h' or 'p' in front of the header/property name depending if it was retrieved from header or property?
Kind regards,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
12 | |
9 | |
8 | |
7 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.