Skip to Content
0

IDOC text to IDOC xml using file adapter module

Oct 06, 2017 at 03:27 PM

105

avatar image
Former Member

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raghuraman S Oct 06, 2017 at 04:09 PM
0

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thank you Raghuraman S for response. The meta data already available in PI (Tcode IDX2) before processing the file.

0

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.

0