cancel
Showing results for 
Search instead for 
Did you mean: 

Custom module pool Eliminating decimal places in Quantity field in screen display

mahabaleshwar_patil
Participant
0 Kudos

I have to delete trailing zero of a quantity field in Module Pool Programming.

For example :

123.000 => 123

plz check the transaction VA01 .. if i enter '10' in a quantity field it shows 10 only .. but when i use the same field in my 'Z' Program it shows '10.000' .. how ? .. i want to display only '10' not '10.000' . In all standard transactions it is displaying like that only ..

for example.

the field menge is (13,3) ..

but in va01 if i enter 10 it displays 10 only ..

but when i use the same field in my Z-Program(Module Pool)

its get displayed as (10.000) ...

i want to know how to display '10' only without decimal places in screen ..

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Select the field format as 'QUAN' and in reference field pass the unit field name: