Hi all,
I'm developing an interface where a single source structure generates multiple message types and, each of the message types generates a text file in the target FTP directory. Before defining the 1:N cardinality, the interface was operating as 1:1, therefore generating only 1 text file in the FTP.
With 1 file being generated in the FTP, I was naming the text file dynamically through the following UDF:
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");conf.put(key,[parameter]);
The above mentioned UDF was being mapped to the Message Type target node.
Now, my question is, I have multiple MT being generated on target side. How can I do to keep generating multiple files and naming them dynamically?
Tks,
Rafael.