Skip to Content
author's profile photo Former Member
Former Member

File Content Conversion error ? Can anyone help?

The Error that shows is :

Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR consistency check in recordset structure validation (line no. 6: missing structure(s) before type 'headerData'

What could be the possible reason for this error? It is urgent and poits to be rewarded. Thanks in advance.

My structure is like the one below :

<HEADER>

<.Field1..>

< Field2 >

....

</HEADER>

<headerData>

<fields>

....

</headerData>

<itemData>

<fields>

....

</itemData>

<textData>

<fields>

...

</textData>

<Footer>

<fields>

.....

</Footer>

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 09:14 AM

    Hello ,

    Please construct the Query.I didnt get you...

    With Regards,

    Vidya

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Stefan Grube

      Hi Stephan,

      The file we have is a .dat File type.

      We renamed it to .txt for testing purpose and uploaded it to the application server via std. R/3 program interface.

      The problem is :

      All fields are coming but except the Header data is not coming. Is there any problem because we renamed the file to .txt? Also do let me know the following :

      We are getting the source file as .dat . If we upload the same .dat file to the application server, the file adapter is not picking the data. Will there be any problem if we have such a file type? Also what would be the solution for having data being picked by the file adapter.? How can we acheive this? Any thing to do on the configuration side? Please let me know. Urgent....

  • Posted on Nov 30, 2007 at 09:25 AM

    I think the problem is in FCC Parameters.

    Can you please post the complete content conversion parameters??

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 09:32 AM

    I think where u r missing out is a root element which is why the error states xml conversion failed start , you could also try "ignore record set structure"

    hope it helps

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 02:41 PM

    Require some more information.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.