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

Values turning decimal

former_member147217
Participant
0 Likes
752

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
Read only

Former Member
0 Likes
715

Hi,

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

Regards,

John.

Read only

former_member197475
Active Contributor
0 Likes
715

HI Disha,

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

BR,

RAM.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
715

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

Read only

former_member212124
Active Participant
0 Likes
715

Hi Disha,

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

thanks,

vidyasagar

Read only

0 Likes
715

Thank you all the issue is resolved .

I forgot to add reference table