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

Re: Dynamic file name in receiver SFTP channel

$
0
0

Hello Sarada,

 

The format for DynamicConfiguration:

 

DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create(String namespace, String TechnicalName);
conf.put(key, String TechnicalNameValue);

Depending on the Adapter Specific message attributes, the namespaces differ e.g for File it is http://sap.com/xi/XI/System/File, for SFTP it is usually

http://sap.com/xi/XI/System/SFTP , same is true with the FileName, the TechnicalName is usually "FileName". The TechnicalNameValue is the value of the FileName in your case X0000+partOfSourceFileName_ datestamp.

 

Hope this helps,

Mark


Viewing all articles
Browse latest Browse all 9190

Trending Articles



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