cancel
Showing results for 
Search instead for 
Did you mean: 

Variable Substitution Issue:Content is not allowed in prolog.

manikandan_shanmugam3
Active Participant
0 Kudos

Hi All,

I am getting below issue on Variable Substitution.

I have checked the payload it doesn't have any space or special chars but numeric value 120.

SAP PO 7.4

Confug:

var1    payload:MT_Test,1,Segment,1,TrxType,1

Folder Cnfig:List_B%var1%_.csv

MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: Caught SAXException while parsing XML payload: Content is not allowed in prolog.


Regards,

Mani

Accepted Solutions (1)

Accepted Solutions (1)

manikandan_shanmugam3
Active Participant
0 Kudos

Hi All,

Thanks for your support.

The issue was solved. It was not working as I was doing FCC conversion through modules.

Regards,

Mani

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

Hi Manikandan,

Have you checked your XML before the mapping?, are you sure is correct?, can you validate it against your xsd schema (XML Validation: XML Validation)?

Also you can check this Shabarish's blog as well ?

Regards,

former_member192892
Active Contributor
0 Kudos

Check the file using a hex editor to see if any Byte Order Mark characters are there in the file.

manikandan_shanmugam3
Active Participant
0 Kudos

Hi Varun,

I have used constant in Mapping, still facing same issue.

Regards,

Mani