sending file name to proxy XML using ASMA??
i have a requirement, i need to send sender side file name into proxy payload.
i can used dynamic configuration to fetch the file name, but its not available in ECC proxy payload.
AS proxy receiver adapter doesn't support ASMA.
how to embedded the file name into payload of proxy.
In your proxy structure, add a field for file name ( for example ) fname. Then map the field fname woth the below UDF
String FileName_input = "";
DynamicConfiguration conf = (DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey Filekey = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
catch (Exception e)
Make sure that you have choosen the ASMA attribute ( filename) in sender file adapter .