04-24-2008 5:17 AM
hi gurus.,
in standard SAP transactions like va01,va02,va03 , the values displayed in the quantity firld has no decimal places .. i tried to do that in my Z-program(screen) ... plz help me how can i achieve this .. its very urgent .....
Regards.,
S.Sivakumar
04-24-2008 6:36 PM
Hi,
one possible solution:
e.g.
transaction SE11
data element of the quantity field
tabstrip "Data Type"
Elementary type
check "Predefined Type" instead of "Domain"
in data type use QUAN
in length use 15
in decimals use 0
Save and activate.
Best regards.
Edited by: pablo casamayor on Apr 25, 2008 10:11 AM
05-28-2008 6:39 PM
Also, you can specify a "Unit" field. This is addresses the decimal places appropriate for each type of quantity shown. E.g, a unit of EA (for eaches) has no decimal places, while a unit of FT3 (cubic feet) has 3 decimal places.
You should be able to find in the standard SAP screen how the unit is referenced.
Hope this helps,
Mark