on 02-10-2009 3:28 PM
Hi all,
Find the error message I am Getting.
RuntimeException in Message-Mapping transformation: Exception:[java.lang.ArrayIndexOutOfBoundsException: 0] in class com.sap.xi.tf._MM_INT012_INVOICE_DET_ method doRfcLookup$[com.sap.aii.mappingtool.tf3.CBufIter@3ada2bc3, com.sap.aii.mappingtool.tf3.CBufIter@496f2d64, com.sap.aii.mappingtool.tf3.CBufIter@220d25e6].
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 = accessor.call(payload);
} catch (LookupException e) {
trace.addWarning("Error during lookup - " + e);
Quick reply would be appreciated.
Thanks
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
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I guess in the UDF, you should provide string input instead of string array.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.