cancel
Showing results for 
Search instead for 
Did you mean: 

DynamicConfiguration changed in PI 7.1?!

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

But IDOCs always reside under the namespace "urn:sap-com:document:sap:idoc:messages".

Thanks,

Subhajit.

stefan_grube
Active Contributor
0 Kudos

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