Skip to Content

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

Variable Substitution File Receiver Adapter

Hi,

I am in the process of implementing a scenario involving the conversion of a .jpg file to .bmp. In my scenario, I'd like to the .bmp file name to be dynamically controlled; therefore, I have used the Variable Substitution option in the File Receiver Adapter.

In both the File Sender & Receiver comm. channels, I have ticked 'Adapter Specific Messsage Attributes' check-box and selected the 'File Name' option.

The File Receiver comm. channel also has the following:

File Name Scheme*: %File_Name%.bmp

Variable Name: File_Name

Reference: message:FileName

Having done the above, I am getting the following error message in Comm. Channel Monitoring:

Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: Unknown message header category 'FileName' for variable 'File_Name'.: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: Unknown message header category 'FileName' for variable 'File_Name'.

Would really appreciate your assistance on this.

Regards,

Reuben.

PS: The Sender File Adapter has the

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