Skip to Content

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

Var substitution

Hello All,

I am getting below error in my receiver FTP(File) channel:

Message processing failed. Cause: Error during variable substitution: Caught SAXException while parsing XML payload: Content is not allowed in prolog.

Taret payolad is as below:

<?xml version="1.0" encoding="UTF-8"?>







I have to read the sequence number which is coming in the target payload. So, I have enabled Variable subs option in the receiver FTP channel. And mentioned the var1 as payload:MT_TREASURY_MANAGEMENT_LEGACY,1,HEADER,1,SEQUENCE_NUMBER,1

can someone pls help me here




Former Member
Former Member replied

Hello Mr,

This usually happens if have some invalid binary characters in the message.

Generally this invalid characters will be in the start of the message, so you can use substring function to element them.... If you are reading message from a file, then please open file in word pad or in notepad, delete first few empty spaces(if no empty spaces are found, delete the first char and re-type).

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