cancel
Showing results for 
Search instead for 
Did you mean: 

PI 7.31: Error: PARSE_APPLICATION_DATA Error during XML => ABAP conversion

Former Member
0 Kudos

Hi PI-Gurus,

In PI 7.31 I built the folowing synchronic scenarios:

Proxy <--> PI <--> JDBC

10 proxies send different master data at same time to SQL Database and get responses from database.

I get error in ECC sometimes as below:

PARSE_APPLICATION_DATA Error during XML => ABAP conversion: Response Message; CX_ST_MATCH_ELEMENT

Error during XML => ABAP conversion: Response Message; CX_ST_MATCH_ELEMENT in /1SAI/TXSFEE1D228F6095A058B0D Line 16 expects Element .'{http://:

In PI, all messages are green and have response payload.

But what weird is, that this error does occur in all proxies, just occurs randomly in 2 or 3 proxies . Sometimes no error.

In SXMB_MONI in ECC, I noticed that the error responses have no payload.

I have read the thread:

http://scn.sap.com/thread/3275434

But I do not use java-mapping. even without operation-mapping, because these response interfaces (inboud und outbound) have same response message-type.

Please help me out urgently!

Thanks and regards

Rene

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hello,

Seems something is wrong with the XML. Is the XML having the namespace tag in it ? Are you using transfomration in ABAP to parse the XML ? If so check there it is requiring some thing and the XML is not having it. I mean you need to check the XML to you XML schema  or XSD.

best regards,

swanand

Former Member
0 Kudos

Hi Swanand,

a simple-transform program is used in the proxy.

Its code are here:

<?sap.transform simple?>
<tt:transform version="1.0" xmlns:tt="http://www.sap.com/transformation-templates" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sapgdt="http://sap.com/xi/SAPGlobal/GDT" xmlns:ddic="http://&>
www.sap.com/abapxml/types/dictionary" xmlns:prx="urn:sap.com:proxy:E01:/1SAI/SXE9C232A0431E84A271A95:731">
<tt:root name="ROOT" type="ddic:ZMM_LOGOMATEDT_DATABASE_RESPO1"/>
<tt:variable name="_C_NIL" val="C(' ')" type="ddic:XSDBOOLEAN"/>
<tt:parameter name="_DEFAULT" val="C('')"/>
<tt:parameter name="_CNTL_VAL" val="C('')"/>

<tt:template extensible="deep">
  <tt:clear ref="ROOT"/>
  <tt:deserialize>
   <tt:cond-var check="_CNTL_VAL!='2'">
    <tt:group>
     <tt:cond>
      <tt:ref name="ROOT.STATEMENT_RESPONSE">
       <tt:loop>
        <Statement_response>
         <tt:deserialize>
          <tt:assign to-var="_C_NIL" val="' '"/>
          <tt:d-cond>
           <tt:attribute name="xsi:nil">
            <tt:read var="_C_NIL" map="xml('true', '1') &gt; val(C('2'))"/>
           </tt:attribute>
          </tt:d-cond>
         </tt:deserialize>
         <tt:cond-var check="_C_NIL!='2'">
          <tt:call transformation="/1SAI/SXEF13AEFFE78EA89A58802">
           <tt:with-root name="ROOT" ref="$REF"/>
          </tt:call>
         </tt:cond-var>
        </Statement_response>
       </tt:loop>
      </tt:ref>
     </tt:cond>
    </tt:group>
   </tt:cond-var>
  </tt:deserialize>
</tt:template>

</tt:transform>

What you mean is to valide the response xml payload? The data-type is created manually, but not external definition by importing XSD.

In the PI all messages have payload as normal, but in the ECC SXMB_MONI the error messages do not have payload.

Could you specify your suggestion?

Regards

Rene

Former Member
0 Kudos

Hello,

I am check the ST in ABAP but here is something I saw which is not correct -

xmlns:sapgdt="http://sap.com/xi/SAPGlobal/GDT" xmlns:ddic="http://&>

www.sap.com/abapxml/types/dictionary"

should be

xmlns:sapgdt="http://sap.com/xi/SAPGlobal/GDT" xmlns:ddic="http://

www.sap.com/abapxml/types/dictionary"

The character > might be causing the problem. Remove and check if it works.

best regards,

swanand