cancel
Showing results for 
Search instead for 
Did you mean: 

error ID: CX_ST_MATCH_ELEMENT

Former Member
0 Kudos

Experts,

Your comments on this error message,

*Error Message 😘

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Call Inbound Proxy

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30"

xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"

SOAP:mustUnderstand="">

<SAP:Category>XIProxy</SAP:Category>

<SAP:Code area="ABAP">PARSE_APPLICATION_DATA</SAP:Code>

<SAP:P1>Request Message</SAP:P1>

<SAP:P2>CX_ST_MATCH_ELEMENT</SAP:P2>

<SAP:P3>/1SAI/TXS00000000000000000002</SAP:P3>

<SAP:P4>XML Bytepos.: 50 XML Path: ProductActivityNotification(1)

Error Text: System expected the

element '

ProductActivityNotification'</SAP:P4>

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Error during XML => ABAP conversion (Request Message;

error ID: CX_ST_MATCH_ELEMENT; (/1SAI/TXS00000000000000000002 XML

Bytepos.: 50 XML Path: ProductActivityNotification(1) Error Text:

System expected the element '

ProductActivityNotification')) System expected the

element '

ProductActivityNotification'</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

agasthuri_doss
Active Contributor
0 Kudos

Hey,

Check the Namespace in Data Type.

Cheers

Agasthuri Doss

Answers (2)

Answers (2)

former_member200962
Active Contributor
0 Kudos

there seems to be a mismatch between namespace of the message on which the proxy is built and the message which is actually used.....just cross-check the MI and the corresponding proxy....

Regards,

Abhishek.

Former Member
0 Kudos

Edward,

It seems there is some issue with ProductActivityNotification(1). You might not sending the value for it and may be it is mandatory. If you are sending then please check whether you are sending the value correctly or not because it says some issue with ABAP conversion.

Also check this blog:

/people/bhanu.thirumala/blog/2006/02/07/abap-proxy--xml-to-abap-transformation

Regards,

---Satish

Former Member
0 Kudos

Thanks Satish,

I checked the weblog you mentioned & Mandatory fields has values. The Interface is good in other environment only in Dev I am facing the problem.

Thanks

Former Member
0 Kudos

Edward,

Can you please check the Note 1162160 - CX_ST_MATCH_ELEMENT in XML INBOUND processing.

Also please create a test xml in your inbound proxy using this blog:

/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation

Once when you have a test xml then compare the xml you are sending with the test xml and see any difference are there.

Regards,

---Satish