cancel
Showing results for 
Search instead for 
Did you mean: 

EDI File to Idoc using AAE leading to error in IDoc_AAE

Former Member
0 Kudos

Hi All,

We have a scenario where data is being received into PI thru a EDI file and PI has to send it to the ECC system in the form of an Idoc.

We are using the IDoc_AAE channel at the receiver end with the following config

RFC Client Parameters: Default

RFC Destination: name of the RFC Destination created for the ECC system in NWA

However, we are encountering the error as below while testing this configuration

Exception caught by adapter framework: (7) IDOC_ERROR_PARSE_FAILURE: Invalid character encountered within IDocXML for type <ORDERS05>: state=READING_ATTRIBUTE_VALUE, charPosition=70, lineNumber=2, columnNumber=32, invalidChar=U+0022, sourceSnippet=...UTF-8"?>^<ORDERS05><IDOC BEGIN="Constant"><EDI_DC40 SEGMENT="Constant"><TABNAM>Constant</TABNAM><DIR...

Please help. Also note we are not receiving the idoc itself into PI in a flat file format.

Regards,

Diptee

Edited by: diptee s on Nov 3, 2011 6:14 PM

Edited by: diptee s on Nov 3, 2011 6:15 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Experts,

Awaiting your reply!!!!

Also just adding one point here, we are on PI7.3.

Thanks,

Diptee

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi ,

Could you please tell me where you got this exception,i beleive some special character in payload causing this error.

Regards,

Raj

Former Member
0 Kudos

Hi Raj,

This exception is being received in the receiver IDoc_AAE adapter.

Also I could successfully test the mapping for the scenario with the same payload.

Thanks,

Diptee

Former Member
0 Kudos

Hi All,

Closing the thread as have found the problem and resolved it.

The Idoc attribute segments needed to be mapped to constant numbers and not constant text.

Regards,

Diptee