Value error during type conversion (KONP-KBETR to packed nos).
I am using TYPE KONP-KBETR whose data element is 'KBETR_KOND'. Its Length is 11 and decimal Places is 2.
Now I want to store this value in a variable with 3 decimal places.
For this I have taken a variable with type P.
Eg : DATA : VALUE2(7) type P decimals 3.
When I store the value of KONP-KBETR in var VALUE2, I get some confusing value.
For Eg: if KONP-KBETR = 300.00 and I pass this value to var VALUE2, then VALUE2 becomes 30.000.
Ideally VALUE2 should have been 300.000.
Can anybody tell why this is so and what needs to be done to get the correct value.?