on 07-11-2007 9:28 PM
Hi All,
I need to get the XML pay load for a message which contains a specific value for a specific field. Also I need to get the XML message ID of this message. Is there any option available in Xi for this purpose?
Thanks in advance..
Hi,
if you want to get messageid use my blog:
/people/michal.krawczyk2/blog/2005/02/25/simple-java-code-in-graphical-mapping--xi
accessing Technical Context Objects
if you have a BPM use my other blog:
/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In mapping use streamtransformation constants to access adapter-message specific attributes.
The follwoing is the sample code...
use it as a reference.
Accessing the File Adapter Adapter-Specific Attribute FileName
DynamicConfiguration conf = (DynamicConfiguration) container
.getTransformationParameters()
.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create(
http://sap.com/xi/XI/System/File,
FileName);
String valueOld = conf.get(key);
if (valueOld != null) {
String valueNew = valueOld.replaceAll(input,output);
conf.put(key, valueNew);
}
urs
sreeni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
sure it is but you need to use trex search engine for that
http://help.sap.com/saphelp_nw04/helpdata/en/43/6030fae92f5f87e10000000a1553f6/content.htm
once you configure trex you will
be able to search for XML payload from RWB
(runtime workbench of XI)
this is the first - fast way
there are also some non standard ways
but these are pretty slow and if you have many messages
they will not be very efficient in use:
/people/alessandro.guarneri/blog/2006/02/14/super-message-monitor-for-sap-xi
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.