2008 Apr 16 10:22 AM
Hi All,
We are using a direct input program RMDATIND for Material Master upload.
We have a field LGRAD - Service Level which is available in BMMH1 structure of RMDATIND.
The data type of LGRAD is CHAR 4 in BMMH1 structure.
But during execution of LSMW it gives a dump stating :
Runtime Errors CONVT_OVERFLOW
Exception CX_SY_CONVERSION_OVERFLOW
When we debug, we found that the program RMDATIND passes data from BMMH1-LGRAD(CHAR 4) to MARC-LGRAD (DEC 3, 1) in FM MAT_MOVE_BMMH1_MARC .
We have explored availability of any note, but couldnt find any.
Has anyone come across such a scenario & any suitable solution for the same.
Thanks,
Best regards,
Prashant
2008 Apr 16 10:42 AM
Hi,
I did not have this particular scenario, but it is common that fields in batch input structures like BMMH1 are all declared as CHAR for technical reasons.
Is it really LGRAD that causes the overflow? (check the "short"dump)
If yes, did you maybe forget to fill the decimal point?
For example, if you fill '4000' into BMMH1-LGRAD, then this would convert to '4000.0' in MARC-LGRAD, which would result in the field overflow.
Cheers
Thomas
P.S. just checked, it's a percentage field, so you need to fill values < 100 and with a maximum of 1 decimal place into BMMH1-LGRAD.
Hi All,
We are using a direct input program RMDATIND for Material Master upload.
We have a field LGRAD - Service Level which is available in BMMH1 structure of RMDATIND.
The data type of LGRAD is CHAR 4 in BMMH1 structure.
But during execution of LSMW it gives a dump stating :
Runtime Errors CONVT_OVERFLOW
Exception CX_SY_CONVERSION_OVERFLOW
When we debug, we found that the program RMDATIND passes data from BMMH1-LGRAD(CHAR 4) to MARC-LGRAD (DEC 3, 1) in FM MAT_MOVE_BMMH1_MARC .
We have explored availability of any note, but couldnt find any.
Has anyone come across such a scenario & any suitable solution for the same.
Thanks,
Best regards,
Prashant
2008 Apr 16 10:42 AM
Hi,
I did not have this particular scenario, but it is common that fields in batch input structures like BMMH1 are all declared as CHAR for technical reasons.
Is it really LGRAD that causes the overflow? (check the "short"dump)
If yes, did you maybe forget to fill the decimal point?
For example, if you fill '4000' into BMMH1-LGRAD, then this would convert to '4000.0' in MARC-LGRAD, which would result in the field overflow.
Cheers
Thomas
P.S. just checked, it's a percentage field, so you need to fill values < 100 and with a maximum of 1 decimal place into BMMH1-LGRAD.
2008 Apr 16 11:02 AM
Hi Thomas,
Thanks a lot. We changed the value to 10.0 & it is working fine.
Thanks a ton.
Best regards,
Prashant