2012 Aug 23 12:20 AM
In ALV Output I have Currency and Quantity editable fields. I want to restrict the decimals to 3 for quantity field and 5 for price field. Currently i can enter more than 3/5 decimals based on the number of digits before the decimal.
Please let me know if anyone has faced this problem and have a solution for it.
Thanks.
In ALV Output I have Currency and Quantity editable fields. I want to restrict the decimals to 3 for quantity field and 5 for price field. Currently i can enter more than 3/5 decimals based on the number of digits before the decimal.
Please let me know if anyone has faced this problem and have a solution for it.
Thanks.
2012 Aug 23 9:56 AM
Have you linked amount and quantity fields to corresponding currency and unit of measure fields or constants, so SAP will use itself the definition of those to restrict number of decimals allowed. (Perform also The Consistency Check.)
Regards,
Raymond