Hi Matthias,
Try this UDF to get file name
Best Regards,
Vladimir
public String Filename(Container container) throws StreamTransformationException{
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
String SourceFileName = "";
if (conf != null) {
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
SourceFileName = ""+conf.get(key);
} else {SourceFileName = "no filename";}
return SourceFileName;
}

