cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

I have a quantity field of datatype LIPS-LFIMG in module pool screen. While displaying the value in this field i do not want the decimals to appear.

In the screen the value gets displayed as 2,000

But i want it to be displayed as 2.

I do not want to change the datatype of the field.

The same functionality works in the standard transaction VA03, where the quantity field displays values without decimals.

View Entire Topic
JL23
Active Contributor

The number of decimals are usually defined in customizing of unit of measures (transaction CUNI)

Never forget that SAP internally uses always 3 decimals, even you customize it to display zero decimals it is still possible to enter a quantity with 3 decimals, so hiding decimals should really only be done for units where it is illogical to have decimals, e.g. a wheel , a car

raghug
Active Contributor
0 Likes

Yeah, but my car has 4.5 wheels - that spare just can't count as 1 can it? 🙂

Former Member
0 Likes

.................................

Sandra_Rossi
Active Contributor
0 Likes

3 decimals? In SD you mean?

JL23
Active Contributor

yes, my ST unit has 0 in field T006-DECAN, as you see in the first 3 old items it does not show decimals, now I added the 4th item and was able to enter decimals (Germans use comma as decimal separator). This can be restricted in the material master by using the delivery unit 1, but in standard you can use decimals even for a unit which is defined to have zero decimals