Application Development and Automation 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: 
Read only

Material Master LSMW

Former Member
0 Likes
841

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 couldn’t find any.

Has anyone come across such a scenario & any suitable solution for the same.

Thanks,

Best regards,

Prashant

1 ACCEPTED SOLUTION
Read only

ThomasZloch
Active Contributor
0 Likes
743

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 couldn’t find any.

Has anyone come across such a scenario & any suitable solution for the same.

Thanks,

Best regards,

Prashant

2 REPLIES 2
Read only

ThomasZloch
Active Contributor
0 Likes
744

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.

Read only

Former Member
0 Likes
743

Hi Thomas,

Thanks a lot. We changed the value to 10.0 & it is working fine.

Thanks a ton.

Best regards,

Prashant