Skip to Content
0
Former Member
Jun 26, 2007 at 08:34 PM

Error while create travel expense report - MTR

13 Views

Hi all

I am implementing MTR and as of now I am able to successfully sync the data to the client. Now when I try creating a trip in the client (offline) the following error occurs

At the travel expense create process "Enter Genera Data" page, there is an input field for mileage, the unit for this is shown as "km" and if I try giving some value in it, it throws the following java exception.

java.lang.NumberFormatException: empty String

at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)

at java.lang.Float.parseFloat(Unknown Source)

at com.sap.mbs.mttcore.util.NFHelper.localizedStringToFloat(Unknown Source)

at com.sap.mbs.mtr.common.AbstractValidation.extractDecimal(Unknown Source)

at com.sap.mbs.mtr.common.AbstractValidation.validateFieldLength(Unknown Source)

at com.sap.mbs.mtr.common.AbstractValidation.validateAllFieldLengths(Unknown Source)

at com.sap.mbs.mtr.common.AbstractValidation.validateAllFieldLengths(Unknown Source)

at com.sap.mbs.mtr.mile.process.impl.MileValidationImpl.validateSingleMileForNewTrip(Unknown Source)

.

.

.

Similar kind of error occurs when I give the amount in the "Expense Receipts" page of expenese create process.

Had any one come across this error, Do I need to do any changes in the configuration?? Please clarify

Thanks

Raj