Skip to Content
avatar image
Former Member

IDOC text to IDOC xml using file adapter module

IDOC text file to IDOC xml using file adapter Module

We have one interface in PI 7.31 SP12 – which converts IDOC text file to IDOC xml. The File Sender channel configured with below standard SAP_XI_IDOC/IDOCFlatToXmlConvertor module.

When channel pick up the standard IDOC text file , the module is able to convert the IDOC text to IDOC xml but when we try to process ZIDOC text file, the module is failing to process and throwing the below error at the channel level.

Error: exception caught with message Invalid length of control segment: 505

Can this module use for both Standard and custom IDOC text files conversions?

If yes, can you let us know how to resolve the above shown error?

If not, can you let us know if any other options/module/work around solutions available?

file-module.jpg (58.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 06, 2017 at 04:09 PM

    Can you try loading the metadata of the extended IDOC and also ensure in the source the extended IDOC segment is released

    Add comment
    10|10000 characters needed characters exceeded

    • Ok Praveen ,Check the version of the IDOC and try configuring the same in beans and try.

      We had one similar issue we imported the file in AL11 and in We19 used file as template and triggered IDOC to PI system and got the XML in pi.