Skip to Content
Former Member
Nov 17, 2012 at 11:19 AM

IDOC Flatfile to XML conversion Exception


Dear Experts,

My Scenario is File --> Idoc scenario.

I am generating an Idoc using Idoc Flat file without IR (mapping). I am just using Module "SAP_XI_IDOC/IDOCFlatToXmlConvertor" in ID. And it is successfully working.

A standard Idoc segment is having 21 fields. Previously I am using 10 fields to send the data. Now I am sending data in all 21 fields . now it is throwing the following error

"java.lang.IndexOutOfBoundsException: Index [20] out of bounds.The metadata 'E2BPEKKOA001' contains 18 fields"

I have checked the meta data and In metadata 'E2BPEKKOA001 segment is having 21 fields in metadata also.

--> I have deleted and re-maintained the metadata.

--> And also re-maintained the Destination (Target Destination) and Application resource (Source JRA) in nwa.

please help me to resolve the same to send 21 fields data.

Thanks & Regards