cancel
Showing results for 
Search instead for 
Did you mean: 

"StreamConfiguratioConstants and DynamincConfiguration " Explain

Former Member
0 Kudos

Hi Folks,

I have read some udf which uses streamConfigurationConstants and DynamicConfiguration. What actually these terms refer to. what kind of relationship exists in between them.

Kindly help me in understanding the above terms

Thnaks,

Srinivas Reddy.

Accepted Solutions (1)

Accepted Solutions (1)

former_member204873
Contributor
0 Kudos

hi,

Dynamic configuration has two interfaces:

1. com.sap.aii.mapping.api.DynamicConfigurationKey

Class used to create a key object for an adapter-specific attribute. The key object comprises the adapter namespace and the attribute name.

2. com.sap.aii.mapping.api.DynamicConfiguration

Class used to read, change, or delete the value of an adapter-specific attribute. In a method, you use objects of type DynamicConfigurationKey to access the attributes.

check for Java Mapping of Adapter-Specific Message Attributes at http://help.sap.com/saphelp_nwpi71/helpdata/EN/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm

Usage of Dynamic configuration:

/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14

/people/madanmohan.agrawal/blog/2009/05/20/combining-three-different-aspects-of-pi-asma-af-module-and-variable-substitution-in-one-shot

StreamTransformationConstants:

This interface contains constants that can be used in a java mapping to access runtime parameters. Most of these parameters are attributes of the message header, e.g., sender party, sender service, etc.

check for StreamTransformationConstants at:

http://help.sap.com/javadocs/pi/SP3/xpi/index.html

http://help.sap.com/javadocs/NW04/current/pi/constant-values.html#com.sap.aii.mapping.api.StreamTran...

Thanks.

Answers (1)

Answers (1)

Former Member
0 Kudos

Dynamic configuration is used when you need any runtime value. For example sender system name or message ID etc.

Its also used for dynamic file naming. Basically DYNAMIC operations.

Have look at this for example:

http://wiki.sdn.sap.com/wiki/display/Snippets/SAPXIDynamic+Configuration

StreamTransformation basically is an interface of package com.sap.aii.mapping.api. SetParameter and Execute are two methods in it Used in Java mapping usually.

Regards

Soumen...