I have a Proxy-to-file scenario . I am using an SFTP adapter to write files to the receiver server.
I have used Dynamic configuraiton to populate the file name.My inbound message would containt the header details.
If a file is sent from SAP without any data i.e., only with the header,then I would like my message to fail and nothing should be written to SFTP server. At the moment the file is getting written to the SFTP server with some constant name.
The option of 'Fail if adapter specific message attributes' are missing in SAP PI 7.4.