Skip to Content
avatar image
Former Member

DME Engine output is not valid XML FILE

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Feb 06, 2014 at 12:50 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 20, 2011 at 09:59 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 30, 2011 at 07:16 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 16, 2012 at 08:55 AM

    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?

    Add comment
    10|10000 characters needed characters exceeded