Skip to Content
0
Former Member
Dec 26, 2007 at 12:42 PM

Conversion UoM with more thant 5 digits

1324 Views

Dear Experts,

I have a problem with UoM conversion. I have a material which base unit is KG. I created two UoM: CAJ y DCA (boxes and deci-boxes) and in CUNI transaction I defined their conversion 1CAJ = 10DCA.

For this material I have the conversion 1CAJ = 100.000KG but I cannot set this conversion in material mater (MM02) because it's limited up to 5 digits. That's why I created DCA and in MM02 I set the conversion 1DCA=10.000KG.

Now if I use the function module MD_CONVERT_MATERIAL_UNIT to convert quantities there is no problem, it works.

But when I want to create a Sales Order (VA01) I cannot use CAJ as unit because the standard is using the function module MATERIAL_UNIT_CONVERSION and I get an overflow error in the FM CONVERT_TO_FRACT5

The error isn't because I have not CAJ defined as UoM of that material because if I change the conversion values, 1DCA=1.000KG, it works, I can use CAJ as unit in sales order.

Does anybody know how I can solve this issue? I tried to find OSS notes to fix the FM CONVERT_TO_FRACT5 or MATERIAL_UNIT_CONVERSION but I didn't find.

Regards,

Manuel