cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping error : BaseRuntimeException / Fatal

Former Member
0 Kudos

Hi XI experts,

I'm working on a very very simple File to File Scenario SAP XI 3.0 (SP16).

When using a simple SAP XI graphical mapping i'd create, i get fatal error :

com/sap/xi/tf/_ZEBE_FILE1_TO_INVERT_FILE1_ a

com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: Fatal

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

=> I tried this :

1 - no mapping => OK. File created.

2 - with mapping - Adapter : binary File Type => KO.

3 - with mapping - Adapter : Text File Type + ISO-8859-1 File Enconding => KO.

Thanks a lot for your help

Best Regards

Etienne

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Use this Blog test your mapping,

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

Check if the source payload is a valid payload.

Regards,

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

Begining in XI, i think i made a confusion on my input file : it's a flatfile TXT (no XML) with fixed length on 3 records like :

A1B1C1

A2B2C2

A3B3C3

So i think i had to use "File Content Conversion" in Message Protocole to convert in XML message. Does it right ? In this case, i don't know exactly how to fill up Content Conversion parameters value...If you can help me...

Thank's a lot

Etienne

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Etienne ,

If you can provide us your source Datatype format, we can help you in the content conversion.

Regards,

Bhavesh

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Etienne,

Content Conversion Parameters are pretty simple to fill. Jusk check this.

http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm

cheers,

Prashanth

Former Member
0 Kudos

Hi Etienne,

have you check if the namespace is correct?

Moreover, go to SXI_MONITOR, get the XML message received by XI (cf. Payload) and use it in test tab of your Message Mapping. Is this test is ok?

Regards

Mickael

Former Member
0 Kudos

Hi Mickael,

My input file is a TXT file (no XML). I explained it previously to Bhavesh. If you got some helps about conversion, it'll be nice !

Thanks

Etienne

Former Member
0 Kudos

Hi,

Just read the SAP help given by Prashanth, and keep in mind: if you want to use Content conversion parameters, choose Message Protocol to "File Content Conversion".

You can also see: /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem

Regards.

Mickael

Former Member
0 Kudos

Hi Mickael,

Problem was solved with your help.

I used Content Conversion File with all parameters detailled in doc : It works fine

Thanks a lot to you, Prashanth and Bhavesh.

Best regards.

Etienne