Skip to Content

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

Variable Substitution in Receiver File Channel

Hi All,

Could you kindly help me with this?

Mine is File to File Scenario. ECC drops a XML file in AL11 directory and i send that file using FTP to a third party system. There is no mapping involved and i use ICO. I need to get a value from the payload dynamically for using it in my file name.

When i tried to use Variable Substitution Method i get this error : VariableDataSourceException: Caught SAXException while parsing XML payload: Content is not allowed in prolog.

This is the reference i have given in my variable substitution : payload:customerelement,1,customer,1,sender,1,dealercode,1

and my XML structure is as below and i am trying to access the dealercode field in the XML.

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

-<ns0:CustomerElement xmlns:ns0="">









Former Member
Former Member replied

Thanks for your time. I had to write an adapter module to achieve this functionality.

Below link was of great help.

0 View this answer in context

Helpful Answer

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