Skip to Content
Feb 09, 2010 at 09:38 PM

Error Mapping XI: String index out of range.


Hi Experts,

I have a problem with the mapping in XI. The transformation of data is very complex (see below) for field HBKID. I'm not having understanding the process of mapping is performed for the field HBKID. The creation of the transformation was performed using the graphical method for mapping in XI for this case. I think the person who created this data transformation didn't know that could be used USER DEFINED FUNCTION. Could you explain in more detail this MAPPING?

In the test displays the message: RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns1:ZSD000TF01/ZVBAP/item[2]/HBKID.

The message is: Exception:java.lang.StringIndexOutOfBoundsException: String index out of range: 3]

Edited by: Rafael Sá on Feb 9, 2010 10:40 PM