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

Creation of IDoc XML very slow compared to IDoc Flatfile

Hi everyone,

I did a test in our ERP6 system and created IDoc files for a few invoices. The result is that the creation of a XML Idoc is 22x slower than the creation of a flatfile Idoc. The creation of one large IDoc file with 1000 invoices took ~15 seconds as flatfile and ~5:30 minutes as XML. So the choice between flatfile or XML is really a performance question for me. Is that normal? I expected a difference but not that much.

Can I speed up the XML creation anyhow? XML is better to process and I really want to use it, but I can not with this bad performance...

Thank you!

Regards

Andreas

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 04, 2011 at 02:45 PM

    HI,

    The transformation to xml of the idoc is done in the idoc adapter why would that matter to the ecc ?

    Regards,

    Horia

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      although I am in the PI forum here, we have no PI installed. I just thought this is the best forum to raise the question. I create the IDoc files in the ECC and then copy them via sftp.

      Regards

      Andreas

  • author's profile photo Former Member
    Former Member
    Posted on May 04, 2011 at 03:10 PM
    So the choice between flatfile or XML is really a performance question for me. Is that normal?

    Yes, it is normal. For every byte of data in xml file, it needs to create multiple bytes of structures according to XML format.

    But, i am wondering, why u need to go for xml, when there is no PI installed.

    Because, end output file is always in flatfile format.

    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.