Skip to Content

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

Dynamic File Name for Operating System Command

Hello Experts,

I have Proxy-PI-FILE scenario in which the target File Name is obtained from sending system and added to the Header DynamicConfiguration segment within Message Mapping so the receiver file adapter can takes it by using the Adapter Specific Message Attributes.

The files are being written in a PI local folder by using NFS mode and then, through an Operating System Command (script), moved to an external FTP location.

The ftp script is already in use by another interfaces, will be executed in "Run Operating System Command After Processing" section, and it expects 2 parameters: SourceFileName and TargetFileName.

As in configuration time the target file name is unknown, is it possible to use something like "<ftpScripName> %F %F" so the File gets stored in the FTP location with the same name as it was temporarily stored in PI local folder by the Comm. Channel through the Dynamic Configuration FileName value?

Thank you very much for your help.

Best Regards,

Fran

Helpful Answer

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