Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW error with 2 decimals with time

0 Kudos
318

hello Gurus

I created an LSMW with object 0490 and IBIP.

one of the fields is time recording and I set the value in the structure fields as Characters with length 7.

the file I am uploading, contains the Uom for time in Hours and some values have decimals.

when the decimal is only one place, for example 2,5 H, all is good but when it is 2 places, for example 0,25 H, I get an error stating the format is incorrect.

any idea how to correct this?

4 REPLIES 4

chaouki_akir
Contributor
0 Kudos
249

The error occurs in which step : read ? Conversion ?

Where is the field time located : structure and field name ?

What is the exact error message ?

0 Kudos
249

thank you for the reply

the error occurs during the running of batch file.

on 100 records, a few had one decimal and the record was created.

the records with errors, were those who have 2 decimals and when I run the batch with these errors, I can see that the field with 2 decimals comes up and it states to enter field with format _._~,_

Sandra_Rossi
Active Contributor
249

I guess it's the restriction due to the Unit Of Measure used (I guess "H"), that is limited to 1 digit after decimal point. See customizing of Unit Of Measures.

0 Kudos
249

thank you for the comment: the decimals in H are actually 3, hence my question