Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error received : #java.lang.ArrayIndexOutOfBoundsException: -1

Hello all,

I have come across a strange behaviour while trying to execute an aRFC. This bapi that I have is suppose to take in a requestID and a userID, find the matching results and return me a table value. Problem is, whenever I attempt to set the parameters for requestID and userID, it prompts me with the following error : #java.lang.ArrayIndexOutOfBoundsException: -1. I will expect this error when trying to access a row number that exceeds the actual table rows but not in this case when I'm trying to set the parameters prior to the execution of the bapi.

Can someone kindly help please ? Thank you very much.

from

Kwok Wei

Former Member
replied

Hi,

Have you tried to reimport the rfc model. If so restart the server and again deploy the project. it will work fine.

Regards,

Mahesh K.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question