Skip to Content
0
Oct 30, 2013 at 01:49 PM

Exception:[java.lang.StringIndexOutOfBoundsException: String index out of range: 7]

1875 Views

Hello experts,

I have three fields in play the Filler, Collect_No & Value_Parts. Below is a description of each field.

FIELD MAX LENGTH VALUE DATATYPE Filler 21 RRF57657E012345612340030023004200 String Collect_No 10 String Value_Parts 240 RRF5765 String

When using the substring function (0....7)on the Filler value, & mapping it to Value_Parts, the value RRF5765 is obtained.

Applying the very same function on Filler & mapping it to Collect_No gives the below exception

"

Exception:[java.lang.StringIndexOutOfBoundsException: String index out of range: 7] in class com.sap.aii.mappingtool.flib3.TextFunctions method substring[, com.sap.aii.mappingtool.tf3.rt.Context@3ff71112]

"

Please help me with the issue.

Any thought on the issue is appreciated.

Thanks in Advance

Sam