on 11-17-2012 11:19 AM
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
Rakesh
Hello Rakesh,
The IDOC segments can have different versions.
Please check that the 21 fields are really defined in version 001.
Otherwise use the latest version number in the Segment Name
E2BPEKKOA00X
Hope this helps,
Jürgen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jurgen,
Thank you for your valuable advice. Now I have changed the segment as E2BPEKKOA002 , which is having the 21 fields. But, it is showing the same error. And I have checked the segments version in WE30. The version 002 is unchecked. How to check the same. Kindly advice me.
Thanks & Regards
Rakesh
Hello Rakesh,
You release the Segment definition in the screen that you have shown above.
Choose Edit->Set Release.
But this segments look like a standard SAP object (no Z-namespace).
So if you want to change the segment, this might be a modification,
and you are not sure if the content will be processed, as it was not release by SAP.
Please check if you can also work with the latest released version.
However after setting the release indicator, you might have to restart the J2EE Server.
Sometimes the IDOC structures are cached somewhere.
Regards,
Jürgen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.