cancel
Showing results for 
Search instead for 
Did you mean: 

error in file to file

Former Member
0 Kudos

hey guys

i m doing file to file scenario and i m getting following error.

During the application mapping com/sap/xi/tf/_MM_file_file_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: Fatal Err

or: com.sap.engine.lib.xml.parser.Parser~

Exception of class CX_XMS_SYSERR_MAPPING

i checked my message mapping in IR and its seems to work fine.

where could the possible error be ?

thanx

amir

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Are you recieving that error using the test tool in the integration builder : configuration tool?

Former Member
0 Kudos

i was doing file to file scenario,my file was being picked up properly but wasnt delivered,i checked in sxmb_moni and got this error in processed xml messages.

thanx

aamir

moorthy
Active Contributor
0 Kudos

HI,

-chek out all the mandatory fields, segments from the target structure are mapped.

-try to test with single occurence of data. Check occurences of both source and target structure

-test the interface mapping with live data from SXMB_MONI

-Try to change the mapping and activate it. And refresh the mappig.. and test it.

-Also you can analyse mapping errors thru Display Queue option in the mapping editor.

probably error looks like some of the fields are not mapped. btw are u using any user defined function ? if so check out that.

Hope this helps,

Regards,

moorthy

Former Member
0 Kudos

Hey,

It seemz there is a problem with what you've defined in your Message Type and what you are giving file structure.

If possible, can you post your Source structure and Target Structure, so that we can help you in better way

Cheers.,

S

Former Member
0 Kudos

hi,

It seems that your input message is not equal with your defined Message Typ.

To ensure that input message is well you have to use the mapping test tool.

If the import of your input message will not work you have to redesign your Data and Message Typ.

In your case the input is not what you have designed and so the engine cannot find the right Mapping.

Daniel

MichalKrawczyk
Active Contributor
0 Kudos

hi,

this means that you didn't test it properly

have a look at my weblog on how to test your mapping

/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Thanx Michal

the payload says this:

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 'file:///C:/WINDOWS/Temp/7884008HTML000003.xml'. Line ...

testing file to file

Former Member
0 Kudos

Hi Aamir,

You shold be able to open and read valid xml using internet explorer.

In your case it is not happening .

Please post source and target xml here so that we can help you out.

Thanks,

Tuhin

Former Member
0 Kudos

Hey tuhin

this is the source XML i got from message mapping

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

<xsd:schema targetNamespace="http://mutex.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://mutex.com">

<xsd:element name="MT_file_sender" type="DT_file_sender" />

<xsd:complexType name="DT_file_sender">

<xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">365b17f17a5511db8cb800304825b6c6</xsd:appinfo>

</xsd:annotation>

<xsd:sequence>

<xsd:element name="Recordset">

<xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">571b2ae09d4711dd88ebdf3dc0a80005</xsd:appinfo>

</xsd:annotation>

<xsd:complexType>

<xsd:sequence>

<xsd:element name="Row">

<xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">571b2ae19d4711ddb6f3df3dc0a80005</xsd:appinfo>

</xsd:annotation>

<xsd:complexType>

<xsd:sequence>

<xsd:element name="First_name" type="xsd:string">

<xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">571b2ae29d4711ddc82edf3dc0a80005</xsd:appinfo>

</xsd:annotation>

</xsd:element>

<xsd:element name="Last_name" type="xsd:string">

<xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">571b2ae39d4711dd9d3bdf3dc0a80005</xsd:appinfo>

</xsd:annotation>

</xsd:element>

<xsd:element name="Dept" type="xsd:string">

<xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">571b2ae49d4711dd99e9df3dc0a80005</xsd:appinfo>

</xsd:annotation>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:schema>

and this is the target message i got from message mapping

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

<xsd:schema targetNamespace="http://mutex.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://mutex.com">

<xsd:element name="MT_file_receiver" type="DT_file_receiver" />

<xsd:complexType name="DT_file_receiver">

<xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">367556b07a5511dbc04600304825b6c6</xsd:appinfo>

</xsd:annotation>

<xsd:sequence>

<xsd:element name="Recordset">

<xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">72a52f909d4711dd828bdf3dc0a80005</xsd:appinfo>

</xsd:annotation>

<xsd:complexType>

<xsd:sequence>

<xsd:element name="Row">

<xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">72a52f919d4711ddb5b8df3dc0a80005</xsd:appinfo>

</xsd:annotation>

<xsd:complexType>

<xsd:sequence>

<xsd:element name="Name" type="xsd:string">

<xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">72a52f929d4711ddacd9df3dc0a80005</xsd:appinfo>

</xsd:annotation>

</xsd:element>

<xsd:element name="Dept" type="xsd:string">

<xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">72a52f939d4711dda96adf3dc0a80005</xsd:appinfo>

</xsd:annotation>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:schema>

if u need some other information,let me know

really appreciate your help

thanx

amir

Former Member
0 Kudos

Hi aamir,

You have any field in target side with occurance 1,if yes make sure it is mapped.

Thanks,

Tuhin

Former Member
0 Kudos

Thanx guys

my problem is solved,i deleted the mappings and made a fresh one and it started working fine.

thanx for all the help from u guys

aamir