Hi Experts,
We are facing an issue with encoding in file to file scenario.
We receive xml files from SAP BI 7.3 system in ANSI format(i am checking the same using Notepad++).
The xml encoding is UTF-16 (<?xml version="1.0" encoding="UTF-16"?>)
The sender channel "FiIe Type" is set to "Binary"
The xml files get picked up from the sender directory and fails in the Integration Engine using the following error:
<SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_SAPFinance_BW_2_Clarity_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Content is not allowed in prolog.</SAP:Stack>
But when i change the file manually to "Unicode" (By using "Save As" option in windows notepad --> Encoding "Unicode"
) in my local system and upload the same file to the source directory. Then the message gets successfully processed.Please let me know if anyone have faced this issue and the fix.
Thanks,
Sudhansu