Hi Raghu ,
please find the UDF ....
//Generate File Name
try
{
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/File","FileName");
//Update the ASMA File Adapter attribute
conf.put(key,fileName);
}
catch (Exception e)
{
//raise an exception if the update fails
String exception = e.toString();
return exception;
}
//return the status
return dummy;
Regards,