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

Require editable quantity value without Decimals in ALV display

Former Member
0 Likes
518

I'm displaying the ALV with quantity in editable mode where the end user gives the quantity value.I need to restrict the user to give the value as a whole number i.e without decimals. How can we do it in ALV. I tried the same by giving the field as type 'N' but still, i can give the value with decimals. It is showing an error since this being an interactive ALV, on clicking the button,the proceess is taking value. Would you guide me

Thanks

Ravindra

I'm displaying the ALV with quantity in editable mode where the end user gives the quantity value.I need to restrict the user to give the value as a whole number i.e without decimals. How can we do it in ALV. I tried the same by giving the field as type 'N' but still, i can give the value with decimals. It is showing an error since this being an interactive ALV, on clicking the button,the proceess is taking value. Would you guide me

Thanks

Ravindra

3 REPLIES 3
Read only

Former Member
0 Likes
468

Hi,

In the fieldcatalog you should have a field decimals_out, you can set the output decimals there, try setting it in 0.

Hope it helps.

Read only

0 Likes
468

Hi Ling,

I tried those related options in field catalog,but of no use.

Read only

0 Likes
468

why dont you take it as type i?