Error received : #java.lang.ArrayIndexOutOfBoundsException: -1
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.