Skip to Content
avatar image
Former Member

RFC Lookups in SP10 RunTime exception

Hi all,

Find the error message I am Getting.

RuntimeException in Message-Mapping transformation: Exception:[java.lang.ArrayIndexOutOfBoundsException: 0] in class method doRfcLookup$[,,].

My Input paramenters:

doRfcLookup(String[] Tax_amt,String[] DTL,String[] Recv_Sys,ResultList result,Container container):

Rfc connection:

Payload load = null;

try {

Channel channel = LookupService.getChannel(Recv_Sys[0], CHANNEL_NAME);

//Channel channel = LookupService.getChannel("ECC", CHANNEL_NAME);

RfcAccessor accessor = LookupService.getRfcAccessor(channel);

InputStream is = new ByteArrayInputStream(docReq.toString().getBytes());

XmlPayload payload = LookupService.getXmlPayload(is);

load =;

} catch (LookupException e) {

trace.addWarning("Error during lookup - " + e);

Quick reply would be appreciated.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 10, 2009 at 06:03 PM

    Add More trace will get you to know at what step error occured

    May be add mappingtrace which providesyouj more info at the mapping test tab

    Input should be string if it is value type


    Add comment
    10|10000 characters needed characters exceeded

  • Feb 10, 2009 at 05:51 PM

    I guess in the UDF, you should provide string input instead of string array.



    Add comment
    10|10000 characters needed characters exceeded