cancel
Showing results for 
Search instead for 
Did you mean: 

DME Engine output is not valid XML FILE

Gnanasambanthan
Participant
0 Kudos

Hi all,

I've problem with DME output in XML, when saving & retreiving from application server.

I'm using tree type 'PAYM' for HSBC Canada with custom format tree based on SEPA_CT. After payment run, the XML is getting generated correctly in UTF-8 format on display from FDTA, whereas the same when saved to application server and when retrieved the format is changed to UTF-16 and the does not have any line-feeds.

<?xml version="1.0" encoding="utf-16"?><Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.02" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><pain.001.001.02><G
<Nm>IMSH Consulting Inc</Nm><PstlAdr><StrtNm>16720 Trans-Canada Hwy</StrtNm><PstCd>H9H 5M3</PstCd><TwnNm>Kirkland</TwnNm><CtrySubDvsn>QC</CtrySubDvsn><Ctry>CA</Ctry></PstlAdr></D
<Id><PrtryAcct><Id>001003542005</Id></PrtryAcct></Id><Ccy>CAD</Ccy></DbtrAcct><DbtrAgt><FinInstnId><CmbndId><BIC>HKBCCATT</BIC><ClrSysMmbId><Id>XXXXX001610001</Id></ClrSysMmbId><

Kindly help.

Thanks & regards,

Gnanasambanthan.V

Accepted Solutions (0)

Answers (4)

Answers (4)

grzegorz_burda2
Explorer
0 Kudos

Hello,

I had same issue and solution was quite simple:

1. Go to SE19 and make sure you have your Payment Format in the filter for Classic BAdI DMEE_XML_BADI_01

2. Go to OBPM3, find your format, double click and you will see Download setting / Code page -> put 4110 there and your file will be downloaded in proper format.

Regards

Greg

Former Member
0 Kudos

Hi Gnanasambanthan:

     would you please help me on this <ClrSysMmbId><Id>XXXXX001610001</Id></ClrSysMmbId>,
how to define XXXXX in the ID segment?  i had config them in to 1 elment( 1 constand & 1 structure field as atom), but just show the XXXXX, haven't 001610001 in the segment. how to do this?

0 Kudos

Dear Gnanasambanthan,

In FDTA first display the XML file, after that download the xml file (CLICK ->XML->DOWNLOAD) .

you get the XML file in UTF-8 Format.

Regards,

Srinivasan.R

former_member182098
Active Contributor
0 Kudos

Please refer

Note 1144203 - XML file in file system incorrect/XML in UTF-8

Note 1144841 - SEPA file is incorrect

Note 1127555 - PMW XML files (SEPA): Encoding in header is incorrect

Note 1361799 - SEPA file: blank character for encoding

Question: Why are you retrieving? Manual intervention to these files are to be avoided, script these files to secured folder, only authorized personnel can process them.