on 03-26-2009 9:40 AM
Hi guys,
at the moment we are upgrading from PI 2004s to PI 7.11.
Therefore all our interfaces have to be tested.
During test I came along to one strange situation regarding DynamicConfiguration.
I have an Idoc to File szenario, where the message is mapped via Java.
during this mapping idoc runtime information is used (RCVPRN).
This information is accessed via DynamicConfiguration.
In PI 7.1 i got an NullPointerException trying to access the DynamicConfiguration.
In the mapping follwing Key is used for DynamicConf access
private static final DynamicConfigurationKey KEY_RCVPRN = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/IDoc", "RCVPRN");
In sxmb_moni the SOAP Header section DynamicConfiguration differs from PI 7.0 to PI 7.11
PI 7.0
<SAP:Record namespace="http://sap.com/xi/XI/System/IDoc" name="RCVPRN">M1962</SAP:Record>
PI 7.11
<SAP:Record namespace="urn:sap-com:document:sap:idoc:messages" name="RCVPRN">M1962</SAP:Record>
In the name scenario I have an second usage of the DynamicConf for setting the FileName dynamically.
In this case the entry in PI 7.0 and PI 7.11 is the same
PI 7.0 and PI 7.11
<SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">test.xml</SAP:Record>
Does the DynamicConfiguration behaviour changed with PI 7.11
How to access the dynamic header section of IDoc?
Hopefully someone could bring some light to this issue
Thanks in advance
Regards
Jochen
Hi guys,
the problem is indeed caused by a change of the namespace of the dynamic header.
A solution is provided with sap note 916006
Kind regards
Jochen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
But IDOCs always reside under the namespace "urn:sap-com:document:sap:idoc:messages".
Thanks,
Subhajit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The dynamic configuration should not change and did not change for most
adapter like file, soap, jms.
Dynamic configuration for IDoc is not officially documented, nevertheless there
exists a contect object for this and in PI 7.1 the context object does match the
header field.
In my opinion this is a bug, so you should open an OSS ticket for this.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.