cancel
Showing results for 
Search instead for 
Did you mean: 

IDocXmlToFlatConvertor module error

Former Member
0 Kudos

Dear Experts,

I have configured IDocXmlToFlatConvertor module in my receiver File channel. When the data hits receiver channel, I get the error:

Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.Exception: Null as XI message received (PrincipalData in ModulData is null).

After the error, the receiver channel, creates a file with same XML sent to it. It is not converting to flat file structure.

I have configured RFC Destination in NWA to ECC for IDoc metadata lookup [RFC Ping also works good]. Also I have configured JRA details and mentioned them in the receiver channel.

Can you please share your thoughts?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Have you added this module before the CallSapAdapter Module in Module Tab?

Remember that this module handles UTF-8 encoded xml only.

Former Member
0 Kudos

Thank you spantaleoni! You got it right.

I made a very silly mistake of configuring IDoc module after standard sap module.

Thanks a lot.

Thank you experts for helping out with your suggestions.

Former Member
0 Kudos

Great Saravana!

Have a nice day.

Answers (2)

Answers (2)

former_member854360
Active Contributor
0 Kudos

you have to pass the same IDOC XML received from SAP ECC without any mapping to the module

former_member472138
Active Contributor
0 Kudos

Go with this module StrictXml2PlainBean.

You can convert an XML document in the main payload of the XI message to text format.

The structure of the document is checked based on the entries you make in the module.

http://help.sap.com/saphelp_nw04/helpdata/en/ab/bdb13b00ae793be10000000a11402f/frameset.htm

Regards

Pothana