on 12-04-2013 3:01 PM
Hi All,
We have migrated one scenario from PI7.1 to PI7.31.
Scenario is : File to Idoc, Multimapping, where, from one xml two Idocs are getting generated at Receiver end.
When we are testing a payload locally, 2 Idocs are getting generated successfully.
But when we are performng test end to end, Its faling in Operation mapping after picking the file , giving below error :
Mapping "http://XXXXX_OM" failed to execute: MappingException: Parsing of the multi-structure document failed. , javax.xml.stream.XMLStreamException: No element was found to write: java.lang.ArrayIndexOutOfBoundsException: -1, ArrayIndexOutOfBoundsException: -1
Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.service.mapping.MappingException: Parsing of the multi-structure document failed.
Please guide to resolve this issue .
Thanks & Regards,
Abhivyakti
Hi Meenakshi -
Please see SAP Note 1774773 - AEX: Multi Mapping fails for multiple msgs for one interface
Also below thread will be helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Meenakshi,
I think this error occurred because there is no xml message in the input payload. please check that one or can you provide the xml example and the mapping screen shot, to know the issue better.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I have also faced the similar issue on PI7.31 SP05 (even after applying the fixes mentioned in 1774773 note), and eventually upgraded PO box to SP09 to solve multimapping bug.
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit,
Does this means 1:N scenario is not supportted below PI7.31 SP09 ?
As per note 1774773 (suggested above) : mapping failing giving below error :
Transmitting the message to endpoint <local> using connection
<YourConnection>_http://sap.com/xi/XI/System failed, due to:
com.sap.aii.af.service.mapping.MappingException: Unexpected exception
caught while executing mapping: java.lang.ArrayIndexOutOfBoundsException: 1
Catching java.lang.ArrayIndexOutOfBoundsException: 1
at com.sap.aii.adapter.xi.mapping.MappingService.splitMultisourceMessage
(MappingService.java:383)
While the error , I am getting is little different.
Mapping "http://XXXXX_OM" failed to execute: MappingException: Parsing of the multi-structure document failed. , javax.xml.stream.XMLStreamException: No element was found to write: java.lang.ArrayIndexOutOfBoundsException: -1, ArrayIndexOutOfBoundsException: -1
Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.service.mapping.MappingException: Parsing of the multi-structure document failed.
Are both these error messages logically same ?
Any help is much appreciated.
Thanks & Regards,
Abhi
Hello,
What's the SP of ur PI box? Try to create only one idoc message and check the message status?
>>Are both these error messages logically same ?
Precisely speaking, i was also not getting the exact error message but the main reason for the failure of message was "ArrayIndexOutOfBoundException" while using multimapping (i was getting this error when more than 1 idoc message was created at runtime).
>>Does this means 1:N scenario is not supported below PI7.31 SP09 ?
Earlier i was using PI7.31 SP05, but even after applying SAP note fixes the error persist, so SAP recommended us to upgrade our PO box to SP09. So, it's always better to go for a higher SP.
Thanks
Amit Srivastava
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.