Skip to Content
0
Former Member
May 12, 2011 at 07:18 AM

Dynamic file name(Context)

10 Views

Hello All,

I am using Dynamic file name function in my message mapping. Below is the code that I am using inside UDF:

DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");

String fileName = conf.get(key);

return fileName;

Now the questions is as per my requirement, I need to generate multiple file names. Can some one help me how can change the above code for catering multiple returns

Thanks

Regards

Moorthy