Skip to Content
author's profile photo
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    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 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
    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 comment
    10|10000 characters needed characters exceeded