Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

sending file name to proxy XML using ASMA??

Hello Expert,

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.



Former Member replied

Hi China

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("","FileName");


return FileName_input;


catch (Exception e)


Make sure that you have choosen the ASMA attribute ( filename)  in sender file adapter .

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question