on 06-18-2009 8:50 AM
Hi PI-experts,
I'm trying to insert the Message ID from my message in a XSLT Mapping. I followed the description in SAP Help:
First declare a param:
<xsl:param name="MessageId"/>
Later, use it:
<MESSAGE_ID><xsl:value-of select="$MessageId"/></MESSAGE_ID>
But the field MESSAGE_ID is always empty.
Any explanations ?
What do I need to do, to make it work ?
Hi,
>>>What do I need to do, to make it work ?
maybe you're doing it inside a BPM...
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Udo,
I already read this blog and solved the problem with an added Transformation Step, but wanted to verify, why I can't seem to access the runtime contants in XSLT Mapping.
Is it correct to say, it's because the Mapping is called inside the BPM via Transformation Step? Then why does it work with Message Mapping. Seems weird.
Best Regards
Sven
The place where you have used your mapping is wrong......the mapping has to be included in the Interface Determination step of your Sender ---> BPM communication....and if using Sync call then in the response mapping program of the sync call..
Inshort ensure that the details (MESSAGE_ID) are in the message before the message enters the BPM
Regards,
Abhishek.
Hi Udo and all,
i have a bpm, where i first collect some messages and then execute a transformation step, which calls a XSLT Mapping to merge multiple messages into one. After this Transformation Step i added another Transformation Step, which calls a Message Mapping. This Message Mapping is a one to one mapping (every field in the source gets mapped to its twin in the target structure, both messages are the same). Only one field is changed, i wrote user-defined function as proposed in Michal's blog, retrieve the MessageID and set it to this field. I tested the BPM and it definitly works, the Message ID is set to the correct value.
Is this a different behaviour than you have experienced in the past?
I'm running on PI 7.0 with SP 16.
Best Regards
Sven
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.