cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI 7.3 AEX Multi mapping: Mapping failed with exception

Former Member
0 Kudos

Hi

I am encountering an issue with the multi mapping in SAP PI 7.3 AEX system.

Requirement for my interface is to pull a single file which has multiple records from the file directory.

Interface need to split the single file to multiple files.

For this I have implemented multi mapping in SAP PI 7.3(Stand alone Java) to split the single file to multiple files just like the way it is done in SAP PI 7.1. Tried this interface in SAP PI 7.1 system and works fine end to end.

I have done the testing in mapping(Test tab) in operational mapping, I could see response is getting generated successfully.

But when testing end to end,

I could see message is getting failed during mapping with the exception "failed to execute: ArrayIndexOutOfBoundsException: 1” .

Note:

Occurrence has been changed to 0..unbounded in the Signature tab of the message mapping & same interface works fine in SAP PI 7.1

Our system is currently on SAP PI 7.31 (AEX) SP05 Patch "0".

Kindly let me know if someone has any idea on this particular exception in SAP PI 7.31 multi mapping Interface.

Thanks & Regards

Ram

Accepted Solutions (1)

Accepted Solutions (1)

jegathees_waran
Active Participant
0 Kudos

Hi Rama,

In PI 7.3.1, the multi mapping is different. In source side, the occurrence should be 1 and in the target side the occurrence should be 0..unbounded.

It will work

Kind regards,

Jegathees P.

Former Member
0 Kudos

Hi Jegathees,

Thanks for your reply.

In PI 7.31:

As we are doing 1:n mapping, I have maintained the source side occurrence as "1" and target side occurrence as "0..unbounded" in the signature tab of message mapping.

Even in PI 7.11 Occurrences were maintained in the same way.

Can you please give me more details of how exactly multimapping in PI 7.31 is different with respect to PI 7.1

Thanks & Regards

Ram

jegathees_waran
Active Participant
0 Kudos

Hi Rama,

Please refer this thread.

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

If still you have doubt, tell me. I will paste the screen shot.

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Please see SAP Note 1774773 - AEX: Multi Mapping fails for multiple msgs for one interface .

Hope this helps,

Mark

Former Member
0 Kudos

I have maintained the occurrences for both source and target as mentioned in the thread.

Thanks

Ram

Former Member
0 Kudos

Hi Mark,

Thanks for your reply. I have requested basis team to implement the note. I will update if note has fixed the issue or not.

Regards

Ram

Former Member
0 Kudos

Hi Mark,

SAP Note#1774773 has fixed the issue. Thanks you very much.

Regards

Ram

Answers (0)