Skip to Content

Error when I use SAP_XI_IDOC/IDOCFlatToXmlConvertor module

Hello everybody!

I am trying to convert IDoc Flat file to IDoc XML using file sender channel with FTP protocol and using module SAP_XI_IDOC/IDOCFlatToXmlConvertor.

I followed step by step the documentation, but when I activate the Communication Channel I have this error (on Adapter Monitor):

"exception caught with message null as XI message received (principadata in module data is null)"

"attempt to process file failed with (0)"

In attachment u can see errors details and how i set up the module.

Any suggestion?

best regards

Alessandro

configuration.jpg (104.8 kB)
error.jpg (146.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Nov 23, 2017 at 07:49 AM

    Hi Alessandro!

    Once again: place your IDOCFlatToXmlConvertor module at the first row:

    Procedure

    1. Add the Module in the Processing Sequence

    1. Enter the Module Name as SAP_XI_IDOC/IDOCFlatToXmlConvertor . Add this module before the CallSapAdapter Module.
    2. Enter the Module Type as Local Enterprise Bean .
    3. Enter the Module Key .

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Alessandro!

      Glad that it helped.

      Module key is attended for linking parameters with respective module. As you could see from the screenshot above, even string value could be used as key.

      Regards, Evgeniy.

  • Nov 07, 2017 at 02:59 PM

    Hi Alessandro!

    Your IDOCFlatToXmlConvertor module should be the first module in chain.

    When you use additional modules in Sender adapter, default SAP module should be the last module in chain. No message paylaod is available after it.

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 07, 2017 at 02:38 PM

    here the attachments

    configuration.jpg

    error.jpg

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 17, 2017 at 12:02 PM

    no more answers?

    I tried to change the Module key number (0 and 1) but I have exactly the same error.

    :(

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Alessandro!

      Didn't you see my answer? Your IDOCFlatToXmlConvertor module should be placed in the first row of Processing Sequence. Module key doesn't act like row index.

      Regards, Evgeniy.

  • Nov 22, 2017 at 02:33 PM

    I tried to invert the module key number but the result is the same

    Add comment
    10|10000 characters needed characters exceeded