cancel
Showing results for 
Search instead for 
Did you mean: 

(7) IDOC_ERROR_PARSE_FAILURE

Former Member
0 Kudos

Hi,

We have done one File to IDoc scenario in our PI 7.3 . We have used IDoc_AAE adapter as receiver.

The parameters in the Receiver channel are:

Adapter Type: IDoc_AAE

Version     : SAP BASIS 7.30

Transport Protocol:  tRFC

Message Protocol  :  IDoc XML

RFC Parameters Tab:

RFC Client Parameters :  Default (Recommended)

Destination : XI_IDOC_DEFAULT_DESTINATION

Interface Version: Interface Version 4.0 and Above

SAP Release:  730

Optional Parameters Tab:

The option "External Metadata Required" is not checked.

Advanced Tab:

Control Records in IDoc XML:  Not Mandatory

me doing file to idoc(multiidoc)

MM is successfull with same payload.

me getting blow error

MP: exception caught with cause com.sap.conn.idoc.IDocParseException: (7) IDOC_ERROR_PARSE_FAILURE: Invalid character encountered within IDocXML for type <DELFOR02>:
state=READING_ATTRIBUTE_VALUE, charPosition=77, lineNumber=1, columnNumber=78, invalidChar=U+0022,
sourceSnippet=...UTF-8" standalone="no"?><DELFOR02><IDOC BEGIN=""><EDI_DC40 SEGMENT=""><TABNAM>EDI_DC40</TABNAM><MAND...


<?xml version="1.0" encoding="UTF-8"?><DELFOR02><IDOC BEGIN="1"><EDI_DC40 SEGMENT="1"><TABNAM>EDI_DC40</TABNAM>

<MANDT>

char77 is coming on segment

please help on this error

Regards

Raju

Accepted Solutions (0)

Answers (3)

Answers (3)

ambrish_mishra
Active Contributor
0 Kudos

Hi Raju,

Try to check if mandatory segments are populated, date fields have values in format, YYYYMMDD, some characters like chevoron <, quotation ! and ampersand & are not present in the data apart from mandatory fields which should be populated.

You can disable the EDI_DC40 segment for testing for now.

The error above is for U+0022 which is for quotation mark. check if such data is going in the IDoc.

Like Amit mentioned, figure out one IDoc and multiple will be sorted out later.

Hope it helps!

Ambrish


baskar_gopalakrishnan2
Active Contributor
0 Kudos

Your similar situtation is discussed in the thread.

http://scn.sap.com/thread/3147761

The thread shows solution might be  ---->  Import OSS Note 1688780 - IDoc AAE Adapter fails to insert empty strings in database.

Former Member
0 Kudos

Hello,

Ur error log suggest that begin and segment attributes are having empty values?

BTW, dont create multiple idocs try to push one and then check it again?

Thanks

Amit Srivastava