cancel
Showing results for 
Search instead for 
Did you mean: 

IDOCXMLtoFileConvertor Exception

Former Member
0 Kudos

Hi,

Can someone please let me know the reason for below exception for IDOC XML converter.

Message processing failed. Cause: com.sap.conn.idoc.IDocParseException: (7) IDOC_ERROR_PARSE_FAILURE: The metadata for the parsed IDoc was not available. See cause exception for details. : state=READING_ENDTAG, charPosition=0, lineNumber=0, columnNumber=0

Thanks

-Kulwant

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

It was Authentication issue with the user in Com channel. It was not having Authorization for HR IDOCs.

abhijitbolakhe
Advisor
Advisor
0 Kudos

Hi

perform the following steps in PI

1)Use transaction IDX1 to assign a port (RFC destination) to the system that contains the metadata of the IDoc types. This system is defined by the sender port, for example SAPSND (SAP<SID>), and the client, in the IDoc control record.

2)When an IDoc type is sent to the Integration Server for the first time, the corresponding metadata is loaded from the source system. using tcode IDX2, import the idoc metadata for the message types..

Assign IDX1 port for importing metadata in IDX2

Regards

Abhijit

former_member200962
Active Contributor
0 Kudos

SAP GUI --> Login to PI --> IDX2 --> load metadata for your IDOC and then again test the scenario....you can even re-load the same.

RaghuVamseedhar
Active Contributor
0 Kudos

Hi Kulwant Bhatia,

I understand you are getting error message in IDOC sender channel (using IDOCFlatToXmlConvertor) in PI7.11. Hope you have followed steps mentioned in SAP Help [Link1|http://help.sap.com/saphelp_nwpi711/helpdata/en/b5/bd93642dd3410f90ebea702399fac4/frameset.htm]

It seems, error is due to wrong IDOC format triggered from sender SAP system (R/3). You may take out IDOCFlatToXmlConvertor module from communication channel and test interface again, to see how messages looks (in SXI_MONITOR or RWB).

Regards,

Raghu_Vamsee