on 11-28-2006 5:17 AM
Hi XI Friends..
in my xml to idoc..scenario..
source datatype:
DT_Units
id
date
value
target idoc : IMEASR.IMEASR01
i did mapping between these
id----
-
>E1MEASR-POINT
date----
-
>E1MEASR-IDATE
value----
-
>E1MEASR-READC
and i assigned constants for readr,itime,mdtext of target idoc.
MT_Units------>IMEASR-IDOC
i tested in message mapping..and i cpoied the source from message mapping and given as source xml
<ns0:MT_Units xmlns:ns0="http://aaaa.com/xi/PROCESS/PPE/ERP_MES">
<id>70013</id>
<date>20060101</date>
<value>3333</value>
</ns0:MT_WearUnits>
static test of interface mapping also Ok.
in ID, TestConfiguration i given source service and source interface and target service and the payload as source xml file and its a success.
the file is picking from source but it showing EXCEPTION_DURING_EXCECUTE OF MAPPING Catagory as error.
SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_MM_WearUnits_To_SAP_</SAP:P1>
<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
<SAP:P3>Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:P3>
<SAP:P4></SAP:P4>
<SAP:AdditionalText></SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace=""></SAP:ApplicationFaultMessage>
<SAP:Stack>During the application mapping com/sap/xi/tf/_MM_WearUnits_To_SAP_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
and the payload is look like this..
<ns0:MT_Units xmlns:ns0="http://aaaaa.com/xi/PROCESS/PPE/ERP_MES">
<id>70013</id>
<date>20060101</date>
<value>3333</value>
</ns0:MT_WearUnits>
and in file adaptermonitering ..in message content..
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
Invalid at the top level of the document. Error processing resource 'http://...
<ns0:MT_Units xmlns:ns0="http://aaaaa.com/xi/PROCESS/PPE/ERP_MES">
^
please guide me..
regards
ram
Hi ram,
check this link
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
Regards
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi rama,
please remove

and restart the xml process in SXMB_MONI and check the status..
..And are you sure the input file is XML and encoding is UTF-8..?.
Chandu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi friends...
thanx for your quick responses..
As you suggested..
i put source xml as
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Units xmlns:ns0="http://aaaa.com/xi/PROCESS/PPE/ERP_MES">
<id>70013</id>
<date>20060101</date>
<value>3333</value>
</ns0:MT_Units>
and i am getting same error in SXMB_MONI.
but payload as
Invalid at the top level of the document. Error processing resource 'file:///D:/Documents and Settings/ram/Local Se...
<?xml version="1.0" encoding="UTF-8"?>
^
and in adaptermonitering ..file is picking and it showing the message content as
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
Invalid at the top level of the document. Error processing resource 'http://...
<?xml version="1.0" encoding="UTF-8"?>
^
please help me...
regards
ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There is no XML prolog in your input data.
Try including this in fron tof your input.
<?xml version="1.0" encoding="UTF-8"?>
Regards,
P.Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ram,
Some junk data is found in your source file at the beginning.
please remove the same , add <i><?xml version="1.0" encoding="UTF-8"?></i> to the beginning of your file
and test your scenario . it should work fine.
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.