Thanks to all for providing possbile solutions,
I have wrote the UDF for it and in channel in ASMA property i copy the file directory,
used UDF as below,
String SourceFileName = new String("");
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System","FileName");
SourceFileName = conf.get(key);
- conf.put(key,SourceFileName);
return SourceFileName;
Thanks,
Ajay