2 Replies Latest reply: Oct 30, 2013 3:11 PM by Harish Mistri RSS

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

Sam Anish
Currently Being Moderated

Hello experts,

 

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

 

FIELDMAX LENGTHVALUEDATATYPE
Filler21RRF57657E012345612340030023004200String
Collect_No10String
Value_Parts240RRF5765String

 

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

Actions