Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Re: SAP Netweaver 7.31 SP16 - dynamic configuration - Header Properties with variables defined and filled in a routing

$
0
0

Hi Angelika,

 

Can you please let me know why you are validating whether key exists for DynamicConfiguration or not in IF condition?

 

AFAIK, when we go for dynamicconfiguration mechanism, normally we don't put conditions for validation unless and until if it requires.

 

Can you just use the below code and check the outcome.

 

DynamicConfiguration dc = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

 

 

DynamicConfigurationKey dck = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/File",dynConfKey);

 

 

dc.put(dck,dynConfValue);

 

 

return dynConfValue;

 

Please let me know if this doesn't cover your requirement.

 

Regards

Vishnu


Viewing all articles
Browse latest Browse all 9091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>