Skip to Content

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

Dynamic configuration bean with SFTP adapter

Hello Experts,

I am working on file to file scenario using SFTP adapter and below is my requirement, any help is much appreciated -

1. File to file transfer. no mapping required.

2. At receiver end, i want put the file in Output folder and also zip the file and put it in Audit folder.

3. The name of the file at receiver side should be same as on the source side. So if the source file name is AB_YYYYMMDD_HHMMSS.txt,

the file in output folder should be same - AB_YYYYMMDD_HHMMSS.txt and the zip file name in Audit folder should be

Now, putting the file in output folder is straight forward using ASMA. However for creating the zip, i am using standard bean - PayloadZIp bean. The issue is -

If i use ASMA, then the filename of the zip file is AB_YYYYMMDD_HHMMSS.txt though its an zip file.

And if I do not use ASMA, I have to give a static name in receiver comm channel which is not the same as source file name.

I have already tried few things as per below links like DynamicConfigurationBean, variable substitution, but none of them is working. I have gone through below blogs -

Dynamic Configuration Bean

Rename file without mapping in file/FTP channel? | SCN

So please let me know if this is possible at all via standard bean.

Note: I am trying to avoid use of custom adapter module / Java mapping.

Former Member
Not what you were looking for? View more on this topic or Ask a question