Hi All,
Scenario: PROXY to FILE
Msg_Type
---->Row
---------->Field1
---------->Field2
---------->Field3
In messge mapping I concatinated filename with currentdate and again concatinated to file extension and mapped to UDF to the target node (Msg_Type)
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,a);
return "";
In operation mapping mapping program I included Java Class from Imported Archive along with message mapping.
ImportedArchive for zipping the file.
In Receiver Communication Channel I used both content conversion and ASMA. Does this work? any other solution for dynamic date along with zipping.
I tried before Module configuration for content conversion and zipping but unable to get dynamic filename with current date (FileName_CurrentDate.zip)
Would Variable Substitution help in this situation?
Please suggest me which method would be better for me to proceed