dynamic config_udf.txt
-
Upload
ankit-soni -
Category
Documents
-
view
216 -
download
0
Transcript of dynamic config_udf.txt
-
7/25/2019 dynamic config_udf.txt
1/1
String filename = new String("");String directory = new String("");DynamicConfiguration conf1 = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/File","FileName");
DynamicConfiguration conf2 = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);DynamicConfigurationKey key2 = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/File","Directory");
filename = "I_SC015" + Plant + "_" + PlantArea + ".txt";directory = DirectoryPath;conf1.put(key1,filename);conf2.put(key2,directory);return Plant;