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: 

Values turning decimal

former_member147217
Participant
0 Kudos

hi al ,

I am creatting an AlV report which gives access to edit the entered quantity figure to the user . A Zallocqty data element is created which has MENG13 as its domain .

what happens is wen the user enters 200 it saves as 0.200 which is wrong it should save as 200 only .

Wen the user enters 200,000 it saves as 200 .

I even checked SU01 for decimal notation it is all proper .

Still i am facing this issue .

Can any one suggest something on this ..

5 REPLIES 5

former_member184958
Active Participant
0 Kudos

Hi,

Please give the reference field name in the alv field catalog, then it will work.

Regards,

John.

former_member197475
Active Contributor
0 Kudos

HI Disha,

It's because of your Domain which has the Decimal Place count as '3'.

BR,

RAM.

raymond_giuseppi
Active Contributor
0 Kudos

Domain MENG13 is a type QUAN "quantity field" and must be associated with an unit of measure in ddic or field catalog. (Refer to Dynpro Fields, Quantity Fields in online help and ALV Grid Control (BC-SRV-ALV), The Field Catalog, Generating the Field Catalog or Fields of the Field Catalog)

Regards,

Raymond

former_member212124
Active Participant
0 Kudos

Hi Disha,

Please use type ' i ' to that quantity field instead of  'MENG13' or any other type.

thanks,

vidyasagar

0 Kudos

Thank you all the issue is resolved .

I forgot to add reference table