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.
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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

| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.