Application Development 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: 

Quantity field for user input in interactive alv

Former Member
0 Kudos

hi,

i have created an interactive alv report that allows user to key in quantity fields using fm "REUSE_ALV_LIST_DISPLAY'. then quantity field is referred to MARD-LABST for instance, with 3 decimals point. When i tried to key in quantity as '9', it then will be converted into 0.009 by using cl_gui_alv_grid->check_changed_data( ). May i know what the root causes are and also how to resolve it using same fm??? Thanks.

4 REPLIES 4

Former Member
0 Kudos

make sure you are passing UoM values to the field cat .

regards

Prabhu

0 Kudos

Hi prabhu,

can u explain in more specific? thanks.

former_member628395
Active Participant
0 Kudos

Hi,

In the field catalog, for the field set the attribute DECIMALS to 3.

This should resolve your issue.

Regards,

Sagar

resolved by passing in ref_field + ref_table in fieldcat.