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

OOPS ALV Currency/Quantity Editable Field.

Former Member
0 Likes
552

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.

1 REPLY 1
Read only

RaymondGiuseppi
Active Contributor
0 Likes
411

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