cancel
Showing results for 
Search instead for 
Did you mean: 

Parser - "Unexpected value" error

Former Member
0 Kudos

Hi all,

I have a file to ABAP proxy scenario. The file is an XML file. In SXMB_MONI, I am getting the following error at "Call Adapter" step -

-


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

<!-- Call Adapter -->

<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIProtocol</SAP:Category>

<SAP:Code area="PARSER">UNEXPECTED_VALUE</SAP:Code>

<SAP:P1>Main/@versionMajor</SAP:P1>

<SAP:P2>002</SAP:P2>

<SAP:P3>003</SAP:P3>

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>XML tag Main/@versionMajor has incorrect value 002; expected value is 003</SAP:Stack>

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

</SAP:Error>

-


I verified that the source XML file has the value 003 for versionMajor attribute. So Header section of the message also shows the value 003.

Does anyone know what might be the reason for this ?

Regards,

Shankar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Main/@versionMajor is XI message protocol version. Example: For the XI 3.0 message protocol VERSION_MAJOR = 3 and VERSION_MINOR = 0.

So try to pass these message header fields during a mapping.

http://help.sap.com/saphelp_nw04/helpdata/en/6e/ff0bf75772457b863ef5d99bc92404/frameset.htm

When you think, the message tries to call an inbound proxy in XI, you should check SXMB_ADM if the system is maintained as XI and not as application system.

Thanks

Swarup

Edited by: Swarup Sawant on May 26, 2008 10:36 AM

Answers (1)

Answers (1)

aashish_sinha
Active Contributor
0 Kudos

Hi,

Check your message protocol....it should be XI 3.0

Also Have a look into these discussions.

Regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

Thanks for all your help.. Yes it's a version problem. Actually the SAP R/3 receiver system was upgraded from R/3 Enterprise to ECC 6.0. For this, the Message Protocol to be filled in the XI-type receiver channel is 3.0 instead of earlier 2.0

Points awarded..

Regards,

Shankar