11-20-2008 11:05 AM
Hello All,
I am using OO - ALV in which I am displaying a quantity field.This field is an editable field and if user tries to change the value and SAVE , it is taking some wrong values.
Say suppose I am having 1.000 as the initial value and if user changes it to 2.000 and saves it is converted to .002.
I tried with qfieldname , ref_fieldname of fieldcat but of no use. Anything apart from this will be highly appreciated.
Regards,
Dhwani
11-20-2008 11:13 AM
Hi,
Instead of quantity declaration in field cat
take the field as character and built a fieldcat and try it.
Regards,
Nandha
11-20-2008 11:16 AM
Hello Nanda,
Thx for your reply but I need to do summation on the output .
Regards,
Dhwani
11-20-2008 11:16 AM
User might be changing the value to only 2 and you might have declared the fieldcat with 2-3 decimal places. If you enter value with decimals say 2.001 it will take.
Otherwise you need to replace it with char value as Nanda has suggested.
Hope it helps.
Thanks,
Jayant