cancel
Showing results for 
Search instead for 
Did you mean: 

inbound proxy error

09-27-2011 4:53 PM
707 views 2 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hi Gurus,

Im working on file to proxy scenario.

I created teh inbound proxy on the inbound interafce.

The file is picked by the file adapter and send to the inbound proxy using XI adapter.

Mapping is successful but when the XML message is sent to the SAP system Im gettign error as follows.

Error during XML => ABAP conversion: Request Message; CX_ST_MATCH_ELEMENT in /1SAI/TXS0B76426EE01193BEF921 Line 10782 System expected the end of the element 'InvoiceDetailHeaderIndicator' XML Bytepos.: 743 XML Path: ns0:cXML(1)Request(2)InvoiceDetailRequest(1)InvoiceDetailRequestHeader(1)InvoiceDetailHeaderIndicator(1) System expected the end of the element 'InvoiceDetailHeaderIndicator&#39

The source file contains the InvoiceDetailHeaderIndicator in teh below manner

<InvoiceDetailHeaderIndicator />

Can you please suggest any workaround to fix this issue.

Thanks,

Jay

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

VijayKonam
Active Contributor
0 Likes

take the mapping result from PI mapping test tab and try to test the proxy in debug mode. Check if the XML is well formed and check the byte position at which the system is complaining an error. It mostly looks like, the PI structure is changed and the proxy was not regenerated after that.

VJ

Answers (1)

Answers (1)

GabrielSagaya
Active Contributor
0 Likes

You can use XSLT_TOOL TCODE to debug your abap proxy error message

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